integrating puppet with rightscale: customer q&a

20
Integrating Puppet with RightScale Robert Shroll Sr Manager, Business Development Matt Wise Sr Systems Architect, Nextdoor

Upload: rightscale

Post on 20-Aug-2015

1.738 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Integrating Puppet with RightScale: Customer Q&A

Integrating Puppet with RightScale

Robert Shroll

Sr Manager, Business Development

Matt Wise

Sr Systems Architect, Nextdoor

Page 2: Integrating Puppet with RightScale: Customer Q&A

# 2# 2

Talk with the Experts.

Puppet and RightScale

• Is a primary developer of Puppet• Licenses a commercial version Puppet

Enterprise• Provides support, training, certification, and a

community• Puppet Enterprise ServerTemplates in

development

Page 3: Integrating Puppet with RightScale: Customer Q&A

# 3# 3

Talk with the Experts.

Using Puppet and RightScale

Page 4: Integrating Puppet with RightScale: Customer Q&A

# 4# 4

Talk with the Experts.

Why use Puppet?• Simple OS abstraction

• Same language to manage different resources (packages, resources users, files) across operating systems

• Modularity• Puppet Module Forge with 375 public modules for use• Module configurations are broken down into Manifests, which can be

reused across different roles

• Executable Documentation• Puppet is your executable documentation • Use for compliance, audits, and knowledge management

• Infrastructure as Code• Use external repositories to store and version Manifests

Page 5: Integrating Puppet with RightScale: Customer Q&A

# 5# 5

Talk with the Experts.

Puppet ConstructsDomain specific language

Manifest• Specific bits of Puppet code

Module• Combination of Manifests which

take on a server role

Node• A physical or virtual server

configured with one or many modules

Page 6: Integrating Puppet with RightScale: Customer Q&A

# 6# 6

Talk with the Experts.

Model-Driven Configuration• Define a desired state• Simulate changes• Enforce changes• Report on changes

and remediate

Page 7: Integrating Puppet with RightScale: Customer Q&A

# 7# 7

Talk with the Experts.

Client / Server Model• Facter polls the node to

understand its state (Facts)

• Master develops a Catalog of how the node should configure

• Node executes the Catalog and reports to the Master

Page 8: Integrating Puppet with RightScale: Customer Q&A

# 8# 8

Talk with the Experts.

Example Manifest

Main package and service

Main configuration file

PostgreSQL Server class

Page 9: Integrating Puppet with RightScale: Customer Q&A

# 9# 9

Talk with the Experts.

RightScale With Puppet

Cloud configuration • Provision and port Puppet

configurations across public and private clouds with Server Templates™

Deployments • Manage Puppet-configured

servers in logical clusters

Automation • Monitor and trigger actions• Auto-scale using Puppet to

reproduce your configurations • Run operational tasks using

RightScripts or Puppet Manifests

Governance • Manage access and security• Track usage• Audit actions

Page 10: Integrating Puppet with RightScale: Customer Q&A

# 10# 10

Talk with the Experts.

Using ServerTemplates and Puppet

ServerTemplates provide portability across public and

private clouds, with a thin OS, RightLink, and RightScale utility

scripts

ServerTemplates include variable inputs for Modules and the Puppet

Master address

Puppet configures the server with the desired modules and settings

RightScripts can be used for backups, log rotation, and more

Page 11: Integrating Puppet with RightScale: Customer Q&A

# 11# 11

Talk with the Experts.

1. Create a Puppet Master and Puppet Client ServerTemplate.

2. Create a new deployment for your Puppet servers.

3. Launch a server using the Puppet Master ServerTemplate.

4. Once the Master is operational, launch a server using the Puppet Client ServerTemplate.

5. You now have a Puppet Master-Client environment that can be monitored, scaled, and automated using RightScale.

So How Do I Get Started?

Page 12: Integrating Puppet with RightScale: Customer Q&A

# 12# 12

Talk with the Experts.

EXAMPLE SLIDES

Page 13: Integrating Puppet with RightScale: Customer Q&A

# 13# 13

Talk with the Experts.

Example: Puppet ServerTemplates

Page 14: Integrating Puppet with RightScale: Customer Q&A

# 14# 14

Talk with the Experts.

Example: Launching a New Node

Page 15: Integrating Puppet with RightScale: Customer Q&A

# 15# 15

Talk with the Experts.

Example: Puppet Node Inputs

Page 16: Integrating Puppet with RightScale: Customer Q&A

# 16# 16

Talk with the Experts.

Example: Up and Running

Page 17: Integrating Puppet with RightScale: Customer Q&A

# 17# 17

Talk with the Experts.

Example: TakeawaysNextdoor Environment• Limited ServerTemplates used• Use RightScale inputs for cloud-specific and RightScale-specific

values. Everything else in Puppet.• We NEVER recycle a hostname. We add the instance-ID so

that we guarantee the hostnames are unique, and we'll never ever have a certificate mismatch.

Page 18: Integrating Puppet with RightScale: Customer Q&A

# 18# 18

Talk with the Experts.

Set up your FREE Private Social Network your neighborhood!

http://www.nextdoor.com

Page 19: Integrating Puppet with RightScale: Customer Q&A

# 19# 19

Talk with the Experts.

ReferenceSetting up Puppet with RightScale

http://support.rightscale.com/06-FAQs/FAQ_0181_-_Does_RightScale_support_Puppet%3F

Page 20: Integrating Puppet with RightScale: Customer Q&A

Talk with the Experts.

Questions?