Tutorial series

How To Manage Infrastructure with Terraform

How To Manage Infrastructure with Terraform

Introduction

Terraform is a popular open source Infrastructure as Code (IAC) tool that automates provisioning of your infrastructure in the cloud and manages the full lifecycle of all deployed resources, which are defined in source code. Its resource-managing behavior is predictable and reproducible, so you can plan the actions in advance and reuse your code configurations for similar infrastructure.

In this series, you will build out examples of Terraform projects to gain an understanding of the IAC approach and how it’s applied in practice to facilitate creating and deploying reusable and scalable infrastructure architectures.

Tutorials in series

Tutorial

Infrastructure as Code Explained

Tutorial

How To Use Terraform with DigitalOcean

Tutorial

How To Structure a Terraform Project

Tutorial

How To Improve Flexibility Using Terraform Variables, Dependencies, and Conditionals

Tutorial

How To Manage Infrastructure Data with Terraform Outputs

Tutorial

How To Build a Custom Terraform Module

Tutorial

How To Create Reusable Infrastructure with Terraform Modules and Templates

Tutorial

How To Protect Sensitive Data in Terraform

Tutorial

How To Use Ansible with Terraform for Configuration Management

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.