Cloud Recap – My Terraform Labs in 2021

Share on:

Terraform Labs

Intro

The first time I had seen a glimpse of this Infrastructure as a Code artefact in 2018 (presented by Roopesh Ramklass at our TOUG meetup), I found it ugly as hell and sworn to never touch it (probably confused it with Json ;)).

Today I am happy to admit that I was totally wrong and it was stupid of me to judge it by its cover. Terraform is written in Go but you don’t need to know it to understand how to run it. It is purely declarative and HashiCorp made it so easy to understand by centralizing the documentation for each cloud provider in their Terraform Registry that you probably don’t need to read much to run your first demo.    
 
Right after my Oracle Cloud operation associate exam, my interest started to spike. It was bumpy at times but worth the bother as there is so much to learn. That’s why I started the terraform for dummies series where I wanted to deploy a static website in any cloud provider there was. The dummy in question was me in case you didn’t figure :).

Although my journey has just started, It’s always good to summarize what we have achieved up till now. Which is the purpose of this article.

 

Cloud Deployments

So if you want to learn how to provision with Terraform in all  4 cloud providers!
Below are simple deployments of a static website n (Including GitHub repos)

 

✅ Terraform for Dummies Part 1 – Oracle Cloud Infrastructure (OCI)

Blog  https://bit.ly/3Ia3lqr      

GitHub Repo:
https://github.com/brokedba/terraform-examples/tree/master/terraform-provider-oci

 

✅ Terraform for Dummies Part 2 – Amazon Web Services (AWS)

Blog https://bit.ly/3D7vSJM  

 

GitHub Repo:
https://github.com/brokedba/terraform-examples/tree/master/terraform-provider-aws

 

✅ Terraform for Dummies Part 3 – Microsoft Azure

Blog https://bit.ly/3n6J2AK  

 

GitHub Repo:
https://github.com/brokedba/terraform-examples/tree/master/terraform-provider-azure

 

✅ Terraform for Dummies Part 4 – Google Cloud Platform (GCP) 

Blog https://bit.ly/3pCch14    

GitHub Repo:
https://github.com/brokedba/terraform-examples/tree/master/terraform-provider-gcp

On-Premises Deployments

✅ Terraform for dummies Part 5: Libvirt (KVM)

Blog   https://bit.ly/3mA0azh

 

Master GitHub Repo for all above labs:

Repository: https://lnkd.in/gzrJ6MP6

 

Terraform tips

✅  Nested variable substitution using maps and locals

     Blog:   https://bit.ly/3mA0azh

 

What’s next?

Probably a terraform associate certification as I slacked a bit lately and another deployment on ALICLOUD

Share on:

More from this Author

OCI FortiGate HA Cluster – Reference Architecture: Code Review and Fixes

Introduction OCI Quick Start repositories on GitHub are collections of Terraform scripts and configurations provided by Oracle. These repositories ... Read More

What Autoupgrade Won’t Catch for You when Moving to 19c Part1: Ghost OLAP

Introduction So far, I have used Oracle AutoUpgrade, many times in 3 different OS’. Yet the more you think you’ve seen it all and reached the ... Read More

Back to Top