DEV Community

Balamanikandan S
Balamanikandan S

Posted on

🌐 EKS - Amazon Elastic Kubernetes Service

EKS is a managed Kubernetes service in AWS.

πŸ‘‰ Kubernetes = Tool for managing containers like Docker.

EKS = AWS takes care of the Kubernetes setup and management for you.

🧠 Simple Explanation:
Imagine you have many containers (like mini-apps) β€” example:

Login service

Product service

Cart service

Instead of managing all manually, Kubernetes helps you:

Scale

Restart if crash

Load balance

But setting up Kubernetes is complex...

So AWS says:

β€œDei, nee worry pannatha. Naan Kubernetes setup panren. Nee just your container-ku YAML file kudutha pothum.”

That’s called EKS! πŸ™Œ

πŸ”§ What EKS Does for You:
Feature Explanation
βœ… Managed Control Plane AWS handles master nodes of Kubernetes.
βœ… Automatic Scaling You can scale pods up/down based on traffic.
βœ… IAM Integration Connect with AWS IAM roles for security.
βœ… VPC Networking Pods will run in private/public subnet.
βœ… Fargate Integration Run pods without managing EC2 instances (serverless).

πŸ—οΈ EKS Architecture:
plaintext
Copy
Edit
+-------------------------------+
| AWS EKS Cluster |
| +---------------------------+ |
| | Kubernetes Control | | ← AWS manages this
| +---------------------------+ |
| +---------------------------+ |
| | Worker Nodes (EC2/Fargate) | ← You manage containers here
| +---------------------------+ |
+-------------------------------+
πŸ§ͺ Use Case Example:
Imagine you build a React front-end + Node.js backend:

Create Docker images for both

Push to ECR (Elastic Container Registry)

Use EKS to deploy & manage scaling for both containers

πŸ’Έ EKS Pricing (Basic Idea):
Control Plane: β‚Ή7.5/hr (~$0.10/hr)

Worker Nodes: EC2 or Fargate cost separately

Free tier not available (but you can try with free EC2 credits)

πŸš€ Deployment Steps (Summary):
Create EKS Cluster (via Console or CLI or eksctl)

Add Worker Nodes (EC2 or Fargate)

Setup kubectl to interact

Deploy your app using YAML files

πŸ”— Bonus Tools:
Tool Use
eksctl CLI tool to create/manage EKS clusters easily
kubectl CLI to talk to Kubernetes
Helm Package manager for Kubernetes apps

❓When to Use EKS?
βœ… You want to run large-scale containerized applications
βœ… You need high availability, auto-scaling, and secure container management
βœ… You don't want to manage Kubernetes setup manually

Top comments (2)

Collapse
 
devops_fundamental profile image
DevOps Fundamental

Such a valuable readβ€”keep them coming!

Collapse
 
aws_1_27d6cbc9e944aa228ef profile image
Balamanikandan S

thank u sir