Latest Updates

HAProxy on AWS using ansible

 

HAPROXY


RED HAT ANSIBLE

RED HAT ANSIBLE ROLES

APACHE WEB SERVER

Task Objective:


Let’s Get Started


Create one file at  '~/'    with name ".boto"// add following data in file [Credentials]
aws_access_key_id = <your_access_key_here>
aws_secret_access_key = <your_secret_key_here>
[defaults]inventory = ./ec2.pyremote_user = ec2-userdeprecation_warnings = Falsehost_key_checking = Falseinterpreter_python = auto_silentprivate_key_file = newKey.pemroles_path = rolesask_pass = False[privilege_escalation]become=truebecome_method=sudobecome_user=rootbecome_ask_pass=False
ansible-playbook FileName.yml
./ec2.py    // run the command on terminal









ansible all -m ping




Now all the Technical part is done you can see all the configuration is done using ansible.




http://"haproxy server ip":"listening port" 




1 comment:

  1. When you are looking for hosting packages to provide online visibility for your website, it is advisable to research on the kinds of services you will expect to get from a web host. When you choose dedicated server hosting plans, you can enjoy unlimited resources from the hosting provider. https://onohosting.com/

    ReplyDelete