Skip to content

Instantly share code, notes, and snippets.

@kgorskowski
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kgorskowski/7c216ea8a51ca370b2e3 to your computer and use it in GitHub Desktop.
Save kgorskowski/7c216ea8a51ca370b2e3 to your computer and use it in GitHub Desktop.
aws ecs scrapbook
Register a json formatted ecs task definition:
aws ecs register-task-definition --cli-input-json file://path/to/json
if you register the same definition again, ecs automatically creates a new revision, revisions of tasks can be choosen for running tasks or services "task:revision"
Create a long running ecs service with an existing task definition
aws ecs create-service --cluster clustern_name --service-name service_name --task-definition task:revision --desired-count 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment