Configuring Apache webserver and Haproxy using ansible Roles on AWS.

Jyoti Pawar
2 min readJun 13, 2022

Hello everyone…

Here in this project we will configure the webserver and reverse proxy using apache Haproxy using ansible Roles and will also automatically update the configuration file of haproxy behind the scene over AWS.

To get more information regarding Apache webserver, Haproxy, ansible ,etc do read my below blog.It will give you more insights regarding this project.

“Configuring the reverse proxy for Apache webserver using Ansible” by Jyotisp

Task 12.2: Here we will see how we can perform the same setup on AWS:

for setting up the same setup on AWS just in inventory add the IPs of the AWS instances that we will configure .

Rest all setup for the haproxy, webserver remains the same as shown in my above blog.

Step 1: Launch AWS Instances

I have launched 4 instances (3 instances for Backend Server, 1 for LoadBalancer )

2. Inventory file

Please refer my previous blog for next steps.

Thanks !!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Jyoti Pawar
Jyoti Pawar

Written by Jyoti Pawar

Devops || AWS || ML || Deep learning || Python || Flask || Ansible RH294 || OpenShift DO180

No responses yet

Write a response