Configuring an application load balancer
In this section, we shall configure the application load balancer.
- First, select a
Cluster VPC
and twoSubnets
, as shown in the following screenshot. The VPC should be the same one that the application load balancer was created in. TheSecurity groupthat gets created is listed.Auto-assign public IP
must be set toENABLED:
- In the
Load balancing
section, selectApplication Load Balancer
as theLoad balancer type
, as shown in the following screenshot. Select theLoad balancer name
(hello-world-lb
) created earlier:
- In
Container to load balance
, click onAdd to load balancer
for theContainer name:port
to be created ashello-world:80:80
, as shown in the following screenshot:
- Additional fields get displayed to configure the container to load balance. Select
80:HTTP
as theListener port
, as shown in the following screenshot. - Select
Target group name
ashello-world-tg
, which is the target group created when the load balancer was created, as shown in the following screenshot...