Drone plugins > AWS ECS Deploy
amazon_ecs.svg

AWS ECS Deploy

by devops-israel


This plugin allows updating an ECS service. The plugin is a wrapper for ecs-deploy, this bash works by taking the current task definition of a service and just changing the image so that all the configuration stays the same.

Example

kind: pipeline
name: default

steps:
- name: deploy
  image: joshdvir/drone-ecs-deploy
  settings:
    cluster: my-cluster
    service: my-service
    image_name: my-image:latest
    aws_region: us-east-1

Properties

  • aws_access_key_id

    stringoptional

    AWS access key.

    Secret recommended

    Default: none

  • aws_secret_access_key

    stringoptional

    AWS secret key.

    Secret recommended

    Default: none

  • aws_region

    stringoptional

    AWS region.

    Default: us-east-1

  • cluster

    stringoptional

    ECS cluster.

    Default: none

  • service

    stringoptional

    Name of service to deploy.

    Default: none

  • timeout

    numberoptional

    Script monitors ECS Service for new task definition to be running.

    Default: 300

  • image_name

    stringoptional

    Name of Docker image to run, e.g. repo/image:latest.

    Default: none

  • max

    numberoptional

    The upper limit on the number of running tasks during a deployment.

    Default: 200

  • min

    numberoptional

    The lower limit on the number of running tasks during a deployment.

    Default: 100