terraform

Quick start : Terratest with Terraform

Reading Time: 4 minutes Hi Readers, In this blog we will see how we can test our Terraform code that it applies all the infrastructure as per stated in the code. Terratest is a Go library developed at Gruntwork, that makes it easier to write automated tests for our infrastructure code. It provides a variety of helper functions and patterns for common infrastructure testing tasks but here we will be Continue Reading

terraform

Spinning up Terraform Configuration – 2

Reading Time: 4 minutes Hi Readers, In previous blog we discussed the basics of terraform and understood the cloud infrastructure. Now here we will understand how to spin up our first terraform configuration. In addition to that we will also see how to setup terraform in our local system. Terraform installation Terraform is available for all Operating systems i.e for Mac OS, Windows and Linux. HashiCorp distributes Terraform as Continue Reading

terraform

Introduction to Terraform – 1

Reading Time: 4 minutes Hi Readers, In this blog we will be looking about the WHAT? and WHY? of the Terraform. We will be discussing about its basics and its key components. Before jumping directly into Terraform, we need to understand the term Infrastructure. An Infrastructure in common language would be considered as the final output obtained after processing multiple different kinds of inputs. For instance: An Infrastructure for Continue Reading

Understanding Infrastructure as Code (IaC) using Terraform: A QuickStart

Reading Time: 4 minutes As a DevOps Engineer, there might be a requirement of creating Infrastructure over various Cloud Providers including AWS, GCP or Azure. The ineffective way of doing it is simply going over the Provider console and manually create the infrastructure as per the requirement. Do you feel that its the correct way of doing it? Are you looking for a better solution? If your answer is Continue Reading

Managing Terraform State

Reading Time: 4 minutes In this blog, We are going to learn how Terraform keeps tracks the state of your infrastructure and configuration. With the help of an example, we will learn how can we store state file to a remote location. We can create infrastructure on a cloud in various ways using CLI, directly using UI or any automation tool like terraform etc. Then how terraform would know Continue Reading

Cloudfront Distribution Setup for Amazon S3

Reading Time: 3 minutes Amazon CloudFront is a web service that speeds up the distribution of your static and dynamic content such as HTML, CSS, js, and images to your users. CloudFront delivers the content through a worldwide network of data centers called edge locations, which means when a user requests the content that you are serving with CloudFront, the user is routed to the edge location that provides Continue Reading

How to run packer and terraform with a shell script.

Reading Time: 4 minutes We all are tired of repeating the same steps for creating the image and instance in AWS. But no longer! After reading this blog you will make an image using Packer and an instance through Terraform with help a shell script. You should have prior knowledge of Packer and Terraform. Below, I have briefed them for your reference. Packer is an open source tool for Continue Reading