Terraform on AWS: Infrastructure as Code from Basics to Production Projects
A 30-day, hands-on series that starts with how Terraform works and the AWS provider, then covers state, variables, functions, modules and meta-arguments. It then moves into project builds: S3/CloudFront hosting, VPC peering, EKS, 3-tier architecture, CI/CD with GitHub Actions, GitOps and drift detection. It suits learners with some AWS familiarity who want to build real infrastructure with code, and the later days assume you are comfortable with the earlier ones.
- 32 lessons
- 19h 26m total
- IT & Software
- English
- Earns YodaCoins
Curated by YodaHut. These lessons are hosted on YouTube and produced by their original creators, who are not affiliated with YodaHut. You still earn YodaCoins, keep your streak and track progress here.
What You'll Learn
- Explain how Terraform works and write provider blocks with version constraints, then authenticate to AWS and run init, plan and apply
- Provision AWS resources such as S3 buckets, IAM users, VPCs and Lambda functions from Terraform code
- Store state in a remote S3 backend and structure a Terraform project into sensible files and directories
- Use input, output and local variables, type constraints, count, for_each, depends_on, lifecycle rules, conditional and splat expressions, dynamic blocks and built-in functions
- Pull in existing resources with data sources and import manually created AWS infrastructure into Terraform
- Build multi-resource architectures including a static site on S3 and CloudFront, VPC peering, EKS with custom modules, 2-tier, 3-tier and highly available setups
- Automate deployments with GitHub Actions and HCP Terraform workspaces, and detect and remediate configuration drift
Prerequisites
- Basic familiarity with AWS concepts (EC2, S3, IAM, VPC) and an AWS account to practice in
- Comfort with the command line and a code editor
- Basic Git/GitHub knowledge for the CI/CD and GitOps days
- Some cloud usage may incur AWS costs; remember to destroy resources after each demo
Course Curriculum
32 lessons · 19h 26m- 01Series Introduction: Learn AWS with Terraform in 30 Days34:02
- 02How Terraform Works: Introduction to Infrastructure as Code20:48
- 03The Terraform AWS Provider Explained30:48
- 04Create an AWS S3 Bucket with Terraform12:22
- 05Terraform State Management with an S3 Remote Backend17:26
- 06Terraform Project Structure Best Practices12:16
- 07Terraform Variables: Input, Output and Local36:40
- 08Terraform Type Constraints with Real Examples52:17
- 09Meta Arguments: count, depends_on and for_each29:25
- 10Terraform Lifecycle Rules34:42
- 11Conditional Expressions, Splat Expressions and Dynamic Blocks38:34
- 12Terraform Functions, Part 154:44
- 13Terraform Functions, Part 243:14
- 14Early Winners Announcement for the Challenge6:52
- 15Terraform Data Sources on AWS22:38
- 16Host a Static Website on S3 and CloudFront52:37
- 17Mini Project: AWS VPC Peering58:13
- 18Mini Project: AWS IAM User Management36:33
- 19Blue-Green Deployment with Elastic Beanstalk20:26
- 20Serverless Image Processing with AWS Lambda39:40
- 21Terraform Provisioners: Local, Remote and File24:32
- 22Custom Terraform Modules for EKS32:33
- 23AWS Policy and Governance Setup35:37
- 242-Tier Architecture on AWS14:28
- 25End-to-End Observability on AWS51:44
- 26Highly Available and Scalable Architecture43:21
- 27Terraform Import on AWS50:22
- 28HCP Terraform: Projects and Workspaces44:29
- 29Automate AWS Infrastructure with Terraform and GitHub Actions48:43
- 30AWS 3-Tier Architecture Project1:02:23
- 31GitOps with Terraform and ArgoCD on EKS48:27
- 32Drift Detection and Remediation with GitHub Actions55:15
About the Instructor
Tech Tutorials with Piyush
YouTube creator
The lessons in this course were produced by Tech Tutorials with Piyush and are published on YouTube. YodaHut selected and sequenced them into this course; we did not make them, and Tech Tutorials with Piyush is not affiliated with YodaHut.
Visit the channel on YouTubeMore in the Library: IT & Software

Build a Custom PowerPoint Template from Scratch: Cover, Agenda, About Us, Timeline and Process Slides

Build a Pitch Deck Template in PowerPoint, Slide by Slide

Raspberry Pi 5 for Beginners: Headless Setup, GPIO Circuits and Flask Web Control

Raspberry Pi 4 Home Server with OpenMediaVault, Docker and Portainer

Raspberry Pi and the Linux Command Line: Setup, GPIO and Python Projects
