More Related Content Similar to Infrastructure as code Similar to Infrastructure as code (20) More from Axel Quack (20) Infrastructure as code2. 1 Introduction
2 Just enough… OS
3 Just enough… image building
4 Just enough… infrastructure code
5 Summary
5. Cloud Stack
SaaS § e.g. Salesforce etc.
Software as a Service
Flexibilitx of Purpose
Level of Abstraction
PaaS § e.g. Google App Engine,
§ Windows Azure, Heroku
Platform as a Service
IaaS § e.g. Amazon EC2,
§ Rackspace etc.
Infrastructure as a Service
Public Hybrid Private
Control / Governance
© pixelpark | 5
6. Raw image Basic Installation Software Stack Software Application
e.g. Debian § Network Configuration Configuration
§ Config
§ Partitions
§ …
TIME
ISO
Snapshot Snapshot
Golden Image
Autoconfig Chef Cookbook
(Saved once)
Middleware to scale
© pixelpark | 6
8. Deployment models
Hybrid Cloud
“Cloud in your Pocket“ Private Cloud Public Cloud
§ Eucalyptus § Amazon Web Services
§ OpenStack § Rackspace
§ Crowbar § Google App Engine
§ OpenNebula § vCloud
§ … § …
Eucalyptus, Deltacloud
© pixelpark | 8
11. Vagrant
Boxes
Virtual Box
Vagrant file
App 1 App 2 DB LB …
Git
(e.g. for
storing dotfiles)
© pixelpark | 11
12. You want to get more boxes?
Try Vagrantbox.es.
© pixelpark | 12
15. VeeWee
Git
Kickstart preseed.cfg [ alt. e.g. FAI ] AutoYaST
definition.rb (Debian GNU Linux / Ubuntu) (openSUSE)
Predefined lists (Red Hat)
postinstall.sh
VeeWee
JeOS
Box 1 Box 2 Box n (Hosting e.g. S3, Dropbox, Local)
Vagrant file
© pixelpark | 15
17. Mccloud
AMIs
Porting Boxes to
AMIs soon
EC2
Fog
Mccloudfile (similar to boto)
App 1 App 2 LB …
Git
(Dotfiles)
© pixelpark | 17
19. Crowbar
Server Crowbar Chef Server
PXE PXE, DHCP, DNS
Bare Iron
Wget
Network
Discovery Wget Data Store
BIOS/RAID
config Wget
PXE
OS install
Chef Client
WGE
install
OpenStack
Chef takes over control
config
Ready for service Chef Comms
© pixelpark | 19
Source: Rob Hirschfeld
22. Chef Solo
JSON
Push
Chef Solo
Configuration
Reconfigure
Cookbooks
© pixelpark | 22
Source: peritor
23. Chef Server
JSON
Pull
Chef Client Chef Server
Configuration &
Cookbooks
Reconfigure
Cookbooks Cookbooks
© pixelpark | 23
Source: peritor
24. Scenarios
AMI Boxes
Chef Server EC2
or
Puppet Server VirtualBox
Chef Server Crowbar
© pixelpark | 24
26. Rundeck Pie
Just enough…
Deployinator coordination
Cfengine Puppet
Just enough…
Chef infrastructure code
Cloud Fog (Ruby) Public Cloud AWS Just enough…
Abstraction Boto (Python)
APIs Rackspace Operating System
Mccloud
Library jclouds (Java) CLIs vCloud
Private Cloud libvirt Private Cloud Xen
APIs KVM
Abstraction
Crowbar Library
CLIs
lxc
vSphere
„Cloud VMware Player
in your VMware fusion
Vagrant Pocket“ VirtualBox
VeeWee Just enough…
image building |
Source: Patrick Debois
30. Imprint
The ideas and proposals included in this presentation are the intellectual property of Pixelpark
and subject to current copyright laws. The total or partial reproduction, and any disclosure to
third parties is permitted.
Axel Quack
Director Innovation Management
Pixelpark AG
Cäcilienkloster 2
50676 Köln
Tel: +49.221.951515-994
Fax: +49.221.951515-66
axel.quack@pixelpark.com
www.pixelpark.com
© pixelpark | 30