terraform

rancher eks

How to deploy Rancher on the EKS cluster using Helm?

Reading Time: 3 minutes Hey readers, so today we’ll see how can we deploy Rancher on the EKS cluster using Helm. Firstly we’ll create an EKS cluster on AWS using Terraform and then we’ll deploy Rancher on EKS using Helm charts. So for that, we’ll be requiring some prerequisites. An AWS account with admin privileges AWS CLI on the local system Configured CLI with the respective AWS account Terraform Continue Reading

infracost

How to do cost estimation of infra using Infracost

Reading Time: 5 minutes Cloud computing has made it really easier to grow and scale up infrastructure. The infrastructure setup has made it really easier to work with microservices but what about the cost. The elasticity and flexibility has made the life easier. But it comes at a cost which we cant ignore.Cloud infrastructure has a cost which shows at the end of usage. Most of the time, infrastructure Continue Reading

gray laptop computer showing html codes in shallow focus photography

When to go for ansible and when for terraform

Reading Time: 2 minutes Before we go with use-case of both terraform and ansible , lets first focus on basic . Ansible :- Ansible is the open source software configuration management tool that provide simple but poweful automation for cross-platform computer support . This allows you to configure not just one computer, but potentially a whole network of computer at once , using it require no programming skills . Continue Reading

terraform

Debugging/Logging in Terraform

Reading Time: 2 minutes Debugging is a very important part of developers’ life as it helps in understanding the root cause whenever any piece of code breaks! So, In this blog, we will understand how to set up the debugging while setting up an Infrastructure using terraform. Prerequisite Basic knowledge of Terraform Enable Debugging in Terraform! Terraform provides the options to enable detailed logging/debugging with the help of the Continue Reading

gcp gke terraform

How to create GKE cluster on GCP using Terraform

Reading Time: 4 minutes GCP is a cloud platform provided by Google. In this blog, we will see how we can provision GKE Google Kubernetes Engine on GCP by using Terraform. Kubernetes is a container orchestration system for managing container-based applications and automated software deployments & management. We will deploy a GKE cluster on GCP by using some Terraform script and modules. Prerequisites – GKE on GCP with Terraform Continue Reading

Terraform: Loops with Count and Problems

Reading Time: 6 minutes In this blog, we are going to expand our Terraform toolbox with some more advanced tips & tricks, such as how to use loops with the count. We’ll also discuss some of Terraform’s weaknesses so we can avoid the most common problems. Introduction As we know, Terraform is a declarative language. Infrastructure-as-code in a declarative language tends to provide a more accurate about deployed items. Continue Reading

terraform

How to use Terraform variables in different ways

Reading Time: 2 minutes Introduction to Terraform variables Just like in other technologies, variables let you customize your Terraform modules and resources without altering the modules’ code. Results you do not need to hard code just for a few tweaks in your resources. Using variables is very handy when you are creating the same resources but with different configurations. For example: S3 bucket for diffrent regions EC2 instances of Continue Reading

terraform

How to use Terraform Graph to visualize your execution plan

Reading Time: 3 minutes With terraform, we can generate a visual representation of either our configuration or execution plan. We can use terraform graph command to generate a visual representation. The output of the command is in DOT format, we can use tools like Graphviz to generate charts. Let’s Understand in detail. Explore the directory first! Let’s see what terraform configuration files are present in our working directory. By Continue Reading

Add AWS credentials in Terraform

Reading Time: < 1 minute Hi readers, in this blog we will discuss about the different ways to add aws credentials (access key and secret key) in a Terraform configuration file. There are many ways to do it. Lets discuss some of them. Add it to your configuration files while defining your variable This would be the most naive way to do it. You will add the values in the Continue Reading

Terraform Configurations for AWS infrastructure

Reading Time: 5 minutes What is Terraform? Terraform is an infrastructure as code (IaC) tool that allows you to build, change, and version infrastructure safely and efficiently. This includes low-level components such as compute instances, storage, and networking, as well as high-level components such as DNS entries, SaaS features, etc. Terraform configurations manages both existing service providers and custom in-house solutions. In this blog, we will look at the Continue Reading

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