Amazon Elastic Kubernetes Service (Amazon EKS)
Cloud service · AWS · Updated

Amazon Elastic Kubernetes Service (Amazon EKS)

In short

Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy to deploy, manage, and scale containerized applications using Kubernetes on AWS.

Cloud Services Hub →

Free Amazon Elastic Kubernetes Service (Amazon EKS) tools

6 key features of Amazon Elastic Kubernetes Service (Amazon EKS)

Amazon Elastic Kubernetes Service (Amazon EKS) is a fully managed Kubernetes service that provides automated version upgrades, patching, and scaling for optimal application performance and security, integrated with AWS services for compute, storage, and networking.

01
Managed Kubernetes Clusters

Amazon EKS simplifies the process of building, securing, operating, and maintaining Kubernetes clusters by automating key tasks such as patching, node provisioning, and updates.

02
Seamless Integration with AWS Services

EKS is deeply integrated with services such as Elastic Load Balancing, Amazon VPC, and IAM for providing robust scalability, networking, and security features automatically.

03
Hybrid Cloud Capabilities

Amazon EKS supports hybrid cloud environments, allowing organizations to manage Kubernetes clusters on AWS as well as on-premises, helping facilitate smooth migration and operation across diverse environments.

04
Scalability and High Availability

EKS automatically scales the Kubernetes control plane, managing the availability and scalability across multiple AWS Availability Zones to ensure high availability and fault tolerance.

05
Security and Compliance

EKS secures your Kubernetes clusters by default, managing the encryption of data at rest and offering integrations with key security services such as AWS Key Management Service (KMS) and IAM roles.

06
EKS Console

The AWS Management Console offers a user-friendly interface for Amazon EKS which aids in cluster creation, configuration, and management, providing rich visual feedback and analytics.

Where Amazon Elastic Kubernetes Service (Amazon EKS) is used

Amazon Elastic Kubernetes Service (Amazon EKS) is commonly used for running containerized applications, facilitating application scaling and management, supporting microservices architectures, enhancing development and production consistency, and simplifying application migration across cloud environments.

  1. 01
    Microservices Deployment

    Amazon EKS provides a managed environment to deploy, manage, and scale containerized applications using Kubernetes. Organizations can use EKS to split complex applications into smaller, independent components (microservices) that are easier to develop, deploy, and update.

  2. 02
    Continuous Integration and Continuous Deployment (CI/CD)

    Amazon EKS can be integrated with CI/CD pipelines to automate the deployment, management, and scaling of applications. By using Kubernetes' capacity to handle automated testing, rolling updates, and rollback functionalities, teams can achieve faster and more secure application delivery.

  3. 03
    Machine Learning Model Training

    Leverage Amazon EKS to run distributed machine learning frameworks such as TensorFlow or PyTorch. EKS can manage the underlying infrastructure to scale across multiple instances efficiently, helping to speed up the training of models by distributing the workload effectively.

  4. 04
    Batch Processing

    Use Amazon EKS to manage batch processing jobs that can efficiently handle tasks at scale. Kubernetes’ ability to schedule and run batches based on resource availability allows for cost-effective processing without manual intervention.

  5. 05
    Hybrid Cloud Architectures

    Amazon EKS is ideal for developing hybrid cloud setups where some services can reside on-premises while others run in the cloud. Kubernetes’ flexible architecture supports consistent management across different environments, simplifying operations and security compliance.

How Amazon Elastic Kubernetes Service (Amazon EKS) is priced

Amazon Elastic Kubernetes Service (Amazon EKS) pricing is based on the number of EKS clusters used at a fixed rate per hour, along with costs for AWS resources used to run Kubernetes worker nodes.

Cluster Fee

Each EKS cluster is charged $0.10 per hour while its Kubernetes version is in standard support and $0.60 per hour during extended support. Standard support lasts 14 months after the version is released in EKS, followed by 12 months of extended support.

Worker Node Charges

You pay for AWS resources (e.g., EC2 instances or Fargate pods) you create to run your Kubernetes worker nodes. Costs will vary based on the type of instance, the region, and the pricing model (On-Demand, Reserved Instances, etc.) that you choose for your nodes.

