Last active
August 29, 2015 14:23
-
-
Save kgorskowski/7c216ea8a51ca370b2e3 to your computer and use it in GitHub Desktop.
aws ecs scrapbook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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