Skip to content

CLI tool to easily update your ECS services.

Notifications You must be signed in to change notification settings

gametimesf/ecs-deploy

 
 

Repository files navigation

ecs-deploy

Deploy ECS service to a Docker image.

Prerequisites

Install Dependencies

  • Install Pre-Commit
  • Install the pre-commit hooks
    pre-commit install -t pre-commit -t commit-msg

Review the Contributing Guide

Please follow the guide in CONTRIBUTING.md for information on contributing standards.

Install

$ go get github.com/gametimesf/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

About

CLI tool to easily update your ECS services.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 88.1%
  • JavaScript 6.1%
  • Makefile 5.8%