Drone plugins > AWS ECS
AWS ECS
by josmo
The ECS plugin can be used to deploy a Docker image to an ECS environment.
Example
kind: pipeline
name: default
steps:
- name: ecs
image: pelotech/drone-ecs
settings:
access_key: superaccesskey
secret_key: supersecretkey
service: service1
region: us-west-2
family: my-ecs-task
image_name: namespace/repo
image_tag: latest
environment_variables:
- DATABASE_URI=database uri
port_mappings:
- 80 9000
memory: 128
Properties
access_key
stringoptionalAWS access key.
Secret recommendedDefault: none
secret_key
stringoptionalAWS secret key.
Secret recommendedDefault: none
service
stringoptionalecs service on that environment to upgrade.
Default: none
region
stringoptionalAWS region.
Default: none
family
stringoptionalECS task.
Default: none
image_name
stringoptionaldocker image to use.
Default: none
image_tag
stringoptionaldocker image tag to use.
Default: none
environment_variables
arrayoptionallist of environment variables to pass to ecs.
Default: none
port_mappings
arrayoptionallist of port mappings to pass to ecs.
Default: none
memory
numberoptionalmemory to assign to the service.
Default: none