Top Banner
Vagrant
17

Vagrant - Rohit Gupta · Tao of Vagrant Developers can check out any code repository and vagrant up. Systems Ops engineers can vagrant up and have a complete sandbox matching production.

Jan 13, 2019

Download

Documents

vuonghuong
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Vagrant - Rohit Gupta · Tao of Vagrant Developers can check out any code repository and vagrant up. Systems Ops engineers can vagrant up and have a complete sandbox matching production.

Vagrant

Page 2: Vagrant - Rohit Gupta · Tao of Vagrant Developers can check out any code repository and vagrant up. Systems Ops engineers can vagrant up and have a complete sandbox matching production.

@chandrashekar_m

in.linkedin.com/in/chandram/

Page 3: Vagrant - Rohit Gupta · Tao of Vagrant Developers can check out any code repository and vagrant up. Systems Ops engineers can vagrant up and have a complete sandbox matching production.

Agenda

●Why use Vagrant?

●What is Vagrant?

●DevOps with Vagrant in mind

Page 4: Vagrant - Rohit Gupta · Tao of Vagrant Developers can check out any code repository and vagrant up. Systems Ops engineers can vagrant up and have a complete sandbox matching production.
Page 5: Vagrant - Rohit Gupta · Tao of Vagrant Developers can check out any code repository and vagrant up. Systems Ops engineers can vagrant up and have a complete sandbox matching production.

●No Isolation.

●No Repeatability.

●No Verification.

Page 6: Vagrant - Rohit Gupta · Tao of Vagrant Developers can check out any code repository and vagrant up. Systems Ops engineers can vagrant up and have a complete sandbox matching production.
Page 7: Vagrant - Rohit Gupta · Tao of Vagrant Developers can check out any code repository and vagrant up. Systems Ops engineers can vagrant up and have a complete sandbox matching production.

●Isolation●Mirror Production●Test Ops scripts with a free server●Faster onboarding●Designers/Managers can do it, too!

Page 8: Vagrant - Rohit Gupta · Tao of Vagrant Developers can check out any code repository and vagrant up. Systems Ops engineers can vagrant up and have a complete sandbox matching production.

Dev and Ops

Not (Dev or Ops)

Page 9: Vagrant - Rohit Gupta · Tao of Vagrant Developers can check out any code repository and vagrant up. Systems Ops engineers can vagrant up and have a complete sandbox matching production.
Page 10: Vagrant - Rohit Gupta · Tao of Vagrant Developers can check out any code repository and vagrant up. Systems Ops engineers can vagrant up and have a complete sandbox matching production.

#1 Dev Excuse

Page 11: Vagrant - Rohit Gupta · Tao of Vagrant Developers can check out any code repository and vagrant up. Systems Ops engineers can vagrant up and have a complete sandbox matching production.

Been there...

● Quick fix lost on a reboot!● I thought that service never went down...● Why did the database go down? My code doesnt

do that.● I thought this compiled code would run

everywhere...

http://programmingexcuses.com/ http://programmingexcuses.com/

Page 12: Vagrant - Rohit Gupta · Tao of Vagrant Developers can check out any code repository and vagrant up. Systems Ops engineers can vagrant up and have a complete sandbox matching production.

What is it?

Page 13: Vagrant - Rohit Gupta · Tao of Vagrant Developers can check out any code repository and vagrant up. Systems Ops engineers can vagrant up and have a complete sandbox matching production.

A tool for building virtualized environments

A local cloud

Page 14: Vagrant - Rohit Gupta · Tao of Vagrant Developers can check out any code repository and vagrant up. Systems Ops engineers can vagrant up and have a complete sandbox matching production.

Tao of Vagrant● Developers can check out any code repository

and vagrant up.● Systems Ops engineers can vagrant up and

have a complete sandbox matching production.● With vagrant up, Automation engineers can

work and use the same setup scripts in both dev and prod

● All this knowledge transfers to every project.

Page 15: Vagrant - Rohit Gupta · Tao of Vagrant Developers can check out any code repository and vagrant up. Systems Ops engineers can vagrant up and have a complete sandbox matching production.

Quick Demo

Create and teardown virtual machines.

Use automation to provision and configure.

Network multiple machines.

Page 16: Vagrant - Rohit Gupta · Tao of Vagrant Developers can check out any code repository and vagrant up. Systems Ops engineers can vagrant up and have a complete sandbox matching production.

Alternatives● Plain Desktop Virtualization● Containers● Cloud

Page 17: Vagrant - Rohit Gupta · Tao of Vagrant Developers can check out any code repository and vagrant up. Systems Ops engineers can vagrant up and have a complete sandbox matching production.

Demo

● Multi-Machine deployments.● Package and distribute VM images.● Plug-ins.