terraform

woman coding on computer

Terraform Import

Reading Time: 4 minutes In this blog we are going to see about the terraform import . For that purpose needs to have idea about the terraform ,So, as if some people don’t have idea about terraform plz refer to this blog.Now if got idea about the terraform, Let’s see So, main point we need to discuss before looking at the terraform import is terraform tfsate. Terraform record information Continue Reading

background

How to create AWS SNS using Terraform

Reading Time: 3 minutes Hi all, In this blog we are going to create AWS SNS(Simple Notification Service) using Terraform. We will be going to create SNS topic, then we will also be creating topic subscription using Terraform. Provider Firstly we will be providing the provider details. Here i am going with aws provider with region us-east-1. Resource aws_sns_topic We are going to use one terraform resource known as Continue Reading

terraform

How to create a VPC & Subnet in AWS using Terraform

Reading Time: 3 minutes Let’s create a VPC and subnet in AWS using Terraform. What is Terraform? Terraform is an infrastructure as a code solution from HashiCorp, It enables you to specify cloud and on-premises resources in human-readable configuration files that you can reuse, distribute, and version. Prerequisite: Vpc (Virtual Private Cloud): A Virtual Private Cloud (VPC) is an isolated, secure private cloud hosted on the public cloud as Continue Reading

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