Elastic Container Service ¶
Amazon Elastic Container Service
(ECS) is a fully managed container orchestration service
that helps you to more efficiently deploy, manage, and scale containerized applications
This applicaiton is region specific.
Fargagte as compute for ECS and EKS
On both Amazon EKS and Amazon ECS, you have the option of running your containers on the following compute options:
-
AWS Fargate
โ a โserverlessโ container compute engine where you only pay for the resources required to run your containers. Suited for customers who do not want to worry about managing servers, handling capacity planning, or figuring out how to isolate container workloads for security. -
EC2 instances
โ offers widest choice of instance types including processor, storage, and networking. Ideal for customers who want to manage or customize the underlying compute environment and host operating system. -
AWS Outposts
โ run your containers using AWS infrastructure on premises for a consistent hybrid experience. Suited for customers who require local data processing, data residency, and hybrid use cases. -
AWS Local Zones
โ an extension of an AWS Region. Suited for customers who need the ability to place resources in multiple locations closer to end users. -
AWS Wavelength
โ ultra-low-latency mobile edge computing. Suited for 5G applications, interactive and immersive experiences, and connected vehicles.
Fargate¶
AWS Fargate is a engine that you can use with Amazon ECS
to run containers without having to manage servers or clusters of Amazon EC2 instances.
Each Fargate task has its own isolation boundary and does not share the underlying kernel, CPU resources, memory resources, or elastic network interface with another task.
ECS and EKS diff¶
Amazon ECS delivers an AWS-opinionated solution
for running containers at scale and is not an option for running Kubernetes workloads
ECS Anywhere¶
The following provides a high-level system architecture overview of Amazon ECS Anywhere. Your on-premises server has both the Amazon ECS agent and the SSM agent installed.
Amazon ECS Anywhere
provides support for registering an external instance such as an on-premises server or virtual machine (VM), to your Amazon ECS cluster.
External instances are optimized for running applications that generate outbound traffic or process data.
If your application requires inbound traffic, the lack of Elastic Load Balancing support makes running these workloads less efficient. Amazon ECS added a new EXTERNAL launch type that you can use to create services or run tasks on your external instances.