In this section, we will create an ALB to forward the incoming traffic to the private ECS cluster.
First, we have to set Outbound rule in the security group of the ALB to allow the traffic from the ALB to the ECS cluster.

Choose Application Load Balancer

Name: docker-container-alb

In Network mapping, select the VPC and the subnets.

Security group: alb-sg-01

In Listeners and routing section, we create a target group by choosing Create target group

This will lead you to the Create target group page. Configure the target group as shown below and click on the Create button.
alb-tg-01





