AWS EKS - Create Kubernetes cluster on Amazon EKS | the easy way

Published: 11 September 2020
on channel: TechWorld with Nana
550,643
8k

How to setup a Kubernetes cluster on AWS EKS using eksctl | Amazon EKS explained
Step by Step Application Deployment on LKE using Helm ►    • Step by Step Application Deployment o...  

In this video I cover Elastic Kubernetes Service or AWS EKS in short. You will learn how to setup your Kubernetes cluster on AWS EKS using eksctl.

► Thanks Nirmata for sponsoring this video!
► First 30 sign-ups get 3 months free! Sign up and use the in-product chat to say “Nana sent me!” (Offer good till Sep 30th) 🚀

To try Nirmata EKS Manager for free visit the AWS Marketplace (https://amzn.to/3bGixvD). Or, find out more at nirmata.com (https://nirmata.com/).

#awseks #amazoneks #kubernetes #techworldwithnana

------- What is EKS? -------
AWS EKS is a Managed Kubernetes Service from Amazon, which means AWS manages the Master Nodes for you. All the necessary applications/services are already pre-installed like the container runtime or master processes and in addition it also takes care of scaling and backups. 👍
You only create the Worker Nodes.

Learn about Master and Worker Nodes here: ►    • Kubernetes Architecture explained | K...  

------- How to use EKS? -------
To create a K8s cluster in EKS you need to do following steps:
1) Setup or preparation steps
create AWS account
create a VPC - virtual private space
create an IAM role with Security Group (or in other words: create AWS user with list of permissions)
2) Create Cluster Control Plane - Master Nodes
choose basic information like cluster name and k8s version
choose region and VPC for your cluster
set security
3) Create Worker Nodes and connect to cluster
The Worker Nodes are some EC2 instances with CPU and storage resources.
Create as a Node Group
Choose cluster it will attach to
Define Security Group, select instance type etc.

With NodeGroup you have autoscaling, which means based on your needs depending on how much load the cluster has new Worker Nodes will automatically added or removed in the cluster.

For that you need to define max and minimum number of Nodes.

------- Complex, but powerful and popular -------
You're right, that's a lot of effort for just creating a simple Kubernetes cluster. Compared to other managed Kubernetes services, like DigitalOcean or Linode it's more complex.

So, how to do it, when you just want to create a cluster and start deploying your containers inside as fast as possible.

Instead of doing all those steps manually, there is a faster and more efficient way.

------- eksctl to the rescue -------
eksctl is a simple CLI tool for creating clusters on EKS. With just one command you create a cluster in minutes.
I'm a huge fan of understanding the concepts of how a technology works, but if there are tools that make working with this technology much easier then I like to use them. Usually those tools are built by community, which specialized in this technology. So it makes sense to use this knowledge.

So in the demo we will create the Kubernetes cluster using eksctl.

▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
0:00 - Intro
0:36 - What is EKS?
1:20 - How to use EKS? 3 steps
4:46 - eksctl
7:22 - Demo: Create K8s cluster on AWS EKS using eksctl
15:04 - Demo: Delete K8s cluster and all its resources
16:02 - Recap


▬▬▬▬▬▬ Want to learn more? 🚀 ▬▬▬▬▬▬
Full Kubernetes and Docker tutorial ► https://bit.ly/2YGeRp9
DevOps Tools, like Terraform, Prometheus ► https://bit.ly/2W9UEq6
Jenkins Pipeline Tutorials ► https://bit.ly/2Wunx08

▬▬▬▬▬▬ Useful Links 🔗 ▬▬▬▬▬▬
Configure AWS credentials:
► https://docs.aws.amazon.com/cli/lates...
eksctl Repository:
► https://github.com/weaveworks/eksctl
EKS guide documentation:
► https://docs.aws.amazon.com/eks/lates...
► https://docs.aws.amazon.com/eks/lates...


▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
Join private Facebook group ► https://bit.ly/32UVSZP
Don't forget to subscribe ► https://bit.ly/3mO4jxT
DEV ► https://bit.ly/3h2fqiO
INSTAGRAM ► https://bit.ly/2F3LXYJ
TWITTER ► https://bit.ly/3i54PUB
LINKEDIN ► https://bit.ly/3hWOLVT


▬▬▬▬▬▬ Courses & Bootcamp & Ebooks 🚀 ▬▬▬▬▬▬
► Become a DevOps Engineer - full educational program 👉🏼 https://bit.ly/45mXaer
► High-Quality and Hands-On Courses 👉🏼 https://bit.ly/3BNS8Kv
► Kubernetes 101 - compact and easy-to-read ebook bundle 👉🏼 https://bit.ly/3Ozl28x