Thursday, 4 February 2021

Elastic Kubernetes Service(EKS) in AWS

 To provision EKS cluster , we need the below prerequisites 

1. IAM user : where the user will have the permission to create and manage the EKS cluster.

Create role--> select EKS -->


Select EKS as below



Click on "Next permissions" --> select policy (EKS Service policy) -->Click Tags -->Review


Select "Create Role".

Now create cloud formation stack which will provision the below
1. VPC
2.Security groups
3.Subnets

For this , search for Services --> cloud formation-->create stack

In Amazon S3 URL , select URL which is already existed in the below link.

https://docs.aws.amazon.com/eks/latest/userguide/getting-started-console.html#eks-create-cluster

Since we are using here ap-south-1 region, you can replace whatever region you would like to.






Click Next , accept all the default settings and click on Next -->create stack.

Here we can see all the resources are provisioned by using this stack as below


Now lets create EKS cluster, search the same in AWS services.



Accept all default net working settings as below.



Accept all the default setting and review the cluster values then click on "Create".