Back to courses

DevOps Bootcamp: Terraform

Learn Terraform from scratch, from an industry expert. You'll learn Terraform fundamentals all the way to provisioning real-world cloud infrastructure on AWS so that you go from beginner to being able to get hired as a DevOps Engineer or System Administrator!

20 Days

Average time students take to complete this course.

Last updated: March 2024

Course overview

We guarantee you that this is the most comprehensive and up-to-date online resource to learn Terraform. You will learn Terraform by building a fun and practical project where you provision Amazon Web Services (AWS) infrastructure with Terraform, including running EC2 instances. By the end of the course you'll have gained the skills you need to become a certified Terraform Associate and get hired in 2024!

What you'll learn

  • Learn and understand the power of 'Infrastructure as Code' technologies
  • Prepare for the Terraform certification exam
  • How to provision cloud infrastructure (AWS, Azure, GCP) with Terraform
  • Master Terraform from fundamentals all the way to Advanced Modules
  • Learn one of the most in-demand skills for DevOps Engineers and SysAdmins
  • Have the skills and understanding of Terraform to confidently become certified and apply for jobs

This Terraform course covers all the Terraform best practices and trends for 2024 and is focused on efficiency.

That means you'll never have to spend time on confusing, out-of-date, incomplete tutorials anymore.

Instead, we'll quickly push you beyond the basics so that you can provision cloud infrastructure on your own using the world's most popular cloud platforms including Amazon Web Services (AWS) and become a DevOps Engineer or System Administrator.

The success stories speak for themselves.

Graduates of Zero To Mastery are now working at Google, Tesla, Amazon, Apple, IBM, Uber, Facebook, Shopify + other top tech companies.

They are also working as top freelancers getting paid while working remotely around the world.

This can be you.

By enrolling today, you’ll also get to join our exclusive live online community classroom to learn alongside thousands of students, alumni, mentors, TAs and Instructors.

Most importantly, you will learn from a senior industry professional that has actual real-world experience working with Terraform.

Why Should I Learn Terraform?

We like you already. Asking those smart questions!

Cloud technologies are everywhere these days, and demand for people able to work with these technologies is still skyrocketing (pun intended).

If you want to get into cloud technologies, Terraform is where you should start.

Terraform is a tool for effectively and efficiently working with cloud technologies, and a pretty awesome one at that.

It's an open-source Infrastructure as Code (IaC) tool, meaning you can manage your cloud infrastructure using code or configuration files.

And that means Terraform allows you to build, change, and version infrastructure efficiently and safely. Pretty cool eh?

Terraform was created by HashiCorp to manage existing and popular cloud service providers like AWS, Azure, and Google Cloud Platform, as well as custom in-house cloud solutions. This has made it very popular with many companies requiring massive cloud capabilities and infrastructure.

It's also one of the most in-demand skills for DevOps Engineers and System Administrators. You know what that means: great job prospects.

There are 40,000+ job postings listed seeking DevOps Engineers with Terraform skills in the United States alone, and DevOps Engineers have an average salary of over $110,000 / year.

So if you're looking for something:

  1. With lots of job demand
  2. That's still growing in importance
  3. And can provide generous compensation

Then learning Terraform is a great option for you.

Here's what this Terraform course covers:

This course, like all Zero To Mastery courses, will constantly be updated as the landscape changes.

As the Terraform and cloud ecosystems evolve, this course will also be continually updated with lectures and resources.

This will be your go-to place to find the latest Terraform best practices and resources any time in the future.

This course will be your guide to learning Terraform, passing the Hashicorp Terraform Certification exam, and becoming a Certified Terraform Associate.

1. TERRAFORM & CLOUD FUNDAMENTALS - What is Terraform? Why is Terraform important? How is Terraform used for DevOps and SysAdmin? These questions and more are answered in detail. You've got to drill down into the basics before you can get to mastery!

You'll be introduced to the importance of cloud technologies, including Terraform and its sought-after capabilities like its ability to easily step forward or backwards through changes using version control.

Plus you'll learn everything through hands-on learning, including demos, exercises, and quizzes, so that you can be confident using your Terraform and cloud skills in the real world.

