43
There is no 'My Machine' Jörg Müller, Hypoport AG ___ @joergm http://blog-it.hypoport.de

There is no 'My Machine

Embed Size (px)

Citation preview

Page 1: There is no 'My Machine

There is no 'My Machine'Jörg Müller, Hypoport AG___

@joergmhttp://blog-it.hypoport.de

Page 2: There is no 'My Machine

The truth is ...

... there is no spoon.

Page 3: There is no 'My Machine
Page 4: There is no 'My Machine

Problem 1

... It works on my machine!

Page 5: There is no 'My Machine

Problem 2

... viele Projekte

Page 6: There is no 'My Machine

Problem 3

... Experimente

Page 7: There is no 'My Machine

Sweetspot Vagrant

... Virtuell und trotzdem leicht zu verwalten

Page 8: There is no 'My Machine

Sweetspot Vagrant

... Textuelle Definition, ideal für VCS

Page 9: There is no 'My Machine

Sweetspot Vagrant

... Einfach die VM löschen, wenn kein Platz mehr

Page 10: There is no 'My Machine

Sweetspot Vagrant

... Mehrere VMs gleichzeitig

Page 11: There is no 'My Machine

Voraussetzungen

... Windows, Mac oder Linux Host

Page 12: There is no 'My Machine

Voraussetzungen

... Virtual Box

Page 13: There is no 'My Machine

Voraussetzungen

... ruby

Page 14: There is no 'My Machine

Installation

... http://vagrantup.com

Page 15: There is no 'My Machine

Box installieren$> vagrant box add <boxname> <url>

Page 16: There is no 'My Machine

Erste Schritte$> vagrant init <boxname> $> vagrant up $> vagrant ssh

Page 17: There is no 'My Machine

Stoppen $> vagrant halt|suspend

Page 18: There is no 'My Machine

VM loswerden$> vagrant destroy

Page 19: There is no 'My Machine

Die Doku ist wirklich gut

... http://docs.vagrantup.com/v2/

Page 20: There is no 'My Machine

Die Vagrant Box

... Image einer Virtuellen Maschine

Page 21: There is no 'My Machine

Unterstützte OS

... Alles, was der Provider kann

Page 22: There is no 'My Machine

Neue Box erstellen

... manuell

Page 23: There is no 'My Machine

Neue Box erstellen

... mit veewee

Page 24: There is no 'My Machine

Vorhandene Boxen

... http://www.vagrantbox.es/

Page 25: There is no 'My Machine

Standards in Boxen

... vagrant user, ssh, synced folder

Page 26: There is no 'My Machine

Provisioning

... nicht alles gehört in die Box

Page 27: There is no 'My Machine

Shell

... erstmal einfach

Page 28: There is no 'My Machine

Puppet

... nutzen wir

Page 29: There is no 'My Machine

Chef

... dritte Variante

Page 30: There is no 'My Machine

Provisioning starten$> vagrant provision

Page 31: There is no 'My Machine

Die Developer Box

... Alles zum entwickeln

Page 32: There is no 'My Machine

Ziel

... Setup mit einem Kommando

Page 33: There is no 'My Machine

Verwaltung

... alles im VCS

Page 34: There is no 'My Machine

Pakete

... gleich Produktion

Page 35: There is no 'My Machine

Demo

... github.com/JoergM/vagrant-demo

Page 36: There is no 'My Machine

Demo$> vagrant up $> ...

Page 37: There is no 'My Machine

Weiterer Ausbau

...ActiveMQ, SMTP, LDAP

Page 38: There is no 'My Machine

Vagrant im CI

... z.B. für Spezial-Runtime

Page 39: There is no 'My Machine

MultiVM Setup

... github.com/MUGBerlin/vagrant-machines

Page 40: There is no 'My Machine

Vagrant

... ist einfach

Page 41: There is no 'My Machine

Vagrant

... schnell installiert

Page 42: There is no 'My Machine

Try it!

... start small

Page 43: There is no 'My Machine

There is no 'My Machine'Jörg Müller, Hypoport AG___

@joergmhttp://blog-it.hypoport.de