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

31 Comments



How to setup a Kubernetes cluster on AWS EKS using eksctl | Amazon EKS explained
Step by Step Application Deployment on LKE using Helm ► https://youtu.be/JGtJj_nAA2s

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: ► https://youtu.be/umXEmn3cMWY

——– 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/latest/userguide/cli-configure-files.html
eksctl Repository:
► https://github.com/weaveworks/eksctl
EKS guide documentation:
► https://docs.aws.amazon.com/eks/latest/userguide/create-cluster.html
► https://docs.aws.amazon.com/eks/latest/userguide/getting-started-eksctl.html

▬▬▬▬▬▬ 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

▬▬▬▬▬▬ Maybe interesting for you 😎 ▬▬▬▬▬▬
Kubernetes 101 – compact and easy-to-read ebook bundle ► https://bit.ly/3mPIaiU

source

31 Comments
    • blank
      TechWorld with Nana
      May 04, 2022 01:27 am Reply

      Step by Step Application Deployment on LKE using Helm ► https://youtu.be/JGtJj_nAA2s

      ▬▬▬▬▬▬ 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

    • blank
      Zongzai Li
      May 04, 2022 01:27 am Reply

      nicely

    • blank
      Josue Maz
      May 04, 2022 01:27 am Reply

      thanksyou nana

    • blank
      akin aregbesola
      May 04, 2022 01:27 am Reply

      Wow!!
      No ambiguities; very clear and straight to the point.
      Awesome job Nana.

    • blank
      Khalid Nazmus Sakib
      May 04, 2022 01:27 am Reply

      it is multiple steps and complicated in stupid AWS not in GCP.

    • blank
      chitanya chitturi
      May 04, 2022 01:27 am Reply

      CAN you create a video how to connect eksctl to aws account

    • blank
      Sushant Chandra Kalia
      May 04, 2022 01:27 am Reply

      Thank you madam for this informative video on EKS…

    • blank
      franchyze923
      May 04, 2022 01:27 am Reply

      great demo thank you!

    • blank
      Eduardo Vilas
      May 04, 2022 01:27 am Reply

      you rock Nana!

    • blank
      Sudeep M
      May 04, 2022 01:27 am Reply

      awesome explanation, very helpful.

    • blank
      Mir Waseem Nazir
      May 04, 2022 01:27 am Reply

      Does eks create cloud formation template as well which we can access

    • blank
      Alok Saraswat
      May 04, 2022 01:27 am Reply

      Hi Nana,……..With EKS, I understand that managed nodes use AWS managed AMI for spinning up the nodes……..I have a custom AMI (Amazon linux + CIS benchmark) from marketplace…….when I try to create node group using custom AMI it fails……it says "Instances failed to join the kubernetes cluster"…what can be the issue?
      Also, Is there any way to not use the auto scaling feature with EKS. I want to use it only for 50 hours a week so schedulat wont work if auto scaling is in effect. pls suggest

    • blank
      Prashant Choudhary
      May 04, 2022 01:27 am Reply

      commenting for better reach.

    • blank
      Saikat Dey
      May 04, 2022 01:27 am Reply

      Nice Tutorial. Very well explained.

    • blank
      douglas soares mantovani Mantovani
      May 04, 2022 01:27 am Reply

      You are the best Devops I have ever seen

    • blank
      Daryan Ghandehari
      May 04, 2022 01:27 am Reply

      Good stuff. Very clear and well done!!!

    • blank
      George Leonard
      May 04, 2022 01:27 am Reply

      … any chance you can provide a example where the nodes are pushed into specified vpc and defined 2 az's into pre created subnets.

    • blank
      Siddharth Agrawal
      May 04, 2022 01:27 am Reply

      Great Work!! It has been super helpful!!
      Just a query, which tool should I use to manage an eks cluster to enable developers in my team to connect and deploy their applications with lowest overhead possible?? Would eks/nirmata be appropriate in this use case? Or is there any other tool?

    • blank
      Nuwan Vithanage
      May 04, 2022 01:27 am Reply

      Hi Nana, I want to deploy 100 WordPress sites with EKS but I have only 50 Elastic IPs on AWS, I want to park two domains each for 50 Ips How can I do it ?

    • blank
      staj
      May 04, 2022 01:27 am Reply

      Another Great practical, concise & precise video. Thanks a lot Nana.

    • blank
      Peter Mwenda
      May 04, 2022 01:27 am Reply

      Hello, how are you able to learn all this? I would like to connect with you.

    • blank
      cajay
      May 04, 2022 01:27 am Reply

      where can i get Ansible full course ? is it paid or free ?

    • blank
      Ahmad
      May 04, 2022 01:27 am Reply

      you are great

    • blank
      Mukul Samak
      May 04, 2022 01:27 am Reply

      Thanks for video..Awesome content and explanation. Very straight forward and Auf wiedersehen

    • blank
      Sourena Sahraian
      May 04, 2022 01:27 am Reply

      Could you show how you can deploy a simple application like a Node app on to to a pod in that cluster?

    • blank
      LeMont80
      May 04, 2022 01:27 am Reply

      hi nana, did you install the eksctl in your local mac pc ? or on aws vm instance ?

    • blank
      Subham The Musical Guy
      May 04, 2022 01:27 am Reply

      Could you please make a video on AKS. Azure kubernetes service

    • blank
      Andrew Figaroa
      May 04, 2022 01:27 am Reply

      Hi Nana! Do you also have this for Azure AKS?

    • blank
      Kranthi Thi
      May 04, 2022 01:27 am Reply

      Really appreciate your efforts on spreading knowledge,thanks a lot.Can you also help with Jenkins x installation on eks please?

    • blank
      GKV
      May 04, 2022 01:27 am Reply

      Hi nice Explanation , if possible and your time permits could you make a video on the migration process of one cluster to another like aws-eks to Azure-aks or aws-eks to gke , what is be the best practices please could you suggest

Leave us a comment