What is the Amazon EKS

How do I use Kubernetes in Amazon Web Services(AWS)?

Blog By May 14, 2022 No Comments

How do I use Kubernetes in Amazon Web Services(AWS)?

It uses Amazon’s Elastic Kubernetes Service (Amazon EKS), which allows you to run Kubernetes on Amazon Web Services (AWS) without installing, administering, and maintaining your Kubernetes control plane or nodes. Amazon EKS is available as a subscription service. It is an open-source system for automating containerised applications’ deployment, scaling, and management. It is developed by Google and distributed worldwide. Amazon EKS (Electronic Keyboard System):

  • High availability is achieved by running and scaling the Kubernetes control plane across different AWS Availability Zones.
  • This feature automatically scales control plane instances in response to load, detects and replaces unhealthy control plane instances, and provides automated version upgrades and patching for these instances.
  • Amazon ECR for container images is a service provided by Amazon.
  • Elastic Load Balancing is used to distribute the load.
  • Authentication is handled through IAM.
  • Amazon Virtual Private Cloud (VPC) for isolation

• Because it runs the most recent versions of the open-source Kubernetes software, you can take advantage of all of the plugins and tooling available from the Kubernetes community. Applications that run on Amazon EKS are entirely interoperable with applications that run on any standard Kubernetes environment, whether hosted on-premises or in public cloud infrastructure. You may, therefore, quickly convert any conventional Kubernetes application to Amazon EKS without having to make any modifications to the codebase.

The architecture of the Amazon EKS control plane

Amazon EKS operates a single-tenant Kubernetes control plane for each cluster, which Amazon EKS manages. Neither the control plane architecture nor the AWS account infrastructure is shared across collections or AWS accounts. Ideally, there should be two API server instances and three etc. instances running across three Availability Zones inside an AWS Region for the control plane to function correctly.

EKS: Amazon Web Services:

• Actively monitors the load on the control plane instances and scales them to maintain high-performance levels.

• Discovers unhealthy control plane instances and replaces them, restarting them as necessary throughout the Availability Zones within the AWS Region.

• Makes use of the design of Amazon Web Services Regions to maintain high availability of services. As a result, Amazon EKS can provide a service level agreement (SLA) for API server endpoint availability.

Amazon EKS uses Amazon VPC network policies to limit traffic between control plane components to that contained within a particular cluster. Kubernetes control plane components for a group cannot see or receive communication from other collections or AWS accounts unless the cluster’s RBAC policies have permitted them. As a result of this secure and highly available design, Amazon EKS is dependable and recommended for use in production environments.

What is the Amazon EKS process?

ppBjUt kEw83bHgcY2xetay6TKRR6GCRI9Hp1hGpQXbxO vfrnSHeeQASl8kr38hF3VKU0yhlUS

It is easy to get started with Amazon EKS:

1. Create an Amazon EKS cluster using the AWS Management Console, the AWS CLI, or one of the AWS SDKs. Alternatively, the AWS CLI can also be used to manage your cluster.

2. Deploy your workloads to AWS Fargate or launch managed or self-managed Amazon EC2 nodes.

3. The next step is to set up your favourite Kubernetes tools, such as kubectl, to communicate with your cluster once successfully installed and configured.

4. Deploy and manage workloads on your Amazon EKS cluster the same way you would with any other Kubernetes environment, and you’re done. The AWS Management Console can also view information about your workloads and their statuses.

Amazon Elastic Compute Cloud (AWS) clusters

Two key components make up an Amazon EKS cluster: a server and a database.

  • The Amazon EKS control aircraft is a type of flight controller.
  • Nodes of the Amazon EKS service registered with the control plane are called.
  •  

It comprises control plane nodes that run the Kubernetes software, such as etcd and the Kubernetes API server, on Amazon EKS clusters. The control plane is hosted in an AWS account, and the Kubernetes API is accessible through the Amazon EKS endpoint linked with your cluster. A single Amazon EKS cluster control plane runs on a single set of Amazon EC2 instances, and each control plane is unique to that cluster.

Everything saved on the etc. nodes and associated Amazon EBS volumes is secured using the AWS Key Management Service (AWS KMS). It is possible to deploy the cluster control plane across several Availability Zones, fronted by an Elastic Load Balancing Network (ELBN) Load Balancer. As part of the Amazon EKS service, Amazon EKS creates elastic network interfaces in your VPC subnets to enable connectivity between the control plane instances and the nodes (for example, to support kubectl exec, logs, and proxy data flows).

Important

According to upstream recommendations, the storage capacity of etc. in the Amazon EKS environment is limited to 8GB. You can keep track of the current database size by looking at the etcd db total size in bytes statistic.

Amazon EKS nodes are hosted in your AWS account. They communicate with your cluster's control plane using an API server endpoint and a certificate file that has been prepared specifically for your collection.

Author

I'm Abhay Singh, an Architect with 9 Years of It experience. AWS Certified Solutions Architect.

No Comments

Leave a comment

Your email address will not be published. Required fields are marked *