In this article, I’ll show how to set up WordPress(frontend) and AWS RDS database step by step.


Credits: ashleymcnamara/gophers


Image credits: me

IN THIS ARTICLE, I WILL DEMONSTRATE HOW TO CONFIGURE AND MANAGE HAProxy LOAD BALANCER FOR WEBSERVERS RUNNING ON AWS

→Pre-requisites: -

  • Foundational knowledge of AWS cloud and some common yet important services of the provider.
  • Basic understanding of Ansible and playbooks. My previous article for reference which will help you to run playbooks in the local system and get familiar with the tool :
  • How to provision EC2 instance using Ansible. Reference for enhancing the understanding and integrating with the public cloud with the concept of dynamic inventory:

~ Problem Statement:


In this article, I will demonstrate how to provision EC2 instance using ANSIBLE and how do set up a more agile environment using the DYNAMIC INVENTORY.

~Problem Statement:

  • As Ansible is built on top of python, a Python Software Development Kit (SDK) is required that enables the configuration of AWS services. The package is an object-oriented API named boto3.
pip3 install boto3   //assuming python3 is installed

→STEP-1)

  • In the first step, I provisioned an ec2 instance with this…


This article is a demonstration of Automation using ANSIBLE

~WHAT IS ANSIBLE? 🤔🤔


  1. JOB1: Pull the GitHub repo automatically when some developer commits.
  2. JOB2: By looking at the code or program file, Jenkins should automatically start the respective language interpreter install image container to deploy code ( eg. If code is of PHP, then Jenkins should start the container that has PHP already installed)
  3. JOB3: Test your application if it is working or not.
  4. JOB4: If the application is not working, then send an email to the developer with an error message and if it is running file send a success…



Poojan Mehta

In a continuous process of Technical Writing. Gathering, Organizing, Crafting the things that make sense.

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