VOOZH about

URL: https://www.coursera.org/learn/packt-terraform-basics-managing-infrastructure-as-code-jmv1i

⇱ Terraform Basics - Managing Infrastructure as Code | Coursera


Terraform Basics - Managing Infrastructure as Code

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Terraform Basics - Managing Infrastructure as Code

2,223 already enrolled

Included with

Ask Coursera

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

9 hours to complete
Flexible schedule
Learn at your own pace

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

9 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Master the fundamentals of Infrastructure as Code (IaC) with Terraform.

  • Set up and configure AWS and Terraform for infrastructure automation.

  • Write and manage Terraform configurations using HashiCorp Configuration Language (HCL).

  • Understand and apply Terraform’s core components like state management and providers.

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

8 assignments

Taught in English

Build your subject-matter expertise

This course is part of the Terraform Masterclass: From Beginner to Advanced Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 7 modules in this course

Updated in May 2025.

This course now features Coursera Coach — your interactive learning companion that helps you test your knowledge, challenge assumptions, and deepen your understanding as you progress. Build a strong foundation in Infrastructure as Code (IaC) with this hands-on introduction to managing cloud environments using Terraform. Designed for beginners, this course guides you step by step through automating infrastructure provisioning, writing configurations in HashiCorp Configuration Language (HCL), and deploying real resources on AWS. You’ll begin by setting up your environment, configuring AWS with multi-factor authentication, installing Terraform, and preparing Visual Studio Code for an efficient workflow. Once your tools are ready, you’ll explore Terraform’s core concepts, including providers, resources, variables, and state management — the building blocks of reliable and repeatable cloud automation. As you progress, you’ll apply your skills to practical AWS projects, creating EC2 instances, provisioning S3 buckets, and managing configurations through the Terraform CLI. Each module blends explanation with hands-on tasks so you gain not just theoretical understanding, but real experience building cloud infrastructure the professional way. By the end of this course, you will have: - Automated cloud provisioning using Terraform and AWS. - Written clean, reusable configurations using HCL. - Managed Terraform state effectively for safe, collaborative workflows. - Gained practical experience using AWS CLI and Terraform CLI. - Developed the confidence to support IaC projects in real environments. This course is ideal for beginners who want to learn cloud automation. No Terraform experience is required, but basic cloud knowledge is helpful. Whether you’re pursuing a DevOps path or strengthening your cloud fundamentals, this course gives you the skills to get started with Infrastructure as Code.

In this module, we will introduce the course's structure and objectives, ensuring a clear understanding of what to expect. We will guide you through how to navigate the course materials, enabling you to make the most out of the learning experience. This section sets the foundation for your journey into mastering Terraform.

What's included

2 videos2 readings

2 videosTotal 6 minutes
  • Introduction to the Specialization2 minutes
  • Navigating Through the Course4 minutes
2 readingsTotal 20 minutes
  • Introduction to the Course 'Terraform Basics - Managing Infrastructure as Code'10 minutes
  • Full Specialization Resources10 minutes

In this module, we will walk through the essential steps to prepare your environment for Terraform development. This includes setting up your AWS account, enabling multi-factor authentication, and installing Terraform and the AWS CLI. We will also configure your IDE, specifically Visual Studio Code, and show how to set up WSL for Windows users to optimize your Terraform workflow.

What's included

9 videos1 assignment

9 videosTotal 31 minutes
  • AWS Account Setup - How to Create an Account5 minutes
  • AWS Account Setup - Enabling MFA for the Root User2 minutes
  • AWS Account Setup - Creating an Admin User7 minutes
  • For Windows Users - Installing Windows Subsystem for Linux4 minutes
  • For Windows Users - Key Features of Windows Subsystem for Linux6 minutes
  • Terraform Installation - Getting Terraform Set Up2 minutes
  • Terraform Installation - Installing AWS CLI1 minute
  • Terraform Installation - Logging Into AWS3 minutes
  • IDE Setup - Helpful VS Code Extensions1 minute
1 assignmentTotal 15 minutes
  • Setting Up Your Environment and Tools - Assessment15 minutes

In this module, we will dive into the principles of Infrastructure as Code and its relevance in the modern IT landscape. We will demonstrate how Terraform simplifies infrastructure management, helping you automate processes. You will also explore the core components of Terraform, including providers and state, and practice deploying infrastructure using both manual and automated methods.

What's included

11 videos1 assignment

11 videosTotal 55 minutes
  • Defining Infrastructure as Code (IaC)5 minutes
  • Advantages of Using Infrastructure as Code9 minutes
  • Hands-On: Setting Up Infrastructure Manually in AWS - Overview0 minutes
  • Hands-On: Setting Up Infrastructure Manually in AWS9 minutes
  • Hands-On: Setting Up Infrastructure with Terraform - Overview1 minute
  • Hands-On: Setting Up Infrastructure with Terraform8 minutes
  • Why Choose Terraform?3 minutes
  • The Structure of Terraform6 minutes
  • Phases of Infrastructure Provisioning5 minutes
  • Hands-On: Understanding Terraform's Phases - Overview0 minutes
  • Hands-On: Understanding Terraform's Phases9 minutes