Data Transfer Costs

Cross-Availability Zone traffic from worker nodes to the Kubernetes control plane is charged separately.

Other Costs

Possible additional costs might include Elastic Load Balancing, EBS storage attached to EC2 worker nodes, and premium support plans. Charges for these services are billed separately and depend on usage.

EKS Auto Mode

EKS Auto Mode charges depend on the type and running duration of EC2 instances it launches and manages, in addition to EC2 instance charges. Auto Mode charges are billed per second with a one-minute minimum and are independent of the EC2 purchase option.

EKS Provisioned Control Plane

Provisioned Control Plane has an hourly charge for the selected scaling tier, in addition to the cluster fee based on Kubernetes version support, with no upfront fees or long-term commitments.

EKS Capabilities

Each enabled EKS Capability has a base hourly charge plus hourly usage charges for managed resources: Argo CD Applications, ACK resources, or KRO Resource Graph Definition instances. There are no minimum commitments or upfront fees.

EKS Hybrid Nodes

Hybrid Nodes are charged per vCPU per hour based on node resources reported to Kubernetes, from when nodes join the cluster until they are removed. Volume pricing tiers apply to aggregate monthly vCPU-hours within the same Region and account, or across organization accounts using consolidated billing.

Services Amazon Elastic Kubernetes Service (Amazon EKS) works with

Amazon API GatewayAmazon API Gateway

EKS applications can expose private APIs through API Gateway using a VPC link and a load balancer serving Kubernetes workloads. This lets API Gateway provide authorization, throttling, and API management in front of services running in the cluster.

Amazon AthenaAmazon Athena

EKS can run AWS Controllers for Kubernetes (ACK) controllers that manage Athena resources through Kubernetes custom resources. Teams can define Athena workgroups alongside the Kubernetes applications that use them.

Amazon AuroraAmazon Aurora

EKS can use the ACK controller for Amazon RDS to provision and manage Aurora clusters and instances through Kubernetes custom resources. Database infrastructure can then be reconciled alongside application deployments.

Amazon Aurora ServerlessAmazon Aurora Serverless

EKS can manage Aurora Serverless database clusters through the ACK controller for Amazon RDS. Kubernetes resource definitions can include the serverless scaling configuration for databases used by cluster workloads.

Amazon CloudFrontAmazon CloudFront

EKS can run the ACK controller for CloudFront to manage distributions through Kubernetes custom resources. This allows distribution configuration to be reconciled through the same Kubernetes workflows used for application infrastructure.

Amazon CloudWatchAmazon CloudWatch

EKS sends enabled control-plane logs to CloudWatch Logs, including API server, audit, and authenticator logs. CloudWatch Container Insights and the CloudWatch Observability EKS add-on collect cluster, node, and workload telemetry for dashboards and alarms.

Amazon CodeGuruAmazon CodeGuru

Applications running in EKS can use the CodeGuru Profiler agent to send runtime profiles to profiling groups. These profiles help identify expensive code paths and CPU usage problems in supported application runtimes.

Amazon CognitoAmazon Cognito

EKS can run the ACK controller for Cognito user pools to manage resources such as user pools and app clients through Kubernetes custom resources. Authentication infrastructure can be deployed alongside the applications that depend on it.

Amazon Data FirehoseAmazon Data Firehose

EKS logging agents such as AWS for Fluent Bit can send container logs to Data Firehose delivery streams. Firehose then buffers and delivers those logs to configured storage or analytics destinations.

Amazon DetectiveAmazon Detective

Detective analyzes EKS audit activity and relates Kubernetes users, workloads, and API actions to other security events. Investigators can use these relationships to examine suspicious activity involving an EKS cluster.

Alternatives to Amazon Elastic Kubernetes Service (Amazon EKS) in other clouds

Azure

Azure Kubernetes Service (AKS)

Amazon EKS and Azure Kubernetes Service (AKS) both manage the Kubernetes control plane for deploying and scaling containerized applications. EKS charges per cluster-hour based on the Kubernetes version’s support status, while AKS offers Free, Standard, and Premium cluster management tiers.

