Instead of using Virtual box machine, I am going to use cloud. The most important thing is VPC Which stands for Virtual Private Cloud. Inside of VPC, there’s smaller set of hosting resources that are available in AWS Datacenter which is called Availability Zone (AZ). Each zone in a region has redundant and separate power,…
Month: January 2022
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…
What is the difference between a Virtual machine and a container?
Containers and virtual machines have similar resource isolation and allocation benefits, but function differently because containers virtualize the operating system instead of hardware. Containers are more portable and efficient for this reason and too give us a better understanding of the differences between containers and virtual machines let’s look at a comparison of the two. Virtual…