Run Serverless Kubernetes Pods Using Amazon EKS and AWS Fargate

Posted on: Dec 3, 2019

You can now use Amazon Elastic Kubernetes Service (EKS) to run Kubernetes pods on AWS Fargate, the serverless compute engine built for containers on AWS. This makes it easier than ever to build and run your Kubernetes applications in the AWS cloud. 

Amazon Elastic Kubernetes Service (EKS) is a managed service that makes it easy for you to run Kubernetes on AWS. AWS Fargate provides on-demand, right-sized compute capacity for containers that run as Kubernetes pods as part of an Amazon EKS cluster. Using Fargate, Kubernetes pods run with just the compute capacity they request and each pod runs in its own VM-isolated environment without sharing resources with other pods. You only pay for the pods you run, when they run, improving the utilization and cost-efficiency of your apps without any additional work.

Fargate lets you focus on designing and building your applications instead of managing the infrastructure that runs them, making it perfect for modern, cloud native applications. EKS lets you run pods on Fargate with the upstream Kubernetes APIs, so you can use existing tooling to manage your applications. With Amazon EKS and AWS Fargate, you get the serverless benefits of Fargate, the best practices of Amazon EKS, and the extensibility of Kubernetes out of the box.

Pods that run on Fargate are billed at the standard Fargate rates for vCPU and memory and you pay the standard EKS rate for each cluster that you run. EKS support for Fargate is available in US East (Virginia), US East (Ohio), Europe (Ireland), and Asia Pacific (Tokyo) regions.

To get started, create a new EKS cluster and define a Fargate profile. You can learn more about getting started with EKS and Fargate in our Blog or the EKS Documentation.