Friday, December 31, 2021

☁☁ My Terraform labs 2021– Cloud recap ☁☁

This image has an empty alt attribute; its file name is image-10.png

Intro

The first time I had seen a glimpse of this Infrastructure as Code artifact in 2018 (presented by Roopesh Ramklass at our TOUG meetup), I found the 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 it’s 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 OCI

Blog  https://bit.ly/3Ia3lqr      

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


✅ Terraform for dummies Part 2 AWS 

Blog https://bit.ly/3D7vSJM  

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


✅ Terraform for dummies Part 3 Azure

Blog https://bit.ly/3n6J2AK  

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


✅ Terraform for dummies Part 4 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

1 comment:

  1. Hi there! My name is Val and I work at the Developers Relations at Oracle. I would like to get in touch with you about a blogger sponsorship. Could you please send me an e-mail at valdecir.carvalho @ oracle.com ? Thanks!

    ReplyDelete