AWS Fargate, a serverless compute engine that runs containers, works with both Amazon Elastic Container Service and Amazon Elastic Kubernetes Service. Fargate makes it simple for you to concentrate on building your applications. Fargate eliminates the need for provisioning and managing servers. It allows you to specify and pay per application for resources. Fargate also improves security by application isolation by design.
Fargate allocates the correct amount of compute, eliminating the need for instances to scale cluster capacity and choosing instances. You only pay for what you use to run your containers. There is no need to over-provision or purchase additional servers. Fargate runs each task and pod in its own kernel, giving them their own isolated computing environment. This allows your application to be isolated from the workload and provides greater security by design.