Devops

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 Manage Multiple Servers with Ansible Ad Hoc Commands — step-by-step Devops tutorial on Progressive Robot

How To Manage Multiple Servers with Ansible Ad Hoc Commands

With Ansible, you can use ad hoc commands to execute one instruction at a time on one or more remote servers. They are ideal to perform tasks that aren’t executed frequently, and to consult information about the remote systems that Ansible manages. In this cheatsheet guide, you’ll learn how to use ad hoc commands to manage one or more servers with Ansible, and how to perform some common tasks this way.

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
How To Troubleshoot Terraform — step-by-step Devops tutorial on Progressive Robot

How To Troubleshoot Terraform

Similarly to developing with other programming languages and frameworks, setting log levels in Terraform to gain insight into its internal workflows with the necessary verbosity is a feature that can help you when troubleshooting. In this tutorial, you’ll verify that variables always have sensible values and you’ll specify exactly which versions of providers and modules you need to prevent conflicts.

Read more
CHAT