Containers
Amazon ECS Anywhere
Amazon ECS capability that lets you register your own on-premises servers or virtual machines as external instances of an ECS cluster. This lets you run and manage containers outside AWS with the same Amazon ECS.
Exam phrases that point here
«run containers on your own servers while managing them with Amazon ECS from the cloud»
ECS Anywhere registers your own physical servers or virtual machines as external instances of an ECS cluster, so you use the same tools and the same control plane as in AWS, without installing your own orchestrator.
When not: If the organization uses Kubernetes, the answer is Amazon EKS Anywhere. If you want AWS-managed hardware inside the data center, think of AWS Outposts.
«manage on-premises and AWS containers with the same tools, and migrate them later»
A single ECS cluster can mix on-premises servers, EC2 instances, and Fargate, which makes it easier to move workloads to the cloud later.
When not: If there is no intention to use AWS for orchestration and no connection to the Region, ECS Anywhere adds nothing: it depends on the control plane in the cloud.
«process data on premises and have only management information reach AWS»
Only management information (host health, container start and stop, health checks) travels to the Region; the data that the containers process stays on the local server.
When not: If you send the containers' logs to CloudWatch or pull images from ECR, that traffic does leave for AWS. And if the environment is isolated from the internet (air-gapped), ECS Anywhere is not an option.
«on-premises applications that generate outbound traffic or process batches of data»
External instances are designed for workloads that process data or generate outbound traffic, such as processing jobs close to where the data is.
When not: If the application receives inbound traffic and needs a load balancer, ECS Anywhere is a poor fit: it does not support service load balancing or service discovery. A web application like that would go on ECS on EC2 or Fargate.