Remember when DevOps was newly trending? The tech world has been putting a lot of effort to reduce the gap between Development and Operations. The core idea was to make developers and operations experts work in synergy. Organizations are reaping the benefits of DevOps in terms of team collaboration, a smarter way of working, and … Continue reading Kubestack – GitOps for K8s using Terraform
Terraform
PoC to Production Grade
https://open.spotify.com/episode/31dPmetPhosLeqhkI5eAra?si=MSmFmE4xTn-MkJxOESGbeQ Security is of utmost importance when hosting your production workloads into public cloud. It is one thing to host a non-critical web resource publicly, but it is altogether a different game when considering to host a production grade application on the internet. After all, what do we mean by production grade? And why is … Continue reading PoC to Production Grade
Terraform Workflow
In this series, we have been using Terraform by ourselves. We defined the infrastructure - created a plan, created the infrastructure itself and also we saved our code to Github. We had the choice to store and maintain states locally. However, using Terraform in a team where more than one developer are contributing to the … Continue reading Terraform Workflow
Terraform Provisioners
Okay, enough talking about creating cloud resources! We have created a couple of instances using our Terraform code. But, now what? We usually spin up cloud resources for some purpose. When the resources are successfully created, it is rather a start of something. What are provisioners? Cloud resources by themselves are not much of use. … Continue reading Terraform Provisioners
Terraform Backends
In this post, we discuss backends that can be used with Terraform. Working with backends is essential when a larger team works on developing Terraform code. This is mainly because Terraform relies heavily on states for its operations and there is a huge scope of states getting “corrupted” if we “just use Github” to maintain … Continue reading Terraform Backends
Terraform Data Sources
Data Sources in Terraform is one of the important concepts which enables you to work with data values sourced from somewhere else. Somewhere else here would mean other modules, or cloud providers, or even locally. There are situations where the Terraform code needs to query a “fresh” set of values to be used while applying … Continue reading Terraform Data Sources
Terraform Modules
Modules are a way to organize Terraform code into re-usable chunks of IaC. Managing code for the complex infrastructure stack in a single go is not a good idea. This is for obvious reasons, the maintenance of the infrastructure itself may become a headache trying to figure out what caused what in lots of lines … Continue reading Terraform Modules
Terraform CLI – Part 2
Now that we have a basic understanding of how Terraform states work, let us take a look at some of the Terraform CLI commands which come in handy to work with the same. We shall also take a look at the significance of these commands and why one should be familiar with them. To refer … Continue reading Terraform CLI – Part 2
Terraform States
Before we move to the 2nd part of Terraform CLI, I think it is important to discuss Terraform States. This is one of the fundamental concepts while learning to work with Terraform. We will make use of this commit for the example we have been using in this Terraform series. Feel free to clone the … Continue reading Terraform States
Terraform CLI – Part 1
Till now we have dealt quite a lot with Terraform CLI directly and indirectly in our previous posts. But Terraform CLI was never the focus of those introductory discussions. If you missed the introduction, please feel free to read the same here. The introductory post also contains information about the workflow (init - plan - … Continue reading Terraform CLI – Part 1