Day59 ----> 90DaysOfDevOps Challenge @TWS

Day59 ----> 90DaysOfDevOps Challenge @TWS

ยท

1 min read

Ansible Project to Configure Nginx Web Servers ๐Ÿ”ฅ

Ansible playbooks are amazing, as you learned yesterday. What if you deploy a simple web app using Ansible, sounds like a good project, right?

Task

  • Create 3 EC2 instances. Make sure all three are created with the same key pair.

image

  • Install Ansible on the host server.

image

  • Copy the private key from the local to the Host server (Ansible_host) at (/home/ubuntu/.ssh)

image

image

  • Access the inventory file using sudo vim /etc/ansible/hosts

image

image

  • Create a playbook to install Nginx.

image

  • Deploy a sample webpage using the Ansible playbook.

image

image

image

image

image

Happy Learning :)

Day 59 task is complete!

90DaysOfDevOps Tasks๐Ÿ‘‡

github.com/Chaitannyaa/90DaysOfDevOps.git

Chaitannyaa Gaikwad | LinkedIn

ย