Date

configure cluster

ecs-cli configure --cluster ec2-tutorial --default-launch-type EC2 --config-name ec2-tutorial --region ap-northeast

configure profile

ecs-cli configure profile --profile-name ec2-tutorial-profile --access-key save_the_world --secret-key love_your_self

Up cluster

ecs-cli up --keypair tree_rsa --capability-iam --size 1 --instance-type t2.micro --cluster-config ec2-tutorial --ecs-profile ec2-tutorial-profile

Up docker compose

ecs-cli compose up --create-log-groups --cluster-config ec2-tutorial --ecs-profile ec2-tutorial-profile

Down docker compose

ecs-cli down