0% found this document useful (0 votes)
155 views

Learn DevOps Techniques in Home Lab

This document provides instructions for setting up a DevOps home lab using Vagrant and Ansible. It outlines commands for initializing and provisioning a Vagrant environment, accessing instances via SSH, installing Git, using Ansible to ping nodes and deploy Docker services, and tearing down the lab when finished. The document also includes a short biography of the author, Alastair Cooke, who specializes in server and desktop virtualization.

Uploaded by

jagna
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
155 views

Learn DevOps Techniques in Home Lab

This document provides instructions for setting up a DevOps home lab using Vagrant and Ansible. It outlines commands for initializing and provisioning a Vagrant environment, accessing instances via SSH, installing Git, using Ansible to ping nodes and deploy Docker services, and tearing down the lab when finished. The document also includes a short biography of the author, Alastair Cooke, who specializes in server and desktop virtualization.

Uploaded by

jagna
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 62

DevOpsHomeLab

vagrant init
vagrant up
amc$

vagrant@vagrant:~$

vagrant ssh
vagrant destroy

vagrant up
vagrant ssh
vagrant halt
vagrant destroy
vagrant up

/vagrant

vagrant destroy
vagrant up
git
git add
git add *.sh
vagrant provision
vagrant destroy vagrant up
vagrant ssh
ssh-keygen
ssh-copy-id
/etc/ansible/hosts

ansible nodes -m ping


ansible-playbook
/vagrant/DeployDocker.yml
Docker node list
docker service list
git clone
vagrant up


Alastair Cooke is a freelance trainer, consultant and blogger specializing
in server and desktop virtualization. Known in Australia and New Zealand
for the APAC virtualization podcast and regional community events,
Cooke was awarded VMware's vExpert status for his 2010 efforts.
ansible-playbook

You might also like