DEV Community

Cover image for Terraform: Introduction
AF uarabei
AF uarabei

Posted on • Edited on

9 4

Terraform: Introduction

Introduction and Motivation

Hello and welcome to my series of articles where I will attempt to document my road to getting a Terraform certificate.

Before we dive into the requirements of the Terraform exam I would like to take a minute and talk about myself and how I got to the point where Terraform became something that I want to learn how to use.

Hi! My name is Andrey and I am a Python and Django developer. It was rather early in my software developer journey when I realized that knowing how to write code and knowing your framework/library/language of choice is not enough to call yourself a web developer.

Deployment is a weird part of web development that few tutorials or textbooks mention, yet it is something that most of the employers would expect from a web developer. It is implied that a web developer should not only know how to make a web applications but also know how to deploy them.

There are many choices when it comes to deploying and hosting web applications with notable examples being AWS, GCP, Azure, Heroku, and many more. I chose AWS and started learning how to properly use it. The more I learned the intricacies of that platform the less I wanted to manage it manually. Even AWS CLI did not look like a good solution for managing infrastructure beyond a very basic setup.

At this point I was on the hunt for a way to simplify the deployment and management of AWS resources. Enter Infrastructure-as-Code (IaC). Turned out I was not alone in not wanting to manage infrastructure manually. AWS, GCP, and Azure all offer native IaC solutions. There are also 3rd party tools like Terraform, Pulumi, Puppet, Ansible, Chef, and Puppet.

I decided to go with Terraform because platform-agnostic approach means that I can use it regardless of where the resources are hosted AND I can mix-and-match resources from different providers in a single configuration. Being the most popular IaC tool meant that there is a wealth of resources online to help me along the way. Talk about jackpot.

With the tool chosen I went to Terraform’s official website to see how I can start learning to use it. Luckily, HashiCorp offers Terraform Associate certification. I am a big fan of certifications because not only they look good on any resume but they also provide a good roadmap for covering the basics.

#

So, here I am, using this blog as a way to take notes in preparation for this exam. Leslie Lamport said that writing is the nature’s way of telling us how fuzzy our thinking is and writing this blog will be a test of my understanding of this topic. Whether you are thinking about acquiring this certification yourself or you are curious about Terraform join me on this journey as I dive deep into this topic.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (1)

Collapse
 
cloudlearner96 profile image
cloudlearner96

Hi all,
I successfully passed my Terraform Associate Exam on my first attempt. Please find my tips below for passing the exam.
It took me three weeks to study for the exam. The exam as most reviewers said is not hard at all if you have studied for it using the tips below.

  1. Start with the practice tests from Bryan Krausen and especially from Muhammad Saad Sarwar’s because Muhammad’s exams are a bit cheaper but prepare you very will. So get the practice tests first so you know what to expect on the exam. As many others mentioned earlier if you get over 85% in these tests you should know that you are ready.
  2. Start practicing with a small Terraform project. This really helps in internalizing the commands and making them second nature. You can get free AWS subscription for a year and do all the practice you want on virtual machines even if you are a beginner to cloud.
  3. I checked a few youtube videos regarding the Terraform exam as well to become more familiar.
  4. Lastly went through some official document practice exercises.

To sum it up, buy the practice exams first. Muhammad’s to start is a very good one.

udemy.com/course/hashicorp-certifi...

Practice on a small project, doesn’t have to be more than a small one just so that you can see the commands in action and go through official documentation which is not too exhaustive to begin with and you should be all good and be ready to pass the exam in a month or so.
Good luck!!!

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay