Photo by Marvin Meyer on Unsplash

In this article, You will learn how we can build git tags automatically using GitLab and Jenkins. You will also learn how we can build different tags & deploy them on different servers using a single Jenkinsfile.

Step 1. Configuring Jenkins

I won't be sharing how to install Jenkins. I am pretty sure if you are here you know how to work with Jenkins.

  • Go to Jenkins dashboard → Manage Jenkins → Manage Plugins → Under available section search for Multibranch Scan Webhook Trigger and Basic Branch Build Strategies Plugin & install these plugins without restart.


In this article, We will see how we can deploy a dockerized app to AWS ECS using IaaC (Terraform). I will try to explain each and every step in an easy manner, so you won't be facing any challenges while going through this article.

All right, Let's get started.

1. Prerequisites

Install Terraform CLI

An AWS Account (or Create one)

Install AWS CLI & Configure Credentials (You know how to configure, right?)

Node Installed

Docker Installed

All set, right? Let's move forward step by step

Create a Node app

Create an Index.js file (or you may already have one). Open VSCode or…


1.What is Terraform?

Terraform is an open-source infrastructure as a code software tool created by HashiCorp. Users define and provide data center infrastructure using a declarative configuration language known as HashiCorp Configuration Language.

2.How Terraform works?

Terraform allows infrastructure to be expressed as code in a simple, human-readable language called HCL (HashiCorp Configuration Language). It reads configuration files and provides an execution plan of changes, which can be reviewed for safety and then applied and provisioned.

Extensible providers allow Terraform to manage a broad range of resources, including IaaS, PaaS, SaaS, and hardware services.

3. Prerequisites

Install Terraform CLI

Install AWS CLI & Configure Credentials (You know how…

Manish Chaudhary

Cloud Enthusiast | 2x AWS Certified | 1x Azure Certified

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store