In this recipe, we will be setting up scalable and fault tolerant Infrastructure to deploy the containerized application.
Setting up the infrastructure to host the application
Getting ready
To set up the infrastructure according to the diagram in the previous recipe, we have to perform the following operations:
- Create an ECS cluster with a minimum of two instances.
- Create a classic load balancer and register the ECS instance into that ELB.
- Also, edit ECS Auto Scaling and update the newly created load balancer in it.
- Create an Amazon ECR repository, which will store the containerized application image.