Create Web ACL
Building the First Firewall
The first step in securing your system is to create a Web Access Control List (Web ACL). This acts as a “checkpoint” where you will later attach security rules and associate it directly with your Backend server’s Application Load Balancer (ALB).
Step 1: Access and Select Resource Type (Regional)
- Log in to the AWS Management Console and search for the WAF & Shield service.
- In the left navigation menu, select Web ACLs and click the Create web ACL button.
- In the Resource type section, select Regional resources (Application Load Balancer).
- In the Region dropdown right below it, select the exact Region where you previously created your ECS server and ALB.
- In the Name section, enter a name for your firewall (Example:
ecommerce-waf-acl).

Step 2: Associate with Application Load Balancer
- Right below the name section, locate the Associated AWS resources section and click the Add AWS resources button.
- A list of resources will appear. For the resource type, select Application Load Balancer.
- Find and check the box next to your ALB name (Example:
ecs-nodejs-alb). - Click Add to save. At this point, the firewall knows exactly which ECS Backend resource it needs to protect.
- Click Create to proceed to the next screen.
