ECS is a cluster created on the AWS environment for supporting container services. Container services can be implemented using Fargate whi...
ECS is a cluster created on the AWS environment for supporting container services. Container services can be implemented using Fargate which is a serverless solution or using EC2 instance-based solution.
Create a Fargate ECS cluster.
Step 1: Select ECS service and Click on getting started.
Step 2: Here we need to create container,task,service,cluster definitions
Step 3: Select nginx application.
Step 4: If you want to change the task definition then click on Edit button and make the changes like name of the task or Memory and Cpu etc
Step 5: Click on Next button
Step 6: Define service and keep the configuration as it is (if you want to change the configuration then click on Edit button) and click on next button.
Step 7: Provide cluster name and Click on next
Step 8: Review and Click on Create button.
Step 9: Click on View Service Button.
Step 10: Click on Task tab
Step 11: Copy the public IP and browse it in the browser and you should be able to see the nginx web page.
COMMENTS