Companion lab materials for my talk given at Modern Web 2015, Taipei (2015-05-16) by William Yeh.
Forty minutes presentation, with some live demos on Vagrant and IaaS instances (e.g., EC2, Google Compute Engine).
A gentle introduction to Ansible, using a set of working examples: Nginx, Node.js, and React.
Ansible positions itself as an “IT automation system”, but only the “configuration management” subset is discussed here.
View online: https://youtu.be/FboNN3OSq60
View online: http://bit.ly/ansible-slide
Due to time constaints (40 minutes), not all details are explained in the talk and slides. If more details needs to be explained, together with all labs demonstrated, 2 hours may be more appropriated.
The following figure illustrates the mapping between each demo-*
directory and associated topic in the slides:
Before experiment with the lab material, complete the following environment setup:
-
Install VM software:
- Install Vagrant, an excellent programmable VM environment.
- Install VirtualBox, or purchase more powerful VM software such as VMware Workstation, VMware Fusion, and Parallels Desktop.
Or, read the article "Playing VMs with Vagrant" (in Traditional Chinese) for more information.
-
Install Ansible client:
... using Homebrew mechanism (on Mac):
brew install ansible
or, using Pip (on Linux or Mac) since Ansible was written in Python:
pip install ansible
-
Done!
Author: William Yeh, william.pjyeh@gmail.com
Apache License V2.