8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 1/24
Puppet, Now With Googl...
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 2/24
Agenda
A Whirlwind Tou...
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 3/24
Google Cloud Platform
...
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 4/24
App Engine
4/24
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 5/24
Compute Engine
5/24
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 6/24
Cloud Storage
6/24
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 7/24
Cloud SQL
7/24
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 8/24
Cloud Datastore
8/24
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 9/24
BigQuery
9/24
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 10/24
Other APIs (Chrome, D...
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 11/24
Google Compute Engine...
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 12/24
Fast, Consistent Star...
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 13/24
Know Your Storage!
Sc...
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 14/24
Persistent Disks
Swee...
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 15/24
Fast, Consistent, Per...
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 16/24
Networking
Isolated n...
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 17/24
17/24
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 18/24
Sorting 1TB in 55s
18...
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 19/24
GCE + Puppet Enterpri...
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 20/24
Demo: GCE + Puppet = ...
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 21/24
All we want are the f...
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 22/24
Moar Awesome: GCE Res...
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 23/24
Demo: A load-balanced...
8/23/13 Puppet, Now With Google!
file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 24/24
Thank You!
Google Clo...
Upcoming SlideShare
Loading in …5
×

Puppet, now with google!

5,858 views

Published on

Marc Cohen
Developer Programs Engineer, Google

Eric Johnson
Technical Program Manager, Google

Published in: Technology, News & Politics
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
5,858
On SlideShare
0
From Embeds
0
Number of Embeds
3,819
Actions
Shares
0
Downloads
43
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Puppet, now with google!

  1. 1. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 1/24 Puppet, Now With Google! Using Puppetto manageGoogleComputeEngine Marc Cohen - Developer Programs Engineer, Google Eric Johnson - Technical Program Manager, Google
  2. 2. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 2/24 Agenda A Whirlwind Tour of the Google Cloud Platform Dive into Google Compute Engine Google Compute Engine + Puppet = Awesome · · · 2/24
  3. 3. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 3/24 Google Cloud Platform App Engine - PaaS Compute Engine - IaaS Cloud Storage - Object Store Cloud SQL - Stuctured Data Cloud Datastore - NoSQL key/value store BigQuery - fast big data analysis Many other APIs available · · · · · · · Photo: Google/Connie Zhou google.com/datacenters 3/24
  4. 4. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 4/24 App Engine 4/24
  5. 5. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 5/24 Compute Engine 5/24
  6. 6. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 6/24 Cloud Storage 6/24
  7. 7. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 7/24 Cloud SQL 7/24
  8. 8. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 8/24 Cloud Datastore 8/24
  9. 9. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 9/24 BigQuery 9/24
  10. 10. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 10/24 Other APIs (Chrome, Drive, Maps, YouTube, ...) 10/24
  11. 11. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 11/24 Google Compute Engine 101 Infrastructure as a Service (IaaS) Virtual Machines, Networks, Storage Built with Google DNA · · · Scale Speed Global Footprint Engineering expertise & experience - - - - 11/24
  12. 12. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 12/24 Fast, Consistent Startup 12/24
  13. 13. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 13/24 Know Your Storage! Scratch Disk Persistent Disk Cloud Storage Cloud SQL Cloud Datastore Bring your own data store 13/24
  14. 14. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 14/24 Persistent Disks Sweet spot: Durable, flexible and consistent Features: Global snapshots, bootable, attachable, read-only sharable Uses: Database storage, fast boot, static data distribution, migration · · · 14/24
  15. 15. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 15/24 Fast, Consistent, Persistent Disk Performance 15/24
  16. 16. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 16/24 Networking Isolated networks per project Private IPv4 space (RFC 1918) IP Level (Layer 3) network Flat across geographical regions Internal facing DNS Load balancing brings stability and scale Geographic diversity: zones and regions · · · · · VM name = DNS name- · · Open source: nginx, HAProxy Available now: Google hosted load balancing · · 16/24
  17. 17. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 17/24 17/24
  18. 18. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 18/24 Sorting 1TB in 55s 18/24
  19. 19. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 19/24 GCE + Puppet Enterprise = Awesome! Just Works! Current GCE Operating Systems (Linux x86_64): Variety of machine types Useful features for organizing your puppet nodes · Debian 7 (Wheezy) and Debian 6 (Squeeze) CentOS 6.4 Enterprise Linux Build your own custom images · · · · Micro/small, HighCPU, HighMem, and 'Standards CPU: 1-8 cores, RAM: 0.6-30 GB, plenty of disk options · · · Metadata (key/value pairs) available in your instance Instance tagging · · 19/24
  20. 20. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 20/24 Demo: GCE + Puppet = Awesome! Puppet Enterprise 3 Console
  21. 21. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 21/24 All we want are the facts, ma'am Facter support ~~(coming soon)~~ Instance and project 'metadata' key/value pairs such as,· Machine type, image, zone, disks, tags, sshKeys, and more...· activeprocessorcount=>1 architecture=>amd64; blockdevice_sda_model=>PersistentDisk ... gce_instance_machinetype=>n1-standard-1 gce_instance_zone=>us-central1-b gce_project_numeric_project_id=>12345678901 gce_project_project_id=>gs_test ... virtual=>gce CLI 21/24
  22. 22. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 22/24 Moar Awesome: GCE Resources the Puppet Way Forge: gce_compute module· Provision GCE resources with Puppet's DSL in your site manifest file Provides native types for instances, disks, firewalls, and load-balancer Bootstrap agent node features: · · · Specify a list of forge modules or github repos Create a manifest file on the node Or use External Node Classifiers to merge in additional classes · · · 22/24
  23. 23. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 23/24 Demo: A load-balanced web site GCE Provisioning with Puppet's DSL
  24. 24. 8/23/13 Puppet, Now With Google! file:///Users/marccohen/marc-pres/PuppetConf2013/index.html#3 24/24 Thank You! Google Cloud Platform: scalable, consistent, managed, high performance Compute Engine and Puppet work great together. Give it a try: These slides: http://bit.ly/gce-puppet Learn more about Google Cloud Platform: http://cloud.google.com Marc Cohen http://about.me/marc1 Eric Johnson http://about.me/erjohnso · · · Puppet users sign up here: http://goo.gl/rgPNUX for $2000 USD credit.- · · 24/24

×