How it works...
First, we created a classic load balancer by selecting the default VPC. We can also choose a custom VPC. We did not choose the Create an internal load balancer option since that will make our load balancer internal. An internal load balancer is only accessible from our VPC through private IP addresses. Internet-facing load balancers have public DNS and are reachable from the internet. We did not select the Enable advanced VPC configuration option. These options will allow us to select the subnets for our VPC.
We used the default listener configuration: Load Balancer Protocol set to HTTP, Load Balancer Port set to 80, Instance Protocol set to HTTP, and Instance Port set to 80. Load Balancer Protocol and Load Balancer Port
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access