integrating puppet with rightscale: customer q&a

Post on 20-Aug-2015

1.737 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Integrating Puppet with RightScale

Robert Shroll

Sr Manager, Business Development

Matt Wise

Sr Systems Architect, Nextdoor

# 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

# 3# 3

Talk with the Experts.

Using Puppet and RightScale

# 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

# 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

# 6# 6

Talk with the Experts.

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

and remediate

# 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

# 8# 8

Talk with the Experts.

Example Manifest

Main package and service

Main configuration file

PostgreSQL Server class

# 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

# 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

# 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?

# 12# 12

Talk with the Experts.

EXAMPLE SLIDES

# 13# 13

Talk with the Experts.

Example: Puppet ServerTemplates

# 14# 14

Talk with the Experts.

Example: Launching a New Node

# 15# 15

Talk with the Experts.

Example: Puppet Node Inputs

# 16# 16

Talk with the Experts.

Example: Up and Running

# 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.

# 18# 18

Talk with the Experts.

Set up your FREE Private Social Network your neighborhood!

http://www.nextdoor.com

# 19# 19

Talk with the Experts.

ReferenceSetting up Puppet with RightScale

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

Talk with the Experts.

Questions?

top related