This is a technical document to show step by step process to setup the AWS ECS Cluster
- Ensure the NAT Gateway is created and configured for the public subnet of the VPC.
- Ensure the Route Table for the Public subnet is configured for the IGW
- Ensure the Route Table for the Private Subnet is configured for the NAT GW
- Ensure the Security group created have the adequate inbound privileges.
- Ensure the NACL are configured for inbound and outbound permissions.
- Select "Load Balancers" on the left side menu of EC2 services.
- clicke "Create" button in the "Application Load Balancer"
- Select the Name, Scheme, IP Address type, Listeners and Availability Zones 4.Leave the "Configuration Security Settings" as default 5.Create a new Security Group and assign the routing IP 6.Configure the Target Grop and Health Checks in "Configure Routing" 7.Select the VPC and Port in "Register Targets" 8.Review the Details and click "Create" 9.Ensure the Load Balancer is created successfully test
- Search for "ECS" in the AWS Console and Select "Elastic Container Services" 2.select the "Clusters" from the left side menu and click "Create" 3.Select "Fargate" and provide the configuration details
- After selecting the configurations, click "Next Step"
-
Select the Load Balancer from the drop down and configure other parameters. Click "Next Step"
-
If the Application Load Balancer is not set up (shown in red) , click on the EC2 console and setup the Load balancer as instructed in Step2
1.Navigate to "Task Definitions" and click "Create new Task definition" 2.Configure the Task Definition details 3.Click Create