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,260 points
889 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,460 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
1,220 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
1,948 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,170 points
3,878 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
1,875 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,460 points
1,981 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,460 points
1,110 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP