Add an application load balancer to AWS EC2 using Terraform

A highly available application has higher chances of attracting customers because they are assured of consistency in service. Load balancing is a cost-effective way to increase an application's availability. In this note, I describe the steps to add an application load balancer to three EC2 instances hosted in three different availability zones in a region … Continue reading Add an application load balancer to AWS EC2 using Terraform

Strengthen security posture with Terraform and AWS IAM to manage AWS cloud resources

Is Terraform using an AWS IAM administrator user credential to manage AWS resources?

Terraform uses AWS IAM user credentials to manage resources in the AWS cloud. It does so by utilizing the secret key and access key of the IAM user. Hence, Terraform's ability to manage (create/update/delete) resources depend on the permission associated with the AWS IAM user. When I started working with Terraform to manage resources in … Continue reading Strengthen security posture with Terraform and AWS IAM to manage AWS cloud resources

Terraform remote state file as a data source to support a layered IAC approach

A few months back, I came across an interesting concept of deploying infrastructure in a layered fashion, and I wish I had the URL saved to refer to it again. Nevertheless, the gist of the idea was that you could build an application product environment by deploying layer after layer of infrastructure. A layer of … Continue reading Terraform remote state file as a data source to support a layered IAC approach

Azure Pipelines (YAML) and Terraform to provision AWS S3

In my previous note, [Azure DevOps and Terraform to provision AWS S3], I listed in detail the steps to be followed to provision an S3 bucket using Azure DevOps and Terraform. I referred to the classic editor in the build definition/azure pipelines. Build and release definitions declared via a classic editor in Azure DevOps, although … Continue reading Azure Pipelines (YAML) and Terraform to provision AWS S3

How I prepared for and passed Terraform associate certification

I do not have a lot of experience taking professional certification tests, so I cannot compare whether this test is easy or hard. However, if your concepts on IaC are clear and you have hands-on experience on Terraform (over three months in my case) in provisioning and managing resources, this certification is a good status … Continue reading How I prepared for and passed Terraform associate certification

Getting started with Terraform

Provisioning and de-provisioning computing resources happen at a faster rate as the process of doing so become accessible. And cloud technologies like AWS and Azure have made it easy, cheap, and quick to do so. However, provisioning resources manually (although possible) is not scalable and also not efficient. Any organization pursuing its DevOps journey must … Continue reading Getting started with Terraform