AWS ECS: The Dawn of the Micro-Services
How to create a microservice for a production environment using AWS ECS, Route 53, AWS Load Balancer and the ECS Cluster.
Published in
6 min readJul 23, 2020
I bet so! Wouldn’t it be fantastic If you could deploy it in production as soon as possible in the shortest amount of time, passing from your CI/CD pipeline and having all of this standardised across all your environment?
Well, docker can be your perfect companion:
- Standardisation (the exact image you are running on your dev should be identical to the production one, apart from the ENV variable)
- Read-only Container (ready to scale horizontally)
- Rapid Deployment (as soon as the image is available, it takes less than 10 seconds to spin up a container)
- Isolation (You can define the amount of CPU/Memory to be used)
- Security (Docker ensure that your applications are completely isolated from each other)
DISCLAIMER: In a production environment, I would use cloud formation to create all the resources and orchestrate the Deployment; nevertheless, this guide is an introduction to the basics of ECS to understand the underlying system and how to get the best from it.