Posts

TASK 3 - ANSIBLE (Deploying Load Balancer and WebServers )

Image
  Task: Deploy a Load Balancer and multiple Web Servers on AWS instances through ANSIBLE! ♦️ Provision EC2 instances through ansible. ♦️ Retrieve the IP Address of instances using the dynamic inventory concept. ♦️ Configure the web servers through the ansible role. ♦️ Configure the load balancer through the ansible role. ♦️ The target nodes of the load balancer should auto-update as per the status of web servers. Note: One-Click Instance Launched, Web Servers provisioned and Load Balancer ready! Now We are going to discuss some of the theoretical part related to Ansible : 1. Ansible is basically an open-source tool meant for configuration management. 2. For configuration of any server we have two ways : * Manual : here we do each and everything manually. * Automation : we can achieve automation in two ways - • Traditional way : here we have to write perl or shell scrips , they work on imprerative language. Here we have to know what to do and how to do both. • intelligent way : they wor