2. HASHICORP CONFIGURATION LANGUAGE - The goal of this section is to get you up to speed on the HashiCorp Configuration Language (HCL) used by Terraform.

You'll be learning how to master concepts such as types (simple, collection, structural), conditional expressions, dynamic blocks, and built-in applications that you'll be able to apply in the rest of the course and in your course project, where you'll provision infrastructure on AWS.

3. TERRAFORM REMOTE STATES - With Remote States, Terraform writes the state data to a remote data store, which can then be shared between all members of a team. If you don't even know what that means don't worry, we'll teach you!

You'll learn how to utilize Terraform Remote States to make you and your team's life so much easier, which is why it's important to explore them in-depth and have a deep understanding of how they work.

4. TERRAFORM MODULES - A Terraform Module is a set of Terraform configuration files in a single directory, and this is where the magic happens.

You'll take the next step in working with Terraform by learning everything there is to know about modules, including paramatizing and restructuring your infrastructure using modules. You'll even create your first Terraform Module from scratch.

5. HASHICORP TERRAFORM ASSOCIATE CERTIFICATION - One of the best ways to prove your Terraform knowledge is by becoming a certified Terraform Associate.

This course goes in-depth into the knowledge required to pass the certification exam and is loaded with quizzes that allow you to test and solidify your knowledge for the exam. These are vital pieces of the puzzle for you to become a Terraform master.

Plus our amazing and supportive ZTM Discord community of developers are available to help you practice and ace the certification exam!

6. BUILDING PROFESSIONAL AWS CLOUD INFRASTRUCTURE WITH TERRAFORM - Throughout the course you'll be using your Terraform knowledge to provision enterprise-level cloud infrastructure on the world's most comprehensive and broadly adopted cloud platform (AWS), which is exactly what you'll be doing out there in the real world at your job!

Plus you'll be applying all your Terraform knowledge with loads of hands-on learning and quizzes so that you can confidently apply your new skills in the real world.

What's the bottom line?

This course is not about making you just code along without understanding the principles so that when you are done with the course you don’t know what to do other than watch another tutorial. No!

This course will push you and challenge you to go from an absolute beginner in Terraform and cloud infrastructure, to someone that is in the top 10% of DevOps Engineers 💪.

And you have nothing to lose. You can start learning right now and if this course isn't everything you expected, we'll refund you 100% within 30 days. No hassles and no questions asked.

When's the best time to get started? Today!

There's never a bad time to learn in-demand skills. But the sooner, the better. So start learning Terraform today by joining the ZTM Academy. You'll have a clear roadmap to developing the skills to build your own projects, get hired, and advance your career.

Join Zero To Mastery Now

What you'll build

The best way you learn is by doing. Not just watching endless tutorials. That's why a key part of this course is the real-world project that you'll get to build and the challenges you'll complete to practice your skills.

Provision AWS Infrastructure with Terraform

Provision AWS Infrastructure with Terraform

As you learn each concept you'll put your knowledge into hands-on practice by building real cloud infrastructure from scratch. By the end you'll be able to provision infrastructure on AWS, secure it, and run EC2 instances and services on those instances.

Join Zero To Mastery Now

Course curriculum

To make sure this course is a good fit for you, you can start learning Terraform for free right now by clicking any of the PREVIEW links below.

Introduction

4 lectures

DevOps Bootcamp: Terraform1:44

PREVIEW

Exercise: Meet Your Classmates and Instructor

BEGIN

How-to's: Speed up videos, Downloading videos, Subtitles

BEGIN

Course Code & Cheatsheet

BEGIN

Terraform and AWS Introduction

12 lectures

Why Terraform3:30

PREVIEW

Terraform Demo7:12

PREVIEW

IaC Tool Comparison: Terraform vs Ansible4:44

PREVIEW

Installing Terraform on Linux and macOS5:51

PREVIEW

Installing Terraform on Windows2:54

PREVIEW

Installing and Configuring VSCode6:39

PREVIEW

Creating an AWS Account5:03

PREVIEW

Creating an IAM User6:47

PREVIEW

AWS Basics VPC4:16

PREVIEW

AWS Basics EC23:01

