Welcome to the next chapter of our K3S Build Series! 🚀
In this episode, we're taking our Infrastructure as Code skills to the next level by extending our Terragrunt project to support AWS Cloud in a fully modular and reusable way.
What You'll Learn in This Video:
✅ Set up AWS VPC networking, subnets, and internet gateway
✅ Configure security groups and IAM (Identity and Access Management)
✅ Integrate the AWS module cleanly into our Terragrunt project
✅ Build a flexible infrastructure layer that supports cloud and on-prem setups
✅ Get a blueprint for a real-world production and staging-ready structure
✅ How to easily switch cloud providers by changing just a single variable
Time Codes:
00:00 Introduction and Content covered in this video
01:20 Feedback and Sharing the Video
01:35 AWS Cloud Module
01:50 AWS Variables
02:20 AWS Network (VPC + Subnet)
02:43 AWS Internet Access (IGW+Route Table+Association)
02:43 AWS Internet Access (IGW+Route Table+Association)
03:28 AWS Security Groups
04:46 AWS IAM for Server
05:44 AWS EC2 Server Instances
07:00 AWS EC2 User Data for the Instances
07:31 AWS EC2 Worker Instances
07:54 Terraform AWS Provider
08:05 Terraform Output
08:24 Terraform Local State
08:36 Terragrunt Integration for the AWS Infrastructure Module
09:39 Test and Debug
11:18 Deploying the Infrastructure
11:37 SSH Access to the AWS Instances
12:22 Destroy the Infrastructure
12:40 Recap and Project Structure Overview
15:27 Outro
🛠️ Technologies used:
• Terraform + Terragrunt
• AWS (Amazon Web Services) Cloud
• Modular Infrastructure as Code
Missed the last part?
We set up our Hetzner Cloud infrastructure!
👉 Watch it here:
https://youtu.be/Rv5R0QqQq98
📂 Source Code on GitHub:
🔗 https://github.com/dimitrijmalcev/k3s-cluster
💬 Feedback Time!
I’m building this series for DevOps engineers, developers, and platform builders like you.
Tell me in the comments:
• Was the pace good for you?
• Would you like a deeper dive into specific topics?
❤️ Support the Channel
If you found this video helpful:
👍 Like the video
📬 Subscribe to the channel
🔔 Hit the bell icon so you won’t miss the next part where we’ll provision and configure the K3S Kubernetes nodes!
#Kubernetes #K3S #Terraform #Terragrunt #AWS #DevOps #GitOps #InfrastructureAsCode #CloudNative #PlatformEngineering #MultiCloud