From the course: Complete Guide to AWS Software Deployment

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

AWS CodeDeploy: Add a load balancer

AWS CodeDeploy: Add a load balancer

- [Instructor] All right, here we are back at the application. I've added another work of art, 'cause why not, it's fun. And what we want to do now is scale out this application. Let's imagine it's getting very popular, we're getting a lot of traffic, we want more instances to be able to handle that traffic. This is where horizontal scaling comes in, and it's where we're going to be glad that we created this one instance we have in an autoscaling group, 'cause that autoscaling group can be scaled up to have as many instances as we want. Now, once we have multiple instances though, we need to introduce a load balancer. And I've drawn a little picture of what that is going to look like. So here's our one instance and here is the traffic that is currently open. That instance has a public IP and we've allowed port 80 traffic from anywhere in the world to reach it. And what we're going to do is scale up the autoscaling group. So these two are going to belong to the autoscaling group…

Contents