Terraform

Infrastructure as Code Explained — step-by-step Devops tutorial on Progressive Robot

Infrastructure as Code Explained

In this article, we define Infrastructure as Code (IaC) and explain the benefits of IaC in development and deployment workflows. We also start to learn about Terraform’s role in the IaC workflow and understand “what is ‘state’?” in IaC.

Read more
Navigator's Guide: Modular Infrastructure Configuration — step-by-step Devops tutorial on Progressive Robot

Navigator’s Guide: Modular Infrastructure Configuration

The previous section used Terraform and Ansible to provision resources (Droplets, Load Balancers, and Floating IPs) and deploy your WordPress application. In this supplemental section, we discuss some ways to simplify this configuration using Terraform modules and separate infrastructure environments. There’s no code to execute and no changes to make in this section, but the concepts are important when building a real-world setup.

Read more
Building a Custom Terraform Module — step-by-step Devops tutorial on Progressive Robot

Building a Custom Terraform Module

Learn how to create a Terraform module for setting up multiple Droplets behind a Load Balancer. Use the `for_each` and `count` features of HCL to deploy multiple instances. Improve infrastructure management and scalability with Terraform.

Read more
How To Build a Custom Terraform Module — step-by-step Devops tutorial on Progressive Robot

How To Build a Custom Terraform Module

Terraform modules encapsulate distinct logical components of your infrastructure by grouping their resources together. In this tutorial, you’ll create a Terraform module that will set up multiple Droplets behind a Load Balancer for redundancy. You’ll also use the for_each and count looping features of the Hashicorp Configuration Language (HCL) to deploy multiple customized instances of the module at the same time.

Read more
How To Build a Hashicorp Vault Server Using Packer and Terraform on the cloud provider — step-by-step Devops tutorial on Progressive Robot

How To Build a Hashicorp Vault Server Using Packer and Terraform on the cloud provider

Vault, by Hashicorp, is an open-source tool for securely storing secrets and sensitive data in dynamic cloud environments. Packer and Terraform, also developed by Hashicorp, can be used together to create and deploy images of Vault. In this tutorial, you’ll use Packer to create an immutable snapshot of the system with Vault installed, and orchestrate its deployment using Terraform.

Read more
How To Create Reusable Infrastructure with Terraform Modules and Templates — step-by-step Devops tutorial on Progressive Robot

How To Create Reusable Infrastructure with Terraform Modules and Templates

One of the main benefits of Infrastructure as Code is reusing parts of the defined infrastructure. In this tutorial, we’ll consider some of the ways of defining and reusing code in Terraform projects. You’ll reference modules from the Terraform Registry, separate development and production environments using modules, learn about templates and how they are used, and how to specify resource dependencies explicitly using the depends_on meta argument.

Read more
CHAT