How to Create EKS Cluster Using Terraform | Deploy EKS using IaC Terraform

  Рет қаралды 2,368

Cloudcore Hub

Cloudcore Hub

Күн бұрын

🚀 Welcome to our latest Terraform tutorial! In this video, I'll guide you through setting up an AWS EKS Cluster using Terraform. Perfect for DevOps, Cloud, and SRE Engineers, this step-by-step demonstration will empower you with practical skills in infrastructure automation.
What You'll Learn:
📚 Understanding Terraform Files: Dive into the structure and purpose of terraform.tf, variables.tf, main.tf, vpc.tf, eks-cluster.tf, and outputs.tf.
🌐 Setting Up AWS EKS Cluster: Learn how to configure and deploy an EKS cluster in AWS using Terraform modules.
🛠️ Managing Providers and Resources: Understand how to manage multiple providers like AWS, Kubernetes, and more in Terraform.
📌 Variables and Outputs in Terraform: Explore how to define variables and outputs for modular and reusable Terraform code.
🔐 Securing your Infrastructure: Get insights into best practices for securing your EKS Cluster.
Timestamps:
0:00 - Introduction
1:40 - Explaining Providers [aws, tis, time, clouding, kubernetes]in terraform.tf File
10:13 - S3 Backend state file
12:14 - Setting Up Variables in variables.tf
14:38 - Configuring Providers in main.tf
19:02 - Create VPC Using Terraform with vpc.tf
22:17 - Create Private and Public Subnets in AWS Using Terraform
22:42 - Create NAT Gateway in AWS Using Terraform
22:55 - Create DNS Hostnames in AWS Using Terraform
23:13 - Create Single NAT Gateway in AWS Using Terraform
26:16 - Create EKS Cluster Using Terraform in eks-cluster.tf
30:07 - Create EKS Cluster Autoscaler
33:35 - Create Backend S3 Bucket for Terraform State file
35:50 - Deploying EKS Cluster
40:25 - Understanding Outputs in outputs.tf
41:00 - Verifying the Deployment in AWS Console
42:18 - Clean Up
46:10 - Pro Tips and Common Pitfalls
46:19 - Thanks
Resources:
Terraform Documentation: registry.terraform.io/
AWS EKS User Guide: docs.aws.amazon.com/eks/
Subscribe for more tutorials on Infrastructure as Code.
Leave your questions and feedback in the comments below.
🔔 Don't forget to like, share, and subscribe for more insightful Terraform and cloud engineering content!
Connect with Us:
🤝 - LinkedIn - / cloudcore-hub
📧 - Email - cloudcorehub@gmail.com
👨‍💻 - GitHub - github.com/cloudcore-hub
Source Code
📚 - Tutorial: github.com/cloudcore-hub/iac_...
#Terraform #EKS #Kubernetes

Пікірлер: 16
@mark-benjaminkatamba8831
@mark-benjaminkatamba8831 Күн бұрын
Thanks for the video! What would be the procedure if I wish to use an existing VPC and not create a new one? I have an existing cluster that I want to replace with a new one, but I want to maintain the networking.
@CloudcoreHub
@CloudcoreHub 15 сағат бұрын
To use an existing VPC in your EC2 instance configuration with Terraform, follow these steps: 1. Fetch Existing VPC Information: • Use the data source to retrieve information about your existing VPC. • Similarly, fetch the details of the existing subnets, security groups, etc. 2. Define EC2 Instance: • Reference the VPC ID, subnet ID, and other relevant details in the EC2 instance resource.
@rahulsingh-iq4gd
@rahulsingh-iq4gd Ай бұрын
Thank you ma’am for your videos
@CloudcoreHub
@CloudcoreHub Ай бұрын
Thanks for the feedback
@palanisamy-dl9qe
@palanisamy-dl9qe 17 күн бұрын
Thanks for video and effort. How the IAM identity provider getting mapped with eks cluster?
@CloudcoreHub
@CloudcoreHub 11 күн бұрын
Thanks for the question, it is mapped to the resources that eks depends on
@mof3420
@mof3420 3 ай бұрын
thanks, very useful
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
Thank you
@accountfortesting6321
@accountfortesting6321 3 ай бұрын
@CloudcoreHub: instead of create vpc then provision EKS on that vpc, how we can provision EKS in the custom vpc which created manually how we can take reference of provisioned vpc under EKS?
@CloudcoreHub
@CloudcoreHub 3 ай бұрын
yes, you can specify the custom VPC ID in your AWS EKS module
@accountfortesting6321
@accountfortesting6321 3 ай бұрын
@@CloudcoreHub can you give an example, it will be helpful if any video to take reference or make a short video.
@akwasi1973
@akwasi1973 3 күн бұрын
Can you use this as a project on your resume
@arunprasath5653
@arunprasath5653 4 ай бұрын
How to integrate argocd with it
@CloudcoreHub
@CloudcoreHub 4 ай бұрын
Hi, I'm currently working on e2e project, that will also include argoCD. thanks for the comment
@adewaleibinayo9471
@adewaleibinayo9471 3 ай бұрын
@@CloudcoreHub great ...looking forward to that!
@CloudcoreHub
@CloudcoreHub 3 ай бұрын
The requested project is now available on the channel kzfaq.info/get/bejne/e7x3aJSGmLzHiac.html
A pack of chips with a surprise 🤣😍❤️ #demariki
00:14
Demariki
Рет қаралды 34 МЛН
Is it Cake or Fake ? 🍰
00:53
A4
Рет қаралды 17 МЛН
Terragrunt Tutorial: Create VPC, EKS from Scratch!
1:01:09
Anton Putra
Рет қаралды 38 М.
How AWS is Making It Easier To Convert to IaC/CDK
21:32
Be A Better Dev
Рет қаралды 6 М.
Why You NEED To Learn Terraform | Practical Tutorial
27:33
Travis Media
Рет қаралды 97 М.
Testcontainers have forever changed the way I write tests
12:11
Dreams of Code
Рет қаралды 109 М.
i love you subscriber ♥️ #iphone #iphonefold #shortvideo
0:14
Samsung S24 Ultra professional shooting kit #shorts
0:12
Photographer Army
Рет қаралды 16 МЛН