Ansible is a very powerful tool for automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs.

In today’s demo, First I’m going to launch Instance over AWS using Ansible, then configure WebServer and LoadBalancer over those instances using Ansible Roles. It also fetches the webserver’s IP dynamically and updates it in the LoadBalancer config file dynamically. You don’t need to update the config file of HAProxy LoadBalancer as Ansible updates it dynamically.

Steps to Configure this whole Setup:

  • Setup Dynamic Inventory for AWS Instance using Ansible Plugin.
  • Launch EC2 Instance over AWS tagged for webserver and lbserver using Ansible.
  • Setup Webserver…

Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs.

Provision a Hadoop Cluster manually takes a lot of time and also lead to error sometimes, so we need some configuration management tool which does this job better than human.

I assume you have Ansible installed on either your workstation or an Amazon EC2 instance — Ansible has great documentation for installation…


  • Create an Ansible-collection for Hadoop Configuration.


  • Ansible Installed in your machine.

Tested On:

  • Redhat
  • Amazon Linux 2


In your inventory file, define two different host…

Jenkins - an open-source automation server that enables developers around the world to reliably build, test, and deploy their software.

Jenkins is used to building and testing your software projects continuously making it easier for developers to integrate changes to the project, and making it easier for users to obtain a fresh build.

When we run a job, it is necessary to have that command/program installed in the node where Jenkins running. Like if we need to run git plugin for SCM, it is also compulsory to have git installed in the local node.

And We all know that it…

Ansible is an IT automation tool and at the current time, many companies are adopting it and getting benefits from this amazing tool. NASA is also one of them which is using Ansible to solve their problems and this is so helpful for them. To discuss more the problem and the solution let me first introduce Ansible.

What is Ansible?

Ansible is an open-source automation tool, or platform, used for IT tasks such as configuration management, application deployment, intraservice orchestration, and provisioning.

Ansible runs on many Unix-like systems and can configure both Unix-like systems as well as Microsoft Windows. In this agile world…

For storing the static content(images/videos) of our website, we normally use the AWS S3 service which gives us an endpoint(URL) that we linked to our website to showing content. But this is not a good way because it increases the latency of our website. Here the role of Content Delivery Network(CDN) comes into play.

A content delivery network (CDN) refers to a geographically distributed group of servers that work together to provide fast delivery of Internet content.

A CDN allows for the quick transfer of assets needed for loading Internet content including HTML pages, javascript files, stylesheets, images, and videos

  • The only way to change a static partition size using fdisk is by deleting and recreating it so ensure that the information on the file system is backed up.
  • Make sure the partition you are resizing is the last partition on a particular disk.


  • Use fdisk -l to check disk and partiton details…

In today’s article, we will learn how to set up a WordPress site on Amazon EC2 to run a blog. WordPress requires a MySQL database to store its data. For this lab, we will use Amazon RDS for MySQL to run your MySQL database.

So before the start, let me first write down the steps…


  • Create a MySql Database with Amazon RDS.
  • Creating an EC2 Instance.
  • Configuring RDS Database to allow access to specific entities.
  • Configuring WordPress on EC2.
  • Provide the endpoint/connection string to the WordPress application to make it work.

Database maintenance for your WordPress site is critical and…

Containers are a solution to the problem of how to get software to run reliably when moved from one computing environment to another. This could be from a developer’s laptop to a test environment, from a staging environment into production, and perhaps from a physical machine in a data center to a virtual machine in a private or public cloud.

While containers can be thought of as a next-generation approach to virtualization, they share one downside with virtual machines. …

Nowadays, in almost all industry, we need some tools which help in automating the whole process… from continuous integration to continuous deployment and delivery(CI/CD). One of the tool for CI/CD is Jenkins.

CI/CD is a method to frequently deliver apps to customers by introducing automation into the stages of app development. The main concepts attributed to CI/CD are continuous integration, continuous delivery, and continuous deployment. CI/CD is a solution to the problems integrating new code can cause for development and operations team.


Jenkins is an open-source automation server that enables developers around the world to reliably build, test, and deploy…

In this article, we are going to discuss a cool new technology of AWS that is Simple Queue Service(SQS). Also, get a glimpse of how industries are getting benefits from this service.

AWS is an Amazon Public cloud providing service that provides servers, storage, networking, remote computing, email, mobile development, and security like tonnes of services.

What is AWS SQS?

Amazon Simple Queue Service (SQS) is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications.

Using SQS, you can send, store, and receive messages between software components at any volume, without losing messages or…

Gaurav Gupta

Tech Enthusiasts, Passion to learn and share

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