I have a cluster in AWS EC2 Container Service. When I\'ve set it up, I used t2.micro instances because those were sufficient for development. Now I\'d like to use more powerful
The AWS docs has a complete step by step guide covering CloudFormationStack and ECS cluster launched manually.
How do I change my container instance type in Amazon ECS?
From the guide:
To change your container instance type, complete the steps in one of the following sections:
- Update container instances launched in an ECS cluster through the AWS CloudFormation stack
- Update container instances launched manually in an ECS cluster
Yes, you can achieve this in CloudFormation.
Update Stack
current template
, Next
Next
, Next
, Update
2*n
instancesn
new instances of the new type being createdn