From the course: Deploying Your AWS Application to the Cloud with Docker

Unlock the full course today

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

Deploy a load balancer

Deploy a load balancer

- A load balancer is a networking device that allows you to distribute traffic evenly across a set of servers or containers. In our case, we want to use it to route traffic between our system deployment and our new deployment. Let's go ahead and set up the load balancer. We'll go to the EC2 console, and find load balancers. We're going to create a new load balancer, and for our purposes, we'll be using the application load balancer. We'll click create. We'll call it webapp.alb. And we're going to use ipb4 and internet facing, because this is a public-facing load balancer. Since we will have two applications running during a deployment, the production one, and the new release, we want to open two ports on the load balancer. We have ACTP, port 80. And we're going to add another one, also ACTP, with a different number, 8080 in this case. We're going to find the BPC that we created, just a demo BPC. And we'll choose…

Contents