How to create an ECS cluster using AWS CLI

0 votes
Hi Team,

I want to create an ECS cluster in AWS. But I don't know how to do it using AWS CLI. Can anyone help me with this?
Nov 8, 2020 in AWS by akhtar
• 38,180 points
80 views

1 answer to this question.

0 votes

Hi@akhtar,

You can create a new Amazon ECS cluster. By default, your account receives a default cluster when you launch your first container instance. However, you can create your own cluster with a unique name with the CreateCluster action. The following create-cluster example creates a cluster.

$ aws ecs create-cluster --cluster-name MyCluster
answered Nov 8, 2020 by MD
• 95,140 points

Related Questions In AWS

0 votes
1 answer

How to create a redshift cluster using AWS CLI?

You can create your cluster using AWS ...READ MORE

answered Feb 25, 2019 in AWS by Priyaj
• 58,100 points
418 views
0 votes
1 answer

How to create EMR cluster using AWS CLI?

The command to create EMR cluster using ...READ MORE

answered Feb 27, 2019 in AWS by Priyaj
• 58,100 points
753 views
0 votes
1 answer

How to use CloudFormation to create an ECS cluster?

Looks like there is nothing special about ...READ MORE

answered Sep 24, 2018 in AWS by Archana
• 4,150 points
2,626 views
+1 vote
2 answers

How to launch and access an instance using AWS-CLI?

aws ec2 run-instances --image-id ami-id --key-name yourkeyname ...READ MORE

answered Feb 23, 2019 in AWS by Shashank
• 1,370 points
676 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to delete an empty ECS cluster using AWS CLI?

Hi@akhtar, You can delete the specified ECS cluster. The ...READ MORE

answered Nov 8, 2020 in AWS by MD
• 95,140 points
124 views
0 votes
1 answer

How to create a virtual MFA device using AWS CLI?

Hi@akhtar, You can create a new virtual MFA device ...READ MORE

answered Nov 3, 2020 in AWS by MD
• 95,140 points
85 views