Manage compute resources by using nodes - Amazon EKS

Help improve this page

Want to contribute to this user guide? Scroll to the bottom of this page and select Edit this page on GitHub. Your contributions will help make our user guide better for everyone.

Manage compute resources by using nodes

A Kubernetes node is a machine that runs containerized applications. Each node has the following components:

  • Container runtime – Software that’s responsible for running the containers.

  • kubelet – Makes sure that containers are healthy and running within their associated Pod.

  • kube-proxy – Maintains network rules that allow communication to your Pods.

For more information, see Nodes in the Kubernetes documentation.

Your Amazon EKS cluster can schedule Pods on any combination of EKS Auto Mode managed nodes, self-managed nodes, Amazon EKS managed node groups, AWS Fargate, and Amazon EKS Hybrid Nodes. To learn more about nodes deployed in your cluster, see View Kubernetes resources in the AWS Management Console.

Important

AWS Fargate with Amazon EKS isn’t available in AWS GovCloud (US-East) and AWS GovCloud (US-West). Amazon EKS Hybrid Nodes isn’t available in AWS GovCloud Regions and China Regions.

Note

Excluding hybrid nodes, nodes must be in the same VPC as the subnets you selected when you created the cluster. However, the nodes don’t have to be in the same subnets.

Compare compute options

The following table provides several criteria to evaluate when deciding which options best meet your requirements.

Note

Bottlerocket has some specific differences from the general information in this table. For more information, see the Bottlerocket documentation on GitHub.

Criteria EKS managed node groups EKS Auto Mode Amazon EKS Hybrid Nodes

Can be deployed to AWS Outposts

No

No

No

Can be deployed to an AWS Local Zone

Yes

No

No

Can run containers that require Windows

Yes

No

No

Can run containers that require Linux

Yes

Yes

Yes

Can run workloads that require the Inferentia chip

Yes – Amazon Linux nodes only

Yes

No

Can run workloads that require a GPU

Yes – Amazon Linux nodes only

Yes

Yes

Can run workloads that require Arm processors

Yes

Yes

Yes

Can run AWS Bottlerocket

Yes

Yes

No

Pods share CPU, memory, storage, and network resources with other Pods.

Yes

Yes

Yes

Must deploy and manage Amazon EC2 instances

Yes

No - Learn about EC2 managed instances

Yes – the on-premises physical or virtual machines are managed by you with your choice of tooling.

Must secure, maintain, and patch the operating system of Amazon EC2 instances

Yes

No

Yes – the operating system running on your physical or virtual machines are managed by you with your choice of tooling.

Can provide bootstrap arguments at deployment of a node, such as extra kubelet arguments.

Yes – Using eksctl or a launch template with a custom AMI.

No - Use a NodeClass to configure nodes

Yes - you can customize bootstrap arguments with nodeadm. See Hybrid nodes nodeadm reference.

Can assign IP addresses to Pods from a different CIDR block than the IP address assigned to the node.

Yes – Using a launch template with a custom AMI. For more information, see Customize managed nodes with launch templates.

No

Yes - see Configure a CNI for hybrid nodes.

Can SSH into node

Yes

No - Learn how to troubleshoot nodes

Yes

Can deploy your own custom AMI to nodes

Yes – Using a launch template

No

Yes

Can deploy your own custom CNI to nodes

Yes – Using a launch template with a custom AMI

No

Yes

Must update node AMI on your own

Yes – If you deployed an Amazon EKS optimized AMI, you’re notified in the Amazon EKS console when updates are available. You can perform the update with one-click in the console. If you deployed a custom AMI, you’re not notified in the Amazon EKS console when updates are available. You must perform the update on your own.

No

Yes - the operating system running on your physical or virtual machines is managed by you with your choice of tooling. See Prepare operating system for hybrid nodes.

Must update node Kubernetes version on your own

Yes – If you deployed an Amazon EKS optimized AMI, you’re notified in the Amazon EKS console when updates are available. You can perform the update with one-click in the console. If you deployed a custom AMI, you’re not notified in the Amazon EKS console when updates are available. You must perform the update on your own.

No

Yes - you manage hybrid nodes upgrades with your own choice of tooling or with nodeadm. See Upgrade hybrid nodes for your cluster.

Can use Amazon EBS storage with Pods

Yes

Yes, as an integrated capability. Learn how to create a storage class.

No

Can use Amazon EFS storage with Pods

Yes

Yes

No

Can use Amazon FSx for Lustre storage with Pods

Yes

Yes

No

Can use Network Load Balancer for services

Yes

Yes

Yes - must use target type ip.

Pods can run in a public subnet

Yes

Yes

No - pods run in on-premises environment.

Can assign different VPC security groups to individual Pods

Yes – Linux nodes only

No

No

Can run Kubernetes DaemonSets

Yes

Yes

Yes

Support HostPort and HostNetwork in the Pod manifest

Yes

Yes

Yes

AWS Region availability

All Amazon EKS supported regions

All Amazon EKS supported regions

All Amazon EKS supported regions except the AWS GovCloud (US) Regions and the China Regions.

Can run containers on Amazon EC2 dedicated hosts

Yes

No

No

Pricing

Cost of Amazon EC2 instance that runs multiple Pods. For more information, see Amazon EC2 pricing.

When EKS Auto Mode is enabled in your cluster, you pay a separate fee, in addition to the standard EC2 instance charges, for the instances launched using Auto Mode’s compute capability. The amount varies with the instance type launched and the AWS region where your cluster is located. For more information, see Amazon EKS pricing.

Cost of hybrid nodes vCPU per hour. For more information, see Amazon EKS pricing.

📝 Edit this page on GitHub