Share this Post

  •    
  •    
Nathan Peck
Nathan Peck
AWS Guest Author
 Jan 19, 2024 8 min read

Amazon ECS enables easier EC2 capacity management, with managed instance draining

Amazon Elastic Container Service (ECS) deploys and manages your containerized tasks on AWS infrastructure. Customers can avoid the need to maintain compute instances by using Amazon ECS to deploy tasks on serverless AWS Fargate capacity. But some customers prefer to use Amazon ECS with Amazon Elastic Compute Cloud (Amazon EC2) as capacity. Using Amazon EC2 instances as capacity to run your container gives you greater control over the underlying compute infrastructure, but this comes with the downside of increased maintenance overhead. Traditionally, it has been necessary for cluster operators to build custom tooling for Amazon EC2 instance maintenance in order to avoid unexpectedly disrupting the container workloads running on the Amazon EC2 instances. Amazon ECS has the built-in ability to drain tasks that are running on an Amazon EC2 instance and move these tasks to another instance, in order to allow the original instance to be replaced or terminated. However, utilizing this …

Read More...