Unless sectionals set up a new elastic beanstalk instance as soon as the initial setup is complete you're
going to see something like this on the screen.
Now before we move on I want to very quickly tell you a little bit more about the lastic beanstalk and
give you a better idea of why we're using it.
All right.
So here's what's happening right now with the lastic beanstalk.
One of our users.
In reality you and me as we're testing the application is going to open up their web browser and intend
to navigate to our application running on AWOS when they attempt to navigate to our Web site.
Their request will be handled by a load balancer that has already been created as a part of the elastic
beanstalk application that we just created in the last section.
So this load balancer has already been created for us when a request comes into it.
The load balancer will around that request to a virtual machine that is running docker and on that virtual
machine our dock or container will be running with our application inside of it.
The benefit to elastic beanstalk is that it monitors the amount of traffic that's come in to our virtual
machine right here.
And as soon as that traffic reaches a certain threshold elastic beanstalk is going to automatically
add in additional virtual machines to handle that traffic.
So as soon as they request comes in it's going to go to the load balancer load balancers going to find
the note here with the least amount of traffic and that will route that request to that particular virtual
machine.
Our application running inside of the dock or container will then respond to that request and the user
will eventually get the file that they are looking for.
So that's pretty much it.
The benefit to plastic beanstalk is that it's going to automatically scale everything up for us.
All right so now we've got a better idea of how elastic things stock is doing things for us.
I want to flip back over to the CBS dashboard.
Here it is right here.
So I can see on the very top line we have a URL.
This is the address of our application as it stands right now.
You can open up this link at a new tab and you'll see a welcome message like this right here.
So this is the default application that is launch anytime that you make a new elastic beanstalk instance
running doctor.
So of course we're going to eventually want to replace all this stuff with our application.
All right.
So let's take another quick break in the next section.
We're going to make use of this new IBS instance and wire it up to our Travis see-I deployment process.
So quick break and I'll see you in just a minute.