Configuration
To configure an Amazon ECS Service task:
- Navigate to the Tasks configuration tab for the job (this will be the default job if creating a new plan).
- Click the name of an existing Amazon ECS Service task, or click Add Task and then Amazon ECS Service to create a new task.
Complete the following settings:
Common to all tasks
Include Page _CommonTaskParametersTable _CommonTaskParametersTable Actions supported by this task:
Create
shortService
Cluster Name or ARN (Optional) Specify the
fullcluster name or
of the cluster that you want to run your service onAmazon Resource Name (ARN)
of the service you want to create.
- If you do not specify a cluster, the default cluster is assumed.
Service Name Specify the service name
full. Task Definition (Optional) Specify the family and revision (family:revision) or
that you want to run in your serviceAmazon Resource Name (ARN) of the task definition
theto use. Desired Count (Optional) Specify
instantiations of the specified task definition that you would like to place and keep running on your clusterthe number of
, containing the load balancer name, the container name (as it appears in a container definition), and the container port to access from the load balancertasks to keep running. Placement Strategy (Optional) Specify placement strategy objects in JSON format. - Your can optionally use strategies for selecting instances for task placement – refer to Amazon ECS Task Placement Strategies for details.
Placement Constraints (Optional) Specify placement constraint objects in JSON format. - Your can optionally use constraints to manage placement – refer to Amazon ECS Task Placement Constraints for details.
Deployment Configuration (Optional) Specify the deployment configuration in JSON format – refer to Deployment Configuration for details. Load Balancers (Optional) Specify one or more load balancer objects in JSON format
full– refer to Service Load Balancing for details. Role (Conditional) Specify the name or
your AmazonAmazon Resource Name (ARN) of the IAM role that allows
yourthe ECS container agent to make calls to
on your behalfthe load balancer
.
if you are- This parameter is only required
with your service.Generated Variables- for services using a load balancer
- .
Advanced Options Await Steady State Timeout Specify how long to await the service reaching a steady state (seconds, 0 to skip). Verify Steady State Period Specify how long to verify the service's state staying steady (seconds, 0 to skip). Update Service
Cluster Name or ARN see Create above Service Name or ARN Specify the service name or Amazon Resource Name (ARN). Task Definition see Create above Desired Count see Create above Deployment Configuration see Create above Advanced Options Await Steady State Timeout see Create above Verify Steady State Period see Create above Delete Service
Cluster Name or ARN see Create above Service Name or ARN see Update above
Variables
Include Page | ||||
---|---|---|---|---|
|
Create Service
Code Block | ||||
---|---|---|---|---|
| ||||
Creating common variables for 1 services: ... bamboo.custom.aws.ecs.service.resources: |
TAWS- |
IT270- |
ECSSE-nginx Creating resource variables for service ' |
TAWS- |
IT270- |
ECSSE-nginx': ... bamboo.custom.aws.ecs.service.resources. |
TAWS- |
IT270- |
ECSSE-nginx.ClusterArn: arn:aws:ecs:us-east-1:309600995652:cluster/ |
TAWS- |
IT270- |
43- |
ubot ... bamboo.custom.aws.ecs.service.resources. |
TAWS- |
IT270- |
ECSSE-nginx.RoleArn: arn:aws:iam::309600995652:role/amazon-ecs-service ... bamboo.custom.aws.ecs.service.resources. |
TAWS- |
IT270- |
ECSSE-nginx.ServiceArn: arn:aws:ecs:us-east-1:309600995652:service/ |
TAWS- |
IT270- |
ECSSE-nginx ... bamboo.custom.aws.ecs.service.resources. |
TAWS- |
IT270- |
ECSSE-nginx.ServiceName: |
TAWS- |
IT270- |
ECSSE-nginx ... bamboo.custom.aws.ecs.service.resources. |
TAWS- |
IT270- |
ECSSE-nginx.Status: ACTIVE ... bamboo.custom.aws.ecs.service.resources. |
TAWS- |
IT270- |
ECSSE-nginx.TaskDefinition: arn:aws:ecs:us-east-1:309600995652:task-definition/ |
TAWS-IT270-ECSSE-nginx:124 ... bamboo.custom.aws.ecs.service.resources.TAWS-IT270-ECSSE-nginx.DesiredCount: 2 ... bamboo.custom.aws.ecs.service.resources.TAWS-IT270-ECSSE-nginx.PendingCount: 0 ... bamboo.custom.aws.ecs.service.resources.TAWS-IT270-ECSSE-nginx.RunningCount: 2 Creating common variables for first resource affected by task: Creating resource variables for service ' |
TAWS- |
IT270- |
ECSSE-nginx': ... bamboo.custom.aws.ecs.service.first.ClusterArn: arn:aws:ecs:us-east-1:309600995652:cluster/ |
TAWS- |
IT270- |
43- |
ubot ... bamboo.custom.aws.ecs.service.first.RoleArn: arn:aws:iam::309600995652:role/amazon-ecs-service ... bamboo.custom.aws.ecs.service.first.ServiceArn: arn:aws:ecs:us-east-1:309600995652:service/ |
TAWS- |
IT270- |
ECSSE-nginx ... bamboo.custom.aws.ecs.service.first.ServiceName: |
TAWS- |
IT270- |
ECSSE-nginx ... bamboo.custom.aws.ecs.service.first.Status: ACTIVE ... bamboo.custom.aws.ecs.service.first.TaskDefinition: arn:aws:ecs:us-east-1:309600995652:task-definition/ |
TAWS- |
IT270- |
ECSSE-nginx: |
Update
Delete
Variables
124
... bamboo.custom.aws.ecs.service.first.DesiredCount: 2
... bamboo.custom.aws.ecs.service.first.PendingCount: 0
... bamboo.custom.aws.ecs.service.first.RunningCount: 2 |
Update Service
See Create above.
Delete Service
See Create above.
How-to Articles
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Frequently Asked Questions (FAQ)
Questionslist macro | ||||||||
---|---|---|---|---|---|---|---|---|
|