Linux VM in cloud and write Ansible playbooks to achieve certain requirements

Job ID: 32746560

Budget: $30 – $250 USD

1.Create 3 Linux servers (flavor and version of Linux is your choice) in AWS or GCP (or any other cloud service with a free option) as machines A, B and C
The following requirements shall be performed in Ansible
2.Server Configuration:
a. SSH “passwordless” login to Machines B and C from Machine A
b. All the machines should be secure with iptables. Block everything except SSH and the services running
on the Servers (as in the diagram above)
3.Functionality:
a. Download and configure nginx to run on Machines B and C.
i. nginx to listen on tcp/8080
b. Download and configure haproxy to run on Machine A
i. haproxy should listen on tcp/80
ii. haproxy should load-balance (round-robin) between Machine B and Machine C
c. When a user opens http://<Machine A>/test.html in a browser, a “Hello world from Machine [B or C]”
should be returned based on the round-robin load balancing algorithm. Any other page should redirect
the browser to www.google.com
4.Documentation / Worklog:
a. Provide the Ansible playbooks you have created
b. Provide a log of the steps you have taken
c. Provide an explanation and reason for any deviation you have taken from the requirements
Related categories: Linux Nginx Ansible