Learning about AWS Fargate
AWS Fargate is a serverless way to run containers. ECS and EKS (Elastic Kubernetes Service) support running containerized workloads using AWS Fargate.
Let's look at an example to understand better how Fargate helps you run serverless containers. Without Fargate, you have an EC2 instance with multiple tasks running on it. So here, to support the tasks, you have to manage the underlying instance, such as the instance OS, the container runtime, and the ECS Agent, in the case of Amazon ECS. This is still quite a bit of operational overhead. You have to patch and update the OS, ECS/EKS agent, etc., while also scaling the instance fleet for optimal utilization. All of these tasks are still required, adding management layers to your application.
AWS Fargate simplifies the management of ECS/EKS services and enables users to focus on application development rather than infrastructure management. With AWS Fargate, the provisioning of infrastructure and the management...