October 2018
Intermediate to advanced
332 pages
8h 9m
English
To deploy on AWS, we are going to use the Amazon Elastic Container Service (ECS). ECS is a service that provides a scalable cluster for Docker, without the need to install any software to orchestrate your containers. It's based on AWS Auto Scaling Groups (ASG), which scale instances up or down with Docker installed. This scaling is triggered by monitoring metrics, such as CPU usage or network load. ECS also migrates all containers from an instance that, for some reason, terminates, or gets its service impaired. ECS thus acts as a cluster. After this, the ASG will spawn a new instance to replace the faulty one.