# Aws Eks

# What is AWS EKS?

Building, protecting, running, and managing Kubernetes clusters on AWS is made simpler by the fully-managed, certified Kubernetes conformant solution known as Amazon Elastic Kubernetes solution (Amazon EKS). For monitoring, scaling, and load balancing your containerized applications, Amazon EKS interfaces with fundamental AWS services like CloudWatch, Auto Scaling Groups, and IAM.

Additionally integrated with AWS App Mesh, Amazon EKS offers a Kubernetes-native experience for service mesh consumption and gives applications strong observability, traffic management, and security capabilities. For Kubernetes workloads, Amazon EKS offers a scalable, highly available control plane. As with Amazon ECS, you have the option to use EC2 instances or AWS Fargate to power your containers while executing apps on Amazon EKS.

# AWS EKS Use Case

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688737464407/fb1cdb41-abad-400f-892c-80c675b03bc4.png align="center")

# How does it work?

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688740722852/37a0aac6-3d74-4e41-bc86-b534af6639cc.png align="center")

# Features of AWS EKS

* **Managed Kubernetes Clusters**
    
* **Hybrid Deployments**
    
* **Use eksctl for launching nodes and single-line management**
    
* **Networking and Security**
    
* **Load balancing**
    
* **Serverless Compute**
    
* **Logging**
    
* **Open-Source Compatibility**
    

# Creating Cluster

* Create a cluster.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688741012756/4f901d01-345a-4068-baf6-62b21a8df45e.png align="center")
    
* Give a suitable name.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688741330098/2426974f-ba60-4292-8532-f035f7d82734.png align="center")
    
* Create an IAM role for your cluster.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688741352438/0eed59c9-fa92-44ec-a76b-63ae2d83c9b5.png align="center")
    
* Press next .... let the settings be the default.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688741438521/d28a1c88-b867-4e92-b5a8-30eb04806486.png align="center")
    
* Your cluster will be created (it will take some time).
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688742588778/1b166061-2022-45b3-a89a-23364d5c1a88.png align="center")
    
* Do the aws configure and run this command with your details.
    
* aws eks update-kubeconfig --region region-code --name my-cluster.
    

Install kubectl if your machine does not have it.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688742733298/93be8e25-eb28-44ce-85fd-2fc8420ef9b3.png align="center")

# Adding nodes

* Go into your eks cluster -&gt; compute -&gt; add node group.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688742838914/c6120345-1f21-4915-8a3a-ea908879ea84.png align="center")
    
* Fill in the details.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688743415537/b8d9d3f0-d510-4759-ad24-4014b957345f.png align="center")
    
* Create a new IAM role.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688743428193/4b835a05-ebac-40ed-9e7e-188ad95abad5.png align="center")
    
* Fill in the Details.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688743494466/66804305-41b9-4a68-84c6-1a5044f9856a.png align="center")
    
* Your node will create in a few minutes.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688743620927/f6ee96a6-0c8e-468a-9a2f-aba2f32e3735.png align="center")
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688743827919/da3e5b0a-eee9-44ad-b3cb-fd183342766c.png align="center")
    

# RABC

[https://docs.aws.amazon.com/eks/latest/userguide/add-user-role.html](https://docs.aws.amazon.com/eks/latest/userguide/add-user-role.html)

Follow the link for detail.
