Understanding ECS and writing task definitions and services

Amazon EC2 Container Service (ECS) is a container orchestration service. It is highly scalable and a fast container management service that helps manage a containerized application that is deployed in the cluster of EC2 instances. Basically, Amazon ECS lets you launch and stop container-based applications with simple API calls and allows you to get the state of your cluster from a centralized service. It also gives you access to many familiar Amazon EC2 features. ECS handles fault tolerance by itself, which means we don’t have to worry about that when designing our infrastructure using ECS.

Amazon ECS takes care of container running inside the cluster. It schedules the placement ...

Get AWS Automation Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.