Deploy Demo Application to ECS and EKS
> export AWS_PROFILE=<profile>
> aws cloudformation deploy --template-file stack.yml \
--stack-name todobackend --parameter-overrides $(cat dev.json) \
--capabilities CAPABILITY_NAMED_IAM
# Update dev.json file
> vim dev.json
# Deploy to Dev
> make deploy/dev
# Update prod.json file
> vim prod.json
# Deploy to Prod
> make deploy/prod
# Check ECS Cluster
> aws ecs list-clusters
> aws ecs describe-clusters --cluster todobackend-cluster
# Check ALB Public URL
> aws cloudformation describe-stacks --stack-name todobackend --query
Stacks[].Outputs[]