Compare fact by fact
Amazon Elastic Kubernetes Service (Amazon EKS)Azure Kubernetes Service (AKS)
Cluster management pricingHourly fee based on version supportFree, Standard, or Premium tier
Extended Kubernetes version support12 months at $0.60 per cluster-hourPremium with support configuration
Azure Red Hat OpenShift

Amazon EKS and Azure Red Hat OpenShift both manage Kubernetes for deploying and scaling containerized applications. EKS runs upstream Kubernetes, while Azure Red Hat OpenShift adds OpenShift application tooling and offers a choice of dedicated control plane nodes in the customer’s subscription or a Microsoft-hosted control plane.

Compare fact by fact
Amazon Elastic Kubernetes Service (Amazon EKS)Azure Red Hat OpenShift
Application platformUpstream KubernetesOpenShift on Kubernetes
Service feesHourly cluster fee by version supportOpenShift fees; eligible reservations

What is Amazon Elastic Kubernetes Service (Amazon EKS)

3 min read

Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service provided by Amazon Web Services (AWS) designed to simplify the process of deploying, managing, and scaling containerized applications using Kubernetes on AWS. 

Kubernetes is an open-source system for automating the deployment, scaling, and management of containerized applications. Amazon EKS fully integrates Kubernetes into the AWS ecosystem, allowing users to harness the full potential of AWS services alongside the benefits of Kubernetes. Amazon EKS eliminates the need to install, operate, and maintain your own Kubernetes control plane or nodes. It manages the availability and scalability of the Kubernetes control plane nodes for you, automating tasks such as patching, node provisioning, and updates. This setup not only reduces the maintenance burden on IT teams but ensures reliability, security, and scalability. 

The default EKS quota is 100 clusters per account per Region and is adjustable.

The default quota for managed node groups is 30 per cluster and is adjustable.

The default quota is 450 nodes per managed node group and is adjustable.

Amazon EKS Auto Mode automates cluster infrastructure management, including provisioning, resource scaling, and core add-on management, with integrated compute, networking, load balancing, DNS, block storage, and GPU support.

EKS can also run on AWS Fargate, which provides serverless compute for containers without requiring you to provision or manage servers.

EKS Provisioned Control Plane lets you select control plane capacity from predefined scaling tiers so that capacity is ready before demand surges.

EKS Capabilities provides fully managed Kubernetes-native capabilities: Argo CD for GitOps application deployment with drift detection and automatic reconciliation, AWS Controllers for Kubernetes (ACK) for managing AWS infrastructure through Kubernetes, and Kubernetes Resource Orchestrator (KRO) for reusable custom APIs that simplify multi-resource configurations.

By leveraging Amazon EKS, developers can focus more on their core product instead of worrying about the operational aspects of their infrastructure. Despite being a managed service, Amazon EKS is designed to provide flexibility and allows users to connect to other AWS services seamlessly. For instance, EKS integrates with AWS Identity and Access Management (IAM), providing granular security control by leveraging existing AWS security tools and features such as encryption with AWS Key Management Service (KMS) and detailed access control policies. Furthermore, integrations with Elastic Load Balancing, Amazon CloudWatch, and AWS CloudTrail provide robust monitoring, logging, and load balancing features to help maintain operational efficiency. 

One advantage of Amazon EKS is its commitment to Kubernetes community-driven open-source development. Amazon EKS runs the standard upstream Kubernetes, ensuring that applications running on Amazon EKS are fully compatible with applications running on any standard Kubernetes environment. This is critical for businesses aiming to avoid vendor lock-in and those who use hybrid or multi-cloud architectures. 

Deploying applications in EKS can significantly lower the learning curve for teams new to Kubernetes, as it abstracts much of the complexity involved in setting up a Kubernetes cluster. For advanced users, it retains the ability to customize various components according to specific needs. With features such as Amazon EKS Distro, the same Kubernetes distribution deployed by EKS is available for use on-premises, creating a consistent environment across on-premises and cloud which further simplifies migration and hybrid deployment strategies. 

With EKS Hybrid Nodes, on-premises or edge infrastructure serves as worker nodes while AWS manages the Kubernetes control plane hosted in AWS.

