terraform

close up photo of programming of codes

How to Create a Storage Bucket in GCP with Terraform?

Reading Time: 3 minutes In this article, we are going to provision a Cloud Storage Bucket and maintain it with the help of terraform. Let us first understand cloud storage first What is Cloud Storage(Buckets)? Cloud Storage is the Google Cloud platform’s object storage system. Objects here can be of any type, either files or large binary objects. These objects are organized into buckets. Please note that cloud storage Continue Reading

How to Deploy ElasticBeanstalk using Terraform

Reading Time: 4 minutes Hello Readers! In this blog we will see how we can deploy ElasticBeanstalk using terraform. In my previous blog we have seen how to deploy applications in Elastic Beanstalk. There we have seen how AWS takes care of all underlying resources so you don’t have to worry about anything. You can purely concentrate on writing your application code, package it and upload it. And EBS Continue Reading

How to deploy an S3 Bucket in AWS- using Terraform

Reading Time: 3 minutes In this blog, we will create a Terraform Script for deploying an s3 bucket in AWS. S3 bucket is a simple storage service in the AWS cloud. It allows to store and access any amount of data. It stores all the data as objects, that is, it is an object-based storage service. Using a terraform script, the entire infrastructure can be managed by declaring all Continue Reading

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