Configuring Haproxy on Aws by Ansible
Here in this task, we gonna configure the haproxy server over the aws with the help of ansible.
For better understanding please go through my previous articles.
Configuring HTTP Webserver on AWS by Ansible
Here in this article, e gonna see how we can configure http server on AWS cloud platform with the help of ansible.
Configuring Haproxy by Ansible
Here in this task we gonna see how to configure the haproxy server with the help of ansible.
Here we simply write a playbook that includes the role of haproxy, aws, and of http .
Road Map of the Playbook
- Launch aws ec2 instances with tag_name webserver and one with tag_name loadbalancer
2. Wait till these instances are ready to ssh
2. Configure the tag_name webserver with http role and of tag loadbalancer with haproxy role