Amazon EKS — Managed Kubernetes Service from AWS
Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy for you to run Kubernetes on AWS without needing to stand up or maintain your own Kubernetes control plane. Kubernetes is an open-source system for automating the deployment, scaling, and management of containerized applications.
Amazon EKS runs Kubernetes control plane instances across multiple Availability Zones to ensure high availability. Amazon EKS automatically detects and replaces unhealthy control plane instances, and it provides automated version upgrades and patching for them.
Amazon EKS is also integrated with many AWS services to provide scalability and security for your applications, including the following:
- Amazon ECR for container images
- Elastic Load Balancing for load distribution
- IAM for authentication
- Amazon VPC for isolation
How it works?
EKS Architecture for Control Plane & Worker node:
EKS Benefits:
- High Availability
- Serverless option (AWS Fargate)
- Secure
- Built with the Community
Let’s create our first EKS cluster:
- Select AWS EKS Service
2. Create cluster and enter General configuration.
3. Select VPC and Security details
4. Confirm and create cluster. It may take up to 5mins. Coffee Break ☕️
5. Our cluster is ready for usage.
EKS Pricing:
You pay $0.10 per hour for each Amazon EKS cluster that you create. You can use a single Amazon EKS cluster to run multiple applications by taking advantage of Kubernetes namespaces and IAM security policies. You can run EKS on AWS using either EC2 or AWS Fargate, and on premises using AWS Outposts.
Accessing api-server using kubectl:
Unauthorized Server Error — Solution:
Clean Up: Don’t forget to delete cluster.
Thank you for reading. 😄
Create local Kubernetes cluster and deploy “Hello World” app,