NAV Navbar
Logo
Switch version:

Pre-requisites

In order to use GoCD’s Amazon ECS Elastic Agent Plugin, the following pre-requisites must be met.

Configure ECS using the AWS CloudFormation template:

The easy and quick way to configure ECS is by using the provided AWS CloudFormation template. This template creates an empty ECS cluster and defines IAM user and role with appropriate permission. To configure ECS using the AWS CloudFormation templates, follow these steps,


Alternatively configure ECS manually (if you prefer to manually configure ECS instead of using the above CloudFormation template).

  ec2:createTags
  ec2:runInstances
  ec2:describeSubnets
  ec2:describeInstances
  ec2:terminateInstances
  ec2:createVolume
  ec2:attachVolume
  iam:PassRole
  ecs:describeClusters
  ecs:startTask
  ecs:stopTask
  ecs:listTasks
  ecs:describeTasks
  ecs:describeTaskDefinition
  ecs:registerTaskDefinition
  ecs:listContainerInstances
  ecs:deregisterTaskDefinition
  ecs:describeContainerInstances
  ecs:deregisterContainerInstance
  ecs:poll
  ecs:describeClusters
  ecs:discoverPollEndpoint
  ecs:startTelemetrySession
  ecs:submitTaskStateChange
  ecs:registerContainerInstance
  ecs:submitContainerStateChange
  ecs:deregisterContainerInstance
  logs:PutLogEvents
  logs:CreateLogStream
  1. Getting Started with Amazon ECS
  2. Amazon ECS Container Instance IAM Role
  3. Amazon ECS IAM Policy Examples