Deployment of SpringBoot Services on AWS Elastic Container Services: Part 2 Create AWS ECS (Amazon Elastic Container Services) Cluster with Cloud Formation Template provided.
To deploy the Docker Images, please refer to this link, Part 1 of this thread
Create an Amazon ECS cluster deployed behind an Application Load Balancer.
- Navigate to the AWS CloudFormation console.
- Select Create stack.
- Select Upload a template file and choose the ecs.yml
- For the stack name, enter BreakTheMonolith-Demo. Verify that the other parameters have the following values:
- Desired Capacity = 2
- InstanceType = t2.micro
- MaxSize = 2
- Desired Capacity = 2
- Select Next.
- On the Configure stack options page, keep the default options and scroll down and select Next.
Ensure the cluster is running
- Select the ECS Instances tab to verify there are two Amazon EC2 instances created by the AWS CloudFormation template.