Create a task set in a service in ECS Cluster

0 votes

Hi Team,

I have created a service in ECS Cluster. I want to creates a task set in that service with AWS CLI. How can I do that?

Nov 8, 2020 in AWS by akhtar
• 38,260 points
764 views

1 answer to this question.

0 votes

Hi@akhtar,

You can create a task set in the specified cluster and service. This is used when a service uses the EXTERNAL deployment controller type. The following create-task-set example creates a task set in a service that uses an external deployment controller.

$ aws ecs create-task-set \
    --cluster MyCluster \
    --service MyService \
    --task-definition MyTaskDefinition:2 \
    --network-configuration "awsvpcConfiguration={subnets=[subnet-12344321],securityGroups=[sg-12344321]}"
answered Nov 8, 2020 by MD
• 95,460 points

Related Questions In AWS

0 votes
1 answer

How to create a Cluster Security Group in RedShift?

Hi@akhtar, You can create a new Amazon AWS Redshift ...READ MORE

answered Nov 27, 2020 in AWS by MD
• 95,460 points
979 views
0 votes
1 answer

How to create a Cluster Snapshot in AWS RedShift?

Hi@akhtar, You can create a manual snapshot of the ...READ MORE

answered Nov 27, 2020 in AWS by MD
• 95,460 points
838 views
0 votes
1 answer

How to create a Cluster Subnet Group in AWS RedShift?

Hi@akhtar, You can create a new Amazon Redshift subnet ...READ MORE

answered Nov 27, 2020 in AWS by MD
• 95,460 points
782 views
0 votes
1 answer

How to create tags for a cluster in AWS RedShift?

Hi@akhtar, You can add tags to a cluster. A ...READ MORE

answered Nov 27, 2020 in AWS by MD
• 95,460 points
1,106 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to create a new service in ECS cluster behind a load balancer?

Hi@akhtar, The following create-service example shows how to create a ...READ MORE

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

How to create a service with a Fargate task?

Hi@akhtar, You can create a service with a Fargate ...READ MORE

answered Nov 8, 2020 in AWS by MD
• 95,460 points
574 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