PREVIEW

AWS Regions and Zones2:20

PREVIEW

Unlimited Updates

BEGIN

Provisioning AWS Infrastructure with Terraform

38 lectures

Terraform Code Structure3:16

PREVIEW

Terraform Providers6:44

PREVIEW

Quiz: Terraform Code Structure and Providers

BEGIN

Terraform Configuration Syntax4:32

BEGIN

Initializing Working Directories5:36

BEGIN

Authenticating to AWS6:04

BEGIN

Quiz: Terraform Syntax, Initializing Providers, and Authenticating to AWS

BEGIN

Creating Resources (Part 1): AWS VPC6:19

BEGIN

Terraform Plan and Apply6:08

BEGIN

Formatting and Validating Configuration Files5:24

BEGIN

Destroying Infrastructure with Terraform7:27

BEGIN

Replacing Infrastructure with Terraform4:22

BEGIN

Quiz: Terraform Operations

BEGIN

Creating Resources (Part 2): AWS Subnet4:52

BEGIN

Customizing Terraform Configuration with Variables (Part 1)6:30

BEGIN

Customizing Terraform Configuration with Variables (Part 2)13:12

BEGIN

Quiz: Variables

BEGIN

Creating Resources (Part 3): Default RT and IGW8:27

BEGIN

Security Groups and Firewall Configuration9:41

BEGIN

Quiz: Security Groups and Firewalls

BEGIN

Launching EC2 Instances in the VPC8:14

BEGIN

Creating an SSH Key Pair for EC28:39

BEGIN

Automatic SSH Key Pair Generation with Terraform7:27

BEGIN

Quiz: EC2 Instances

BEGIN

Terraform Data Sources4:45

BEGIN

Filtering AMIs using Data Sources6:36

BEGIN

Query Data with Outputs8:55

BEGIN

Quiz: Data Sources and Output Values

BEGIN

Understanding Terraform State5:03

BEGIN

The Terraform State Command4:28

BEGIN

Quiz: Terraform State

BEGIN

Running Commands on EC22:14

BEGIN

Running Commands Using User Data9:08

BEGIN

Exercise: Imposter Syndrome2:55

BEGIN

Provision Infrastructure with Cloud-Init6:59

BEGIN

Terraform Provisioners7:20

BEGIN

Terraform Troubleshooting and Logging5:45

BEGIN

Quiz: Terraform Troubleshooting

BEGIN

Challenge: Provisioning AWS with Terraform

1 lectures

Challenge Instructions

BEGIN

HashiCorp Configuration Language (HCL) In Depth

15 lectures

Terraform Simple Types: Number, String, Bool7:14

BEGIN

Terraform Collection Types: List and Map9:23

BEGIN

Terraform Structural Types: Tuple and Object8:20

BEGIN

Quiz: Data Types

BEGIN

The Count Meta-Argument4:56

BEGIN

Creating IAM Users Using Count6:54

BEGIN

The for_each Meta-Argument4:03

BEGIN

Quiz: Count and for_each

BEGIN

Using Dynamic Blocks9:26

BEGIN

Conditional Expressions7:39

BEGIN

Terraform Locals7:56

BEGIN

Intro to Terraform Built-In Functions3:46

BEGIN

Using Terraform Built-In Functions6:54

BEGIN

Quiz: Dynamic Blocks, Locals and Functions

BEGIN

Using Splat Expressions in Terraform3:21

BEGIN

Challenge: HashiCorp Configuration Language

1 lectures

Challenge Instructions

BEGIN

Terraform Remote State and Security

8 lectures

Backends and Remote State Management3:15

BEGIN

Terraform Remote State on Amazon S36:04

BEGIN

Implementing State Locking with DynamoDB6:10

BEGIN

Terraform Remote State on Terraform Cloud7:29

BEGIN

Managing Secrets in Terraform2:28

BEGIN

Storing Secrets Using Variables5:22

BEGIN

Storing Secrets Securely Using AWS Secrets Manager7:59

BEGIN

Quiz: Terraform Remote State and Security

BEGIN

Challenge: Terraform Remote State

1 lectures

Challenge Instructions

BEGIN

