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

Cloudcore Hub February 12, 2024
Video Thumbnail

Cloudcore Hub

View Channel

About

No channel description available.

Video Description

🚀 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: https://registry.terraform.io/ AWS EKS User Guide: https://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 - https://www.linkedin.com/company/cloudcore-hub/ 📧 - Email - [email protected] 👨‍💻 - GitHub - https://github.com/cloudcore-hub Source Code 📚 - Tutorial: https://github.com/cloudcore-hub/iac_code #Terraform #EKS #Kubernetes

You May Also Like

Transform Your Space Today

AI-recommended products based on this video

Loading...
RoboSeal Rechargeable Mason Jar Vacuum Sealer for Mason Jars Wide and Regular, One Touch Vacuum Sealer for Jars, 10 Lids Included, Digital Battery Indicator, As Seen on TV

RoboSeal Rechargeable Mason Jar Vacuum Sealer for Mason Jars Wide and Regular, One Touch Vacuum Sealer for Jars, 10 Lids Included, Digital Battery Indicator, As Seen on TV

(190)
$36.09
Prime
2K+ bought in past month
Loading...
2 Pack Outdoor Solar Firework Lights, 240 LED Solar Powered Hanging Lights Outdoor Waterproof Hanging Fairy Garden Lights Landscape Lights(Warm White)

2 Pack Outdoor Solar Firework Lights, 240 LED Solar Powered Hanging Lights Outdoor Waterproof Hanging Fairy Garden Lights Landscape Lights(Warm White)

(41)
$25.99
FREE delivery Sat, Jun 14 on your first order
300+ bought in past month
Loading...
Generic Collapsible Washing up Bowl Folding Dish Basin Bucket Portable Dish Pan Foldable Wash Basin for Camping Beach RV Backpacking, Green 38x23.5x11.5cm

Generic Collapsible Washing up Bowl Folding Dish Basin Bucket Portable Dish Pan Foldable Wash Basin for Camping Beach RV Backpacking, Green 38x23.5x11.5cm

(0)
$12.19
FREE delivery Aug 18 - 28
Loading...
Wellova DMSO 99.9% Pharmaceutical Grade with 99.9% Purity & Low Odor - 4oz (Dimethyl Sulfoxide) Clear Glass Bottle with Dropper

Wellova DMSO 99.9% Pharmaceutical Grade with 99.9% Purity & Low Odor - 4oz (Dimethyl Sulfoxide) Clear Glass Bottle with Dropper

(82)
$21.93
FREE delivery Sat, Aug 16 on your first order
500+ bought in past month
Loading...
[3 Pack] UniqueMe Screen Protector Compatible for Samsung Galaxy S25 Ultra Tempered Glass HD Clear Screen Protector with Easy Installation Frame, 9H Hardness Anti Scratch Bubble Free

[3 Pack] UniqueMe Screen Protector Compatible for Samsung Galaxy S25 Ultra Tempered Glass HD Clear Screen Protector with Easy Installation Frame, 9H Hardness Anti Scratch Bubble Free

(0)
$10.43
FREE delivery Sat, Jun 14 on your first order
500+ bought in past month
Loading...
[2-Pack] Lmcpa Screen Protector for Nintendo New Switch 2(2025)7.9 Inch, Anti-Scratch, Bubble-Free, Transparent HD Clear Tempered Glass Film Screen Protector, 9H Hardness, Ultra-Thin 0.25mm, Accessories for Switch 2

[2-Pack] Lmcpa Screen Protector for Nintendo New Switch 2(2025)7.9 Inch, Anti-Scratch, Bubble-Free, Transparent HD Clear Tempered Glass Film Screen Protector, 9H Hardness, Ultra-Thin 0.25mm, Accessories for Switch 2

(242)
$9.99
FREE delivery Wed, Jul 2 on your first order
1K+ bought in past month
Loading...
JETech Full Coverage Screen Protector for iPhone 16e 2025, iPhone 14 6.1-Inch, 9H Tempered Glass Film Case-Friendly, HD Clear, 3-Pack

JETech Full Coverage Screen Protector for iPhone 16e 2025, iPhone 14 6.1-Inch, 9H Tempered Glass Film Case-Friendly, HD Clear, 3-Pack

(7,597)
$8.99
FREE delivery Wed, Aug 20 on your first order
5K+ bought in past month
Loading...
Twolike Queen Bed Frames with Upholstered Platform and Strong Wooden Slats Bed Frames, Easily Assemble and Not Box Spring Needed, Queen Grey

Twolike Queen Bed Frames with Upholstered Platform and Strong Wooden Slats Bed Frames, Easily Assemble and Not Box Spring Needed, Queen Grey

(258)
$159.99
FREE delivery Fri, Jun 20
100+ bought in past month
Loading...
Apple Watch Series 10 [GPS 46mm] Smartwatch with Rose Gold Aluminium Case with Light Blush Sport Band. Fitness Tracker, ECG App, Always-On Retina Display, Water-Resistant

Apple Watch Series 10 [GPS 46mm] Smartwatch with Rose Gold Aluminium Case with Light Blush Sport Band. Fitness Tracker, ECG App, Always-On Retina Display, Water-Resistant

(1,728)
$413.99
Prime
400+ bought in past month