Containers

Category: Amazon Elastic Container Service

Graceful shutdowns with ECS

February 2023: Parts of this blog are no longer accurate. Following enhancements to the ELB integration for ECS services, tasks running on Fargate Spot will be deregistered from a target group if it receives a spot termination notice before a SIGTERM is issued to the Task. Introduction Amazon Elastic Container Service (Amazon ECS) gives customers […]

Amazon ECS-optimized Amazon Linux AMI End-of-Life

Update June 25, 2025 – The ECS-optimized Amazon Linux AMI (also called Amazon Linux 1) will reach its end of life on September 15, 2025. We encourage customers to upgrade their applications to use Amazon Linux 2023, which includes long term support through 2028. Since its launch in 2015, the Amazon ECS-optimized Amazon Linux AMI has […]

NEW – Using Amazon ECS Exec to access your containers on AWS Fargate and Amazon EC2

Today, we are announcing the ability for all Amazon ECS users including developers and operators to “exec” into a container running inside a task deployed on either Amazon EC2 or AWS Fargate. This new functionality, dubbed ECS Exec, allows users to either run an interactive shell or a single command against a container. This was one of […]

Autoscaling Amazon ECS services based on custom CloudWatch and Prometheus metrics

Introduction Horizontal scalability is a critical aspect of cloud native applications. Microservices deployed to Amazon ECS leverage the Application Auto Scaling service to automatically scale based on observed metrics data. Amazon ECS measures service utilization based on CPU and memory resources consumed by the tasks that belong to a service and publishes CloudWatch metrics, namely, […]

Theoretical cost optimization by Amazon ECS launch type: Fargate vs EC2

This post was contributed by Julia Beck, Thomas Le Moullec, Kevin Polossat, and Sam Sanders Customers often ask about best practices when using Amazon Elastic Container Service (Amazon ECS), in particular around the Well-Architected Framework pillar of Cost Optimization. Within this, choosing between the two different launch types, EC2 and Fargate, may be one of […]

Amazon Elastic Container Service Anomaly Detector using Amazon EventBridge

This post was contributed by Ugur KIRA and Santosh Kumar. This concept originated from discussions with Skyscanner UK regarding to manage ECS clusters at large scale. Amazon EventBridge is a serverless event bus that makes it easy to connect applications together using data from your own applications, integrated Software-as-a-Service (SaaS) applications, and AWS services. EventBridge […]

Klook Case Study

About Klook: Klook, a world-leading travel activities and services booking platform, empowers travelers to discover and book on-demand local attractions, tours, transportation, food and exclusive experiences in more than 350 destinations around the world. More than 30 million people in over 180 markets use Klook’s website and award-winning app every month. Klook platforms support 41 […]

Delivering tree insights at scale at Aerobotics

This post is contributed by Nic Coles, Head of Software Engineering, Aerobotics Aerobotics is an agri-tech company operating in 18 countries around the world, based out of Cape Town, South Africa. Our mission is to provide intelligent tools to feed the world. We aim to achieve this by providing farmers with actionable data and insights […]

Running Airflow on AWS Fargate

Apache Airflow is an open-source distributed workflow management platform that allows you to schedule, orchestrate, and monitor workflows. Airflow helps you automate and orchestrate complex data pipelines that can be multistep with inter-dependencies. This post presents a reference architecture where Airflow runs entirely on AWS Fargate with Amazon Elastic Container Service (ECS) as the orchestrator, […]

Authenticating with Docker Hub for AWS Container Services

Docker Hub has recently updated its terms of service to introduce rate limits for container image pulls. While these limits don’t apply to accounts under a Pro or Team plan, anonymous users are limited to 100 pulls per 6 hours per IP address, and authenticated free accounts are limited to 200 pulls per 6 hours. […]