CLI tool to easily update your ECS services.
Go Makefile
Latest commit 147afd5 Oct 7, 2016 @travisjeffery update to 1.2.1
Permalink
Failed to load latest commit information.
Godeps Update deps Oct 2, 2016
client add --task arg to specify family if necessary Dec 16, 2015
vendor Update deps Oct 2, 2016
.gitignore ignore goxc local Dec 5, 2015
.goxc.json update to 1.2.1 Oct 7, 2016
History.md Release v1.2.0 Dec 16, 2015
Makefile add makefile Dec 16, 2015
README.md Update README.md Jan 12, 2016
main.go fix version to be set when built Oct 7, 2016

README.md

ecs-deploy

Deploy ECS service to a Docker image.

Install

Download the binary, or go get:

$ go get github.com/travisjeffery/ecs-deploy

Example

$ ecs-deploy --service=app --image=travisjeffery/app --tag=1.0.0
default/app-stage 2015/12/05 02:10:38 [info] --> desired: 2, pending: 0, running: 0
default/app-stage 2015/12/05 02:10:43 [info] --> desired: 1, pending: 1, running: 0
default/app-stage 2015/12/05 02:10:43 [info] --> desired: 0, pending: 0, running: 2
default/app-stage 2015/12/05 02:10:48 [info] update service succes

Usage

usage: ecs-deploy --service=SERVICE [<flags>]

Deploy ECS service.

Flags:
  --help                Show context-sensitive help (also try --help-long and --help-man).
  --service=SERVICE     Name of Service to update.
  --task=TASK-DEF       Name of Task Definition to update. Defaults to service.
  --image=IMAGE         Name of Docker image to run.
  --tag=TAG             Tag of Docker image to run.
  --cluster="default"   Name of ECS cluster.
  --region="us-east-1"  Name of AWS region.
  --count=-1            Desired count of instantiations to run. Defaults to existing running count.
  --nowait              Disable waiting for task definitions to start running.
  --version             Show application version.

You can also override the default region by setting the AWS_DEFAULT_REGION environmental variable.

Author

Travis Jeffery

License

MIT