Home›Library›IT & Software

Curated Library

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
Lessons byTech Tutorials with Piyush on YouTube

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.

32 lessons19h 26m total
One block per lesson, sized by its length

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
  1. 01Series Introduction: Learn AWS with Terraform in 30 Days34:02
  2. 02How Terraform Works: Introduction to Infrastructure as Code20:48
  3. 03The Terraform AWS Provider Explained30:48
  4. 04Create an AWS S3 Bucket with Terraform12:22
  5. 05Terraform State Management with an S3 Remote Backend17:26
  6. 06Terraform Project Structure Best Practices12:16
  7. 07Terraform Variables: Input, Output and Local36:40
  8. 08Terraform Type Constraints with Real Examples52:17
  9. 09Meta Arguments: count, depends_on and for_each29:25
  10. 10Terraform Lifecycle Rules34:42
  11. 11Conditional Expressions, Splat Expressions and Dynamic Blocks38:34
  12. 12Terraform Functions, Part 154:44
  13. 13Terraform Functions, Part 243:14
  14. 14Early Winners Announcement for the Challenge6:52
  15. 15Terraform Data Sources on AWS22:38
  16. 16Host a Static Website on S3 and CloudFront52:37
  17. 17Mini Project: AWS VPC Peering58:13
  18. 18Mini Project: AWS IAM User Management36:33
  19. 19Blue-Green Deployment with Elastic Beanstalk20:26
  20. 20Serverless Image Processing with AWS Lambda39:40
  21. 21Terraform Provisioners: Local, Remote and File24:32
  22. 22Custom Terraform Modules for EKS32:33
  23. 23AWS Policy and Governance Setup35:37
  24. 242-Tier Architecture on AWS14:28
  25. 25End-to-End Observability on AWS51:44
  26. 26Highly Available and Scalable Architecture43:21
  27. 27Terraform Import on AWS50:22
  28. 28HCP Terraform: Projects and Workspaces44:29
  29. 29Automate AWS Infrastructure with Terraform and GitHub Actions48:43
  30. 30AWS 3-Tier Architecture Project1:02:23
  31. 31GitOps with Terraform and ArgoCD on EKS48:27
  32. 32Drift Detection and Remediation with GitHub Actions55:15

About the Instructor

Tech Tutorials with Piyush

YouTube creator

32 lessons here 19h 26m

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 YouTube

More in the Library: IT & Software