cd ~/environment/ecsdemo-crystal/
ecs-cli local create --task-def-remote $(aws ecs list-task-definitions | jq -r '.taskDefinitionArns[] | select(contains ("crystal"))')
ecs-cli local up
ecs-cli local ps --all
curl localhost:3000/health
Navigate over to the tab with the frontend UI, and you should now see the Crystal service running!
That’s it! We are locally running in docker our polyglot microservice environment. All services communicating with one another, and perfect for testing locally without having to deploy everything to AWS.