How does Amazon EKS work

0 votes

Hi Guys,

I am new to Kubernetes. I have knowledge of AWS. So I want to use the EKS service to know more about Kubernetes. Can anyone tell me how the EKS service works in AWS?

Jul 5, 2020 in AWS by akhtar
• 38,170 points
173 views

2 answers to this question.

0 votes

Hi@akhtar,

Amazon EKS works by provisioning and managing the Kubernetes control plane and worker nodes for you. At a high level, Kubernetes consists of two major components - a cluster of 'worker nodes' that run your containers and the control plane that manages when and where containers are started on your cluster and monitors their status.

Without Amazon EKS, you have to run both the Kubernetes control plane and the cluster of worker nodes yourself. With Amazon EKS, you provision your worker nodes using a single command in the EKS console, CLI, or API, and AWS handles provisioning, scaling, and managing the Kubernetes control plane in a highly available and secure configuration. This removes a significant operational burden for running Kubernetes and allows you to focus on building applications instead of managing AWS infrastructure.

answered Jul 5, 2020 by MD
• 95,060 points
0 votes

Amazon Elastic Kubernetes Service (Amazon EKS) is AWS’s service to manage and deploy containers via Kubernetes container orchestration service. Pricing is $0.10 per hour for each EKS cluster you create – you can use a single cluster to run multiple applications using Kubernetes namespaces and IAM security policies. You can run EKS on AWS using EC2 or Fargate. You can also run on-prem with AWS Outposts. 

If you use EC2, you would pay for the resources you created to run your Kubernetes worker nodes. This is on demand: you only pay for what you use, as you use it. You pay per cluster and underlying resource. If you choose to run your EKS clusters on Fargate, it will remove the need to provision and manage servers.  With Fargate you can specify and pay for resources per application – pricing is based on the vCPU and memory resources used from the time you start to download your container image until the Amazon EKS pod terminates (minimum 1-minute charge).

EKS worker nodes are standard Amazon EC2 instances – you are billed for them based on normal EC2 prices.

With the $0.10 price per hour, you’d be spending $72 per month for a cluster running the full month. It’s important to note that this price is the necessary cost to operate a cluster note – you still have to pay for the computation costs on top of this (e.g. EC2 instance hours or Fargate compute resources). 

The main selling point of Amazon EKS is that the Kubernetes control plane is managed for you by AWS, so you don’t have to set up and run your own. When you set up a new cluster in EKS, you can specify if it’s going to be just available to the current VPC, or if it will be accessible to outside IP addresses. This flexibility highlights the two main deployment options for EKS:

  1. Fully within an AWS VPC, with complete integration to other AWS services you run in your account while being completely isolated from the outside world.

  2. Open and accessible, which enables hybrid-cloud, multi-cloud, or multi-account Kubernetes deployments.

Both options allow you the flexibility to use your own Kubernetes management tools, like Dashboard and kubectl, as EKS gives you the API Server Endpoint once you provision the cluster. This control plane utilizes multiple availability zones within the region you choose for redundancy.

answered Aug 12, 2020 by nbavis
• 380 points

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

How does Amazon Redshift keep data secure?

Amazon Redshift encrypts and keeps your data ...READ MORE

answered Nov 6, 2018 in AWS by Archana
• 5,640 points
119 views
0 votes
1 answer
0 votes
1 answer

How does Route 53 work?

Amazon Route 53 is a highly available and scalable ...READ MORE

answered Dec 5, 2018 in AWS by Rachit
159 views
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,100 points
1,038 views
+1 vote
1 answer
+1 vote
2 answers

How to read a csv file stored in Amazon S3 using csv.DictReader

The code would be something like this: import ...READ MORE

answered Oct 25, 2018 in AWS by Archana
• 5,640 points
34,575 views
0 votes
1 answer

How to setup EKS Cluster in AWS using eksctl command?

Hi@akhtar, Before creating the cluster, you need to ...READ MORE

answered Jul 5, 2020 in AWS by MD
• 95,060 points
244 views