AWS EKS Terraform [Ep2]: Create Kubernetes Cluster on AWS with Terraform


[ AWS EKS (Kubernetes) Terraform: Part 2 ] : We will learn about how we can leverage Terraform to provision EKS Kubernetes cluster on AWS. The source code of Terraform script is available at Github repo given below.

✅ Subscribe to me on Youtube:

► Github Repo:

The following topics covered with Hands-on demo.
► Creating EC2 Instances with Terraform
► Creating Kubernetes EKS Cluster with Terraform
► Deploying Horizontal Pod AutoScaler
► Deploying Cluster AutoScaler
► Deploying Metrics-Server
► Deploying php-apache service

#aws #eks #terraform

All Kubectl Commands Cheatsheet:

📌 Videos related to Kubernetes:
► What is Terraform:
► Provisioning EKS cluster on AWS using Terraform:
► Kubernetes(EKS) Cluster Autoscaling & Horizontal Pod Autoscaling on AWS:
► Jenkins installation on Kubernetes / AWS using Terraform:
► Octant – Kubernetes Dashboard UI:
► KinD – Kubernetes in Docker for K8s cluster on laptop:
► Kubernetes Basics Explained:
► Kuberenetes Cheat Sheet:

📌 Docker related Videos:
► Docker Compose Explained with Spring Boot:
► Docker Volumes Explained with Postgresql:

✅ Subscribe To Channel on Social Media:
DEV: ►
WEB: ►

🔥 Disclaimer/Policy:
The content of the videos, ideas given in videos all are self opinionated. The code samples shown in the video are collected from opensource projects shared on github and from other sources. The trademarks and logos shown on thumbnails and in videos are registered for respective companies. This video is not certified or accredited by them.


    • blank
      May 29, 2022 15:11 pm Reply

      please do not type at the bottom on terminal when recording we cannot see it 🙁

    • blank
      Katucia Ato Otong
      May 29, 2022 15:11 pm Reply

      We don’t see your screen

    • blank
      Anil Kommalapati
      May 29, 2022 15:11 pm Reply

      terraform font is toooooo small and not visible

    • blank
      biswajit sahu
      May 29, 2022 15:11 pm Reply

      Hello, I am using ec2 instance creating a linux bash, the aks cluster run sucessfull. After when I execute the command " terraform output kubeconfig > ~/.kube/config", its says -"bash: /root/.kube/config: No such file or directory". So I created a directory and file inside it. After I execute the next command "aws eks –region us-east-1 update-kubeconfig –name terraform-eks-demo", I got an error….."YamlError while loading kubeconfig: unacceptable character #x001b: special characters are not allowed

      in "/root/.kube/config", position 0
      So kindly solve that issue.

    • blank
      May 29, 2022 15:11 pm Reply

      I would love to see your comments about the demo. If you have any question or if you think there is something is missing, please let us know your feedback. Surely I will get back to you ASAP…Cheers..!!
      – Subscribe to Channel
      – Like & Share with friends

    • blank
      Shreyas Tote
      May 29, 2022 15:11 pm Reply

      Hello, I tried to run the script using Terraform. After successful creation of EKS while running the below command

      "aws eks –region us-east-1 update-kubeconfig –name terraform-eks-demo"

      Getting below error, could you please help me with this.

      YamlError while loading kubeconfig: unacceptable character #x0000: special characters are not allowed

      in "C:Usersshreyas.tote.kubeconfig", position 3

      I really appreciate your response, Thank you in advance.

    • blank
      Salman Saudagar
      May 29, 2022 15:11 pm Reply

      All Kubectl Commands Cheatsheet: folder is not accessible.

Leave us a comment