LoadBalancer & Web Server configuration in AWS using Ansible

Task Description :-

Ansible code for launching Ec2 instances
Ansible Playbook execution for ec2 instances
EC2 instance (Web Server)
EC2 instance (Load Balancer)
Web Servers EC2 Instances
wget https://raw.githubusercontent.com/ansible/ansible/stable-2.9/contrib/inventory/ec2.py

wget https://raw.githubusercontent.com/ansible/ansible/stable-2.9/contrib/inventory/ec2.ini
Ansible Config file for getting IP of Web Server Instances
Host List
Connectivity checking between CN & Managed Nodes
Ansible Roles
Web Server configuration Playbook
LoadBalancer configuration playbook
Inventory File
Ansible Config file
haproxy.cfg
set up playbook
Set up playbook execution for Web Server Configuration
Set up playbook execution for Load Balancer Configuration
Load Balancer redirect traffic to different EC2 instance every time
Connecting to Load Balancer using Putty
haproxy.cfg in Load Balancer
Curl command for Load Balancer verification

--

--

--

Cloud Professional experienced in BFSI ,Telecom, Insurance domain with fortune 500 clients spread across USA, Europe, Canada, Australia and India.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

CKAD Exam Technical Difficulties

Build a managed Kubernetes cluster from scratch — part 2

Incident Report: Investigating an Incident That’s Already Resolved — Honeycomb

Magnifying glass with black handle on blue background.

How To Bypass a Paywall with Chrome Extension ‘Hover’

CS50 2020 Pset 4: Filter(less)

Apache Airflow Explainers and how different components of Airflow work | Qubole

Introducing Atlantis

Google Assistant — Build Restaurant Locator with the Places API

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
Arvind Ramugade

Arvind Ramugade

Cloud Professional experienced in BFSI ,Telecom, Insurance domain with fortune 500 clients spread across USA, Europe, Canada, Australia and India.

More from Medium

Build APK using Github Actions

Multiple SSH keys for multiple Bitbucket/GitHub accounts

How to Setup HTTPD Web Server with custom configuration

Setup an Apex/Root domain URL with Namecheap and Heroku