ecs-cli configure profile --profile-name profile_name --access-key $AWS_ACCESS_KEY_ID --secret-key $AWS_SECRET_ACCESS_KEY
See (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI_Configuration.html) for more information
ecs-cli configure --cluster victron --default-launch-type EC2 --region us-east-1 --config-name victron
ecs-cli up --keypair ECS --capability-iam --size 1 --instance-type t2.medium --cluster-config victron
ecs-cli compose --ecs-params ecs-params.yml -f docker-compose-ecs.yaml up --create-log-groups --cluster-config victron
Go to the new EC2 instance to get the public ip address Then go to http://EC2_PUBLIC_IP
ecs-cli down --cluster-config victron