Deleting a cluster

You can delete the cluster once you have finished using it. In the Amazon ECS console, when you delete the cluster, then associated resources will be deleted, and it also depends on how the cluster was created.

If the cluster was created after November 24th, 2015 with console first-run experience, then the AWS CloudFormation stack, which was created with the cluster, will also be deleted when you delete the cluster.

If the cluster was created before November 24th, 2015, then you must terminate any container instance associated with the cluster before you delete the cluster. After the cluster is deleted, you can delete any AWS CloudFormation resource or Auto Scaling groups, associated with the cluster.

You can follow these ...

Get Expert AWS Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.