Bootstrap FreeKB - Amazon Web Services (AWS) Elastic Container Service (ECS) - Delete Cluster using the AWS CLI
Amazon Web Services (AWS) Elastic Container Service (ECS) - Delete Cluster using the AWS CLI


This assumes you have already configured the aws command line tool. If not, check out my article on Getting Started with the AWS CLI.

The aws ecs list-clusters command can be used to list your Elastic Container Service (ECS) Clusters.

~]$ aws ecs list-clusters
{
    "clusterArns": [
        "arn:aws:ecs:us-east-1:123456789012:cluster/my-ecs-cluster"
    ]
}

 

And then the aws ecs delete-cluster command can be used to delete a cluster, using the Amazon Resource Number (ARN) of the cluster.

aws ecs delete-cluster --cluster arn:aws:ecs:us-east-1:123456789012:cluster/my-ecs-cluster

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter ecd3d3 in the box below so that we can be sure you are a human.