Terraform Modules

13 lectures

Intro to Terraform Modules4:01

BEGIN

Creating Your First Module7:25

BEGIN

Parameterizing Modules (Part 1)7:25

BEGIN

Parameterizing Modules (Part 2)4:01

BEGIN

Quiz: Module Basics

BEGIN

Refactoring the Infrastructure Using Modules8:13

BEGIN

Accessing Child Module Output Values4:23

BEGIN

Refactoring the Infrastructure Using Modules (Part 2)12:31

BEGIN

Intro to Terraform Registry4:27

BEGIN

The VPC Module7:17

BEGIN

The Security Group Module4:28

BEGIN

The EC2 Module9:22

BEGIN

Quiz: Remote Modules

BEGIN

Where To Go From Here?

6 lectures

Thank You!1:17

BEGIN

Review This Course!

BEGIN

Become An Alumni

BEGIN

Learning Guideline

BEGIN

LinkedIn Endorsements

BEGIN

Coding Challenges

BEGIN

Meet your instructor

Your Terraform instructor (Andrei) isn't just an expert with years of real-world professional experience. He's also a professional educator. He makes complex topics feel simple. He will motivate you. He will push you. And he will go above and beyond to help you succeed.

Andrei Dumitrescu

Hi, I'm Andrei Dumitrescu!

Andrei is a Senior Network & Software Engineer with 15+ years of experience and over 50,000+ students have taken at least one of his top-rated courses.

SEE MY BIO & COURSES

Andrei Dumitrescu

DevOps Engineer

Frequently asked questions

Are there any prerequisites for this course?

  • Basic Linux knowledge is required (which you can get in our Linux course, included as part of your ZTM Academy subscription)
  • A computer (Windows, Mac, or Linux) with an internet connection
  • No paid AWS subscription is required as AWS Free Tier is used throughout the course

Who is this course for?

  • Anyone interested in obtaining the HashiCorp Terraform Associate Certification
  • Anyone who wants to learn about cloud platforms like AWS, Azure, and Google Cloud Platform
  • Anyone who wants to become a DevOps Engineer or SysAdmin
  • DevOps Engineers and SysAdmins who want to learn Terraform and be able to add a new skill to their resume and toolkit
  • Students who are stuck in tutorial hell and want to go beyond all the beginner Terraform tutorials
  • Anyone interested in provisioning infrastructure on AWS
  • Anyone interested in learning the HashiCorp Configuration Language (HCL)
  • Anyone interested in working at companies that utilize the cloud
  • Bootcamp or online tutorial graduates that want to go beyond the basics
  • You want to learn from an industry professional who actually has real-world industry experience, not just another online instructor that teaches off of documentation

Do you provide a certificate of completion?

We definitely do and they are quite nice. You will also be able to add Zero To Mastery Academy to the education section of your LinkedIn profile as well.

Are there subtitles?

Yes! We have high quality subtitles in 11 different languages: English, Spanish, French, German, Dutch, Romanian, Arabic, Hindi, Portuguese, Indonesian, and Japanese.

You can even adjust the text size, color, background and more so that the subtitles are perfect just for you!

Still have more questions about the Academy?

Still have more questions specific to the Academy membership? No problem, we answer some more here.

Invest in a better you. For less than a coffee a day.

Choose your currency:
$ USD US Dollar
Lifetime
100% OFF$999
$999
Only pay once, ever
You're serious about advancing your career and never getting left behind
Start Learning Now

MOST POPULAR

Save 40% vs. monthly (that's $189 a year)
Annual
100% OFF$279 / year
$23 / month
$279 / year
You're committed to getting hired and starting a career in tech
Start Learning Now
Monthly
100% OFF$39 / month
$39 / month
You're ready to upskill and advance your career
Start Learning Now

Every ZTM membership includes:

Unlimited access to all courses, projects + workshops, and career paths
Access to our private Discord with 400,000+ members
Access to our private LinkedIn networking group
Custom ZTM course completion certificates
Live career advice sessions with mentors, every month
Full access to all future courses, content, and features
100% RISK FREE

We know you'll love ZTM. That's why we provide a no hassle, 30-day money back guarantee.