Created
December 13, 2019 17:06
-
-
Save alisonmonteiro/5e11ffb440763d9c2ff55b960c2debf4 to your computer and use it in GitHub Desktop.
ecs-cli simple commands
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
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