===== Lesson 1 - Virtual Lab ===== This series of labs was designed to be run using two machines (master & client): * master - KVM virtual machine host, nginx reverse web proxy, Gogs Git Server, Saltstack master, Jenkins CI master * kvm1 - Saltstack minion, Jenkins CI slave * kvm2 - Saltstack minion, nginx web app server * client - Your desktop machine with a web browser and SSH client This could all run on a single machine with enough resources as none of the applications require significant processing or memory. Adding in physical hardware separation would mimic how this might run in a production environment. Unless otherwise noted, use the following username/password combination anywhere you are prompted for credentials: Username: waytta Password: !p@ssw0rd === Install Master KVM Host === On master apt-get install bridge-utils qemu-kvm libvirt-bin ubuntu-vm-builder virtinst virt-install virt-viewer Network configuration * [[http://www.furorteutonicus.eu/2013/08/04/enabling-host-guest-networking-with-kvm-macvlan-and-macvtap/|How-To 1]]: allow host/guest communications * [[http://wiki.libvirt.org/page/Guest_can_reach_outside_network,_but_can't_reach_host_(macvtap)|How-To 2]]: allow host/guest communications === Install KVM Guests === * kvm1 * ens3 - 52:54:00:6e:20:ed * 192.168.122.56 command to build vm * kvm2 * eth0 - 52:54:00:8d:e9:83 * 192.168.122.211 command to build vm