Sorry! I’m currently busy at the moment. I’m working on creating demo. Instead, I want to show my github repository to show my code. https://github.com/sikgyu/ansible_aws
Category: Ansible
1. Getting Started – Ansible Inventory Tutorial (Connect Ansible to AWS EC2 instance)
The purpose is to get used to the different building blocks of the cloud infrastructure in order to set it up automatically using scripts and Ansible. The infrastructure I am going to set up is: Ansible Inventory Create Ansible configuration file I defined the host that we are going to work with, and folder called…
Vagrant Multi Machine setup automation with Ansible Playbook
I’m going to automate configuration of simple microservice architecture application by using Ansible Playbook and Vagrant. Create 3 roles for this archtecture 1. Frontend 2. Backend 3. Database Ansible-Galaxy Create Backend Role tutorial.yaml backend/tasks/main.yaml backend/defaults/main.yaml backend/template/db.config.js.j2 backend/template/tutorials.service.js Ansible-Galaxy Create Nodejs Role nodejs/tasks/main.yml Ansible-Galaxy Create Frontend Role Frontend/tasks/main.yml Frontend/defaults/main.yml Frontend/templates/default.js Ansible-Galaxy Create Database Role database/tasks/main.yml database/defaults/main.yml…