1 assignmentTotal 15 minutes
  • Understanding Infrastructure as Code (IaC) and Terraform - Assessment15 minutes

In this module, we will explore the core components of Terraform, focusing on HCL syntax and organization of configuration files. You will learn how to use essential Terraform CLI commands and gain hands-on experience with remote backends and providers. This section will help you build a strong foundation for working with Terraform’s powerful infrastructure-as-code capabilities.

What's included

17 videos1 assignment

17 videosTotal 82 minutes
  • Hands-On: Overview of the HashiCorp Configuration Language (HCL)1 minute
  • Understanding HashiCorp Configuration Language (HCL)11 minutes
  • Configuring Terraform5 minutes
  • Hands-On: Introduction to Our First Terraform Project - Overview0 minutes
  • Hands-On: Creating Resources in Our First Terraform Project5 minutes
  • Hands-On: Overview of the Terraform CLI0 minutes
  • Hands-On: Exploring Key Commands in the Terraform CLI12 minutes
  • Understanding Terraform State5 minutes
  • [Demo] Reviewing the State of Our Project6 minutes
  • Working with Backends in Terraform5 minutes
  • Hands-On: Setting Up a Remote Backend in S3 - Overview0 minutes
  • Hands-On: Configuring a Remote S3 Backend10 minutes
  • Hands-On: Partial Backend Setup - Overview0 minutes
  • Hands-On: Partial Backend Setup8 minutes
  • Terraform Providers Explained2 minutes
  • Hands-On: Overview of Working with Providers1 minute
  • Hands-On: Hands-on with Providers10 minutes
1 assignmentTotal 15 minutes
  • Terraform's Core Components - Assessment15 minutes

In this module, we will focus on working with resources in Terraform. You’ll learn how to define and configure essential infrastructure components such as VPCs and EC2 instances. This section also covers how to manage dependencies, use meta-arguments, and secure your infrastructure with security groups. Through hands-on exercises, you’ll apply these concepts to real-world scenarios.

What's included

12 videos1 assignment

12 videosTotal 85 minutes
  • Understanding Resources4 minutes
  • Exploring Resource Dependencies3 minutes
  • Using Meta-Arguments5 minutes
  • VPC and EC2 Project - Overview1 minute
  • VPC and EC2 Project - Setting Up the VPC and Subnet11 minutes
  • VPC and EC2 Project - Setting Up the Internet Gateway8 minutes
  • VPC and EC2 Project - Managing Common Tags7 minutes
  • VPC and EC2 Project - Setting Up the EC2 Instance13 minutes
  • VPC and EC2 Project - Understanding and Using Security Groups5 minutes
  • VPC and EC2 Project - Creating a Custom Security Group9 minutes
  • VPC and EC2 Project - Deploying an EC2 Instance with NGINX11 minutes
  • VPC and EC2 Project - Wrapping Up and Cleaning Up Resources7 minutes
1 assignmentTotal 15 minutes
  • Working with Resources - Assessment15 minutes

In this module, we will guide you through the process of deploying a static website using AWS S3 and Terraform. You will set up an S3 bucket, configure it for public access, and enable static website hosting. The project will culminate in automating the file upload process using Terraform, demonstrating the power of IaC in web deployment.

What's included

5 videos1 assignment

5 videosTotal 29 minutes
  • Overview of the Project1 minute
  • Setting Up an S3 Bucket4 minutes
  • Turning Off Public Access Block11 minutes
  • Setting Up an S3 Static Website6 minutes
  • Uploading Files to S3 with Terraform7 minutes
1 assignmentTotal 15 minutes
  • Project - Deploying an S3 Static Website - Assessment15 minutes

In this module, we will explore how to use data sources in Terraform to dynamically retrieve information about your infrastructure. You will learn to fetch AMI data, VPC details, and account-specific settings, making your configurations more flexible and adaptable. This section also covers using IAM policies to securely manage permissions.

What's included

10 videos1 reading3 assignments

10 videosTotal 50 minutes
  • Understanding Data Sources3 minutes
  • Hands-On: Overview of Fetching AMI Data1 minute
  • Hands-On: Fetching AMI Data19 minutes
  • Hands-On: Overview of Fetching AWS Account Information and Region0 minutes
  • Hands-On: Fetching AWS Account Information and Region7 minutes
  • Hands-On: Overview of Fetching VPC Data1 minute
  • Hands-On: Fetching VPC Data6 minutes
  • [Demo] Retrieving AWS Availability Zones6 minutes
  • Hands-On: Overview of Creating AWS IAM Policies1 minute
  • Hands-On: Creating AWS IAM Policies6 minutes
1 readingTotal 10 minutes
  • Conclusion to the Course 'Terraform Basics - Managing Infrastructure as Code'10 minutes
3 assignmentsTotal 90 minutes
  • Working with Data Sources - Assessment15 minutes
  • Full Course Assessment60 minutes
  • Full Course Practice Assessment15 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Offered by

Why people choose Coursera for their career

👁 Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
👁 Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
👁 Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
👁 Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions

Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.

If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.

Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.

If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.

This course is currently available only to learners who have paid or received financial aid, when available.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,