EKS on AWS Outposts can run self-managed nodes connected to the same clusters used for cloud workloads, or run the entire Kubernetes cluster on Outposts using EKS local clusters.

Amazon EKS Anywhere is customer-managed, AWS-supported Kubernetes management software for customer-managed infrastructure, including isolated or air-gapped environments.

In conclusion, Amazon EKS provides a robust, scalable, and easy-to-use Kubernetes service that enhances the ease of deploying, managing, and operating Kubernetes applications in the cloud, leveraging the breadth of AWS's infrastructure and services to offer a powerful tool for modern application deployment and management.

Amazon Elastic Kubernetes Service (Amazon EKS) exam questions

Real practice exam questions on Amazon Elastic Kubernetes Service (Amazon EKS), with the correct answer and its explanation. Answer them with every option in the exam simulator.

CLF-C02

A company runs containerized applications in an on-premises Kubernetes cluster. The company wants to move the applications to AWS while continuing to use its Kubernetes deployment manifests and management tools. It also requires AWS to operate and maintain the Kubernetes control plane. Which solution best meets these requirements?

Show answerCORRECT ANSWER

Deploy the applications to Amazon EKS.

Amazon EKS provides managed Kubernetes on AWS. It supports Kubernetes deployment manifests and tools while AWS operates and maintains the Kubernetes control plane.

MLA-C02

A company runs containerized inference models on an AWS-managed Kubernetes cluster with EC2 worker nodes. Nodes approved for inference have the label workload=inference. Each model must have an independently configurable replica count.

A continuously running cache container downloads approved model artifacts into a node-local directory that inference containers mount read-only. To avoid duplicate downloads, exactly one cache container must run on every approved node, including nodes that do not currently host an inference replica. Cache containers must automatically be added or removed as approved nodes join or leave the cluster, without custom reconciliation code.

Which deployment configuration meets these requirements?

Show answerCORRECT ANSWER

Use Amazon EKS with a DaemonSet for the cache container that selects nodes labeled workload=inference. Use a separate Deployment for each model with the same node selector, and mount the shared node-local directory into the containers.

A DaemonSet maintains one cache Pod on each eligible node and adjusts automatically when nodes join or leave. Separate model Deployments provide independently configurable replica counts. A node-local volume, such as a hostPath volume, lets the cache write artifacts that inference containers on that node mount read-only.

SAP-C03

A company runs microservices on three Amazon EKS clusters in one AWS Region. Each cluster has two self-managed Prometheus collectors for high availability. Both collectors independently discover and scrape every application metrics endpoint in their cluster at the same interval. The collectors must remain redundant; dividing scrape targets between them is not permitted.

The company wants to replace its self-managed metrics storage with a managed, Prometheus-compatible backend. Existing PromQL dashboards must query metrics from all three clusters through one endpoint. Redundant collection must not double-count application metrics, and ingestion must support failover when a collector becomes unavailable. Metrics from different EKS clusters must remain distinguishable. The company does not want to operate an intermediary deduplication service.

Which solution meets these requirements?

Show answerCORRECT ANSWER

Create one Amazon Managed Service for Prometheus workspace. Configure both collectors in each EKS cluster to remote-write to the workspace with SigV4 authentication. Set the external label cluster to a value unique to each EKS cluster and shared by its collector pair. Set __replica__ to a distinct value for each collector in the pair.

Amazon Managed Service for Prometheus supports high-availability deduplication using the cluster and __replica__ labels. The shared cluster value identifies an HA group, and __replica__ distinguishes its redundant collectors. A different cluster value for each EKS cluster prevents unrelated sources from being grouped together. The service ingests data from the elected replica and supports failover, while one workspace provides a common PromQL query endpoint.

Practice Amazon Elastic Kubernetes Service (Amazon EKS) in a full exam

Questions on Amazon Elastic Kubernetes Service (Amazon EKS) in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

Learn Amazon Elastic Kubernetes Service (Amazon EKS) in lessons

21 short lessons on Amazon Elastic Kubernetes Service (Amazon EKS) in 9 certification courses.

and 15 more lessons

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.