Skip to content

Instantly share code, notes, and snippets.

@alisonmonteiro
Created December 13, 2019 17:06
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 alisonmonteiro/5e11ffb440763d9c2ff55b960c2debf4 to your computer and use it in GitHub Desktop.
Save alisonmonteiro/5e11ffb440763d9c2ff55b960c2debf4 to your computer and use it in GitHub Desktop.
ecs-cli simple commands
ecs-cli configure profile --profile-name {PROFILE_NAME} --access-key {AWS_ACCESS_KEY} --secret-key {AWS_SECRET_KEY}
ecs-cli configure --cluster {CLUSTER_NAME} --default-launch-type EC2 --region us-east-1 --config-name {PROFILE_NAME}
ecs-cli up --keypair {KEY_PAIR_NAME} --instance-role {INSTANCE_ROLE} --size 1 --instance-type t2.medium --vpc vp-c{VPC_ID} --subnets subnet-{SUBNET_ID}
ecs-cli compose -f docker-compose.ecs.yml service up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment