Table of contents
- Ansible Project to Configure Nginx Web Servers ๐ฅ
- Task
- Create 3 EC2 instances. Make sure all three are created with the same key pair.
- Install Ansible on the host server.
- Copy the private key from the local to the Host server (Ansible_host) at (/home/ubuntu/.ssh)
- Access the inventory file using sudo vim /etc/ansible/hosts
- Create a playbook to install Nginx.
- Deploy a sample webpage using the Ansible playbook.
- Day 59 task is complete!
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.
Install Ansible on the host server.
Copy the private key from the local to the Host server (Ansible_host) at (/home/ubuntu/.ssh)
Access the inventory file using
sudo vim /etc/ansible/hosts
Create a playbook to install Nginx.
Deploy a sample webpage using the Ansible playbook.
Happy Learning :)
Day 59 task is complete!
90DaysOfDevOps Tasks๐
ย