DEV Community

iamvenkat1488
iamvenkat1488

Posted on

How to build an EKS cluster with Managed Nodes in step-by-step from AWS Console

Amazon Elastic Kubernetes Service (EKS) ⚑

πŸ€·β€β™‚οΈ How-to setup EKS cluster and managed nodes.

πŸ‘‰ Pre-requisites -
βœ… AWSCLI - Which helps to connect with AWS from Linux/Windows/MAC Command Lines.
βœ… kubectl - To connect to Kubernetes cluster and run the workloads.
First and foremost, Create a defined VPC networking.

πŸ”· Create your own VPC networking🌐

πŸ”· Create Cluster Role to connect to EKS Cluster and attach Role policy to it πŸ”

πŸ”· Create the EKS cluster and attach the VPC network and Role which you created before βš™

Image description

Image description

πŸ”· EKS Cluster will take up several minutes to come up healthy. ⏱

πŸ”· Once it came up healthy, connect from your base machine to access the EKS Cluster by changing the Kubernetes configuration file πŸ™‹β€β™‚οΈ

πŸ”· To make your cluster completely manageable, need to attach a couple of nodes based upon your requirements ☒

Image description

Image description

πŸ”· Before adding nodes, need to create a role for EKS Nodes and attach this role to three required and mandate policies, which will help Cluster to communicate node without any issues πŸ”

πŸ”· Create a node group under EKS Cluster and provide the workers node required for an Auto-scaling group to take care of downtimes and bring back to the desired posture πŸ”

πŸ”· After several minutes, the Status in the Node Group configuration section will change from creating... to Active... Don't continue to the next step until the status is Active. πŸ‘‘

Hope this post helps. Please do a Repost, it really helps β™»

kubernetes #aws #eks

Top comments (1)

Collapse
 
realsteveig profile image
STEVE

Insightful!