Home›Library›IT & Software

Curated Library

Terraform for Beginners: Infrastructure as Code on AWS

A hands-on introduction to Terraform that starts with why infrastructure as code exists, then installs Terraform and writes first scripts that provision AWS resources such as EC2 instances and S3 buckets. It goes on to state files, variables, outputs, taint/untaint and modules. It suits developers, sysadmins and aspiring DevOps engineers who have an AWS account and want a practical starting point.

  • 14 lessons
  • 2h 42m total
  • IT & Software
  • English
  • Earns YodaCoins
Lessons byTelusko 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.

14 lessons2h 42m total
One block per lesson, sized by its length

What You'll Learn

  • Explain what Terraform is and why infrastructure as code is used instead of manual console setup
  • Install Terraform on a Linux VM in AWS or locally on Windows
  • Set up AWS security credentials so Terraform can authenticate
  • Write and run a first Terraform script using the core commands
  • Create an EC2 instance with user data and an S3 bucket on AWS
  • Use input variables, output variables and the state file
  • Use taint and untaint to force a resource to be recreated
  • Organise reusable configuration with Terraform modules

Prerequisites

  • An AWS account (free tier is enough for the exercises)
  • Basic familiarity with cloud concepts such as virtual machines and storage
  • Comfort using a command line

Course Curriculum

14 lessons · 2h 42m

About the Instructor

Telusko

YouTube creator

14 lessons here 2h 42m

The lessons in this course were produced by Telusko and are published on YouTube. YodaHut selected and sequenced them into this course; we did not make them, and Telusko is not affiliated with YodaHut.

Visit the channel on YouTube

More in the Library: IT & Software