Application Load Balancer

In this part, we will setup an elastic load balancer for our application in the custom VPC. Elastic load balancers will scale up and down to handle network traffic and can be connected to a bunch of different infrastructure. We won't connect the load balancer to anything in this part, but we will setup an auto scaling group in the next part and connect the load balancer to that.

Load Balancer

step 1:

Navigate to the EC2 dashboard

Navigate to EC2 in the AWS console
step 2:

Click on Load Balancers

Click Load Balancers in the sidebar
step 3:

Click on Create load balancer

Click Create load balancer

There are three different types of load balancers to choose from:

  • Application Load Balancer

  • Network Load Balancer

  • Gateway Load Balancer

You can read more about the different load balancers on AWS, but we're just going to be focusing on the**Application Load Balancer**.

This is the load balancer to use when we're handling HTTP or WebSocket requests over the internet. A user can make a request to this load balancer and traffic can be forwarded to EC2 instances, lambda function, containers, or any other target operating at Layer 7 (HTTP/HTTPS).

step 4:

Click on Create under Application Load Balancer

Click Create under Application Load Balancer
step 5:

Give the load balancer a good name

Enter a name for your load balancer
step 6:

Select Internet-facing and IPv4

Select Internet-facing and IPv4
Cloud Course
Cloud Course
$89.70
$299.00 Lifetime
  • 81+ learning resources
  • 57 lessons and tutorials
  • 15 hands-on deployments
  • 9 quizzes
  • 29 videos (4h 17m 38s)
  • More content coming soon
  • Unlimited lifetime access to all course content
  • Deployment assessment CLI tool
  • Exclusive Discord access
Original Price:$299.00
Discount:-$209.30
Total:$89.70