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,170 points
82 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,180 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 Redshift security ...READ MORE

answered Nov 26, 2020 in AWS by MD
• 95,180 points
155 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 26, 2020 in AWS by MD
• 95,180 points
65 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,180 points
83 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,180 points
69 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,180 points
140 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,180 points
51 views