Terraform: From Beginner to Master with Examples in AWS

Terraform: From Beginner to Master with Examples in AWS

This course provides a guide to learn Terraform for the absolute beginners with labs to get hands-on experience on AWS.

Intermediate

82 Lessons

5h

Certificate of Completion

This course provides a guide to learn Terraform for the absolute beginners with labs to get hands-on experience on AWS.

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

52 Playgrounds
15 Quizzes

This course includes

52 Playgrounds
15 Quizzes

Course Overview

In this course, you will work from the ground up, starting with what Terraform is and the problems it solves. The course will then guide you through the features of Terraform. You will build on your knowledge with the end goal of you being comfortable building projects using Terraform.

TAKEAWAY SKILLS

Aws

Devops

Terraform

Course Content

1.

Getting Started

This course equips learners with skills in Terraform, enhancing their ability to manage infrastructure across cloud platforms, particularly AWS.
2.

Introduction to Terraform

This chapter introduces Terraform, addresses manual configuration challenges and highlights the differences of CloudFormation and Chef.
3.

Your First Terraform Project

The chapter introduces setting up a basic Terraform project, focusing on creating an AWS S3 bucket and managing infrastructure effectively.
4.

Resources

The chapter emphasizes the importance of defining resources in Terraform and utilizing interpolation syntax for efficient resource management.
5.

Providers

This chapter introduces Terraform Providers, its best practices, and creation of multiple instances of the same provider.
6.

Data Sources

3 Lessons

This chapter covers Data sources in Terraform and its advantages in detail.
7.

Outputs

4 Lessons

This chapter covers Outputs in Terraform, its resource properties and how to export all attributes.
8.

Locals

2 Lessons

This chapter covers Locals in Terraform that are used to enhance code readability and maintainability.
9.

Templates and Files

4 Lessons

This chapter focuses on utilizing external files and dynamic templates in Terraform for improving readability and resource management.
10.

Variables

14 Lessons

This chapter explores variable management in Terraform, covering declaration, defaults, command line setting, environment variables, and type constraints.

Using Variables to Create Dynamic Terraform Configurations

Cloud Lab

11.

Project Layout

2 Lessons

This chapter introduces how to Organize Terraform code into multiple well-named files within a project to enhances clarity, collaboration, and execution.
12.

Modules

6 Lessons

This chapter covers Terraform modules, sub modules and remote modules in detail.

Create SQS Queues Using Terraform Modules

Cloud Lab

13.

Plans

4 Lessons

This chapter covers Terraform plans, its plan command, and auto apply which are essential for managing infrastructure changes.
14.

State

5 Lessons

This chapter covers Terraform state management for effective infrastructure management, including resource import, movement, and remote state handling.

Manipulate State Using Terraform

Cloud Lab

15.

Workspaces

2 Lessons

This chapters introduces Terraform workspaces which independently handle multiple infrastructure instances.
16.

Provisioners

3 Lessons

This chapter covers Provisioners and null resources in detail.
17.

Advanced Resources

5 Lessons

The chapter focuses on advanced Terraform features, enabling efficient resource management, dynamic creation, and enhanced control over dependencies and lifecycles.
18.

Exercise

8 Lessons

The chapter emphasizes hands-on experience in creating and managing VPCs, CIDR ranges, and workspace-aware projects using Terraform in AWS.

Create a VPC with a CIDR Range and Two Subnets with Terraform

Cloud Lab

19.

Conclusion

1 Lesson

This chapter summaries and concludes what we have learned so far.
20.

Appendix

3 Lessons

This appendix provides guidance on installing Terraform, setting up an AWS account, and optional IDE installation for enhanced development.

Course Author

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Souvik Kundu

Front-end Developer

Eric Downs

Musician/Entrepeneur

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor