Interested in integrating your configuration management system with cloud management? Many of our largest customers use Puppet in conjunction with RightScale. Join RightScale customer, Matt Wise as he talks about building private clouds and integrating Puppet and RightScale.
Matt has over 12 years experience operating a variety of different datacenter and cloud environments with a heavy focus on automation, reliability and systems performance. Currently at Nextdoor.com, Matt serves as the primary architect for the Production and Development cloud environments serving thousands of Nextdoor.com private neighborhoods. Before Nextdoor, worked at Netflix in the IT Operations team as the Sr. Systems Architect for an internal cloud project based on Cloud.com and RightScale software/service solutions.
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
Integrating Puppet with RightScale: Customer Q&A
1. Integrating Puppet with RightScale
Robert Shroll
Sr Manager, Business Development
Matt Wise
Sr Systems Architect, Nextdoor
2. 2#
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
Talk with the Experts.
4. 4#
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
Talk with the Experts.
5. 5#
Puppet Constructs
Domain 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
Talk with the Experts.
6. 6#
Model-Driven Configuration
• Define a desired state
• Simulate changes
• Enforce changes
• Report on changes
and remediate
Talk with the Experts.
7. 7#
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
Talk with the Experts.
8. 8#
Example Manifest
PostgreSQL Server class
Main package and
service
Main configuration file
Talk with the Experts.
9. 9#
RightScale With Puppet
Cloud configuration Governance
• Provision and port Puppet • Manage access and security
configurations across public • Track usage
and private clouds with • Audit actions
Server Templates™
Deployments Automation
• Manage Puppet-configured • Monitor and trigger actions
servers in logical clusters • Auto-scale using Puppet to
reproduce your configurations
• Run operational tasks using
RightScripts or Puppet
Manifests
Talk with the Experts.
10. 10#
Using ServerTemplates and Puppet
RightScripts can be used for
backups, log rotation, and more
Puppet configures the server with
the desired modules and settings
ServerTemplates include variable
inputs for Modules and the Puppet
Master address
ServerTemplates provide
portability across public and
private clouds, with a thin OS,
RightLink, and RightScale utility
scripts
Talk with the Experts.
11. 11#
So How Do I Get Started?
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.
Talk with the Experts.
17. 17#
Example: Takeaways
Nextdoor 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.
Talk with the Experts.
18. 18#
Set up your FREE Private Social Network your neighborhood!
http://www.nextdoor.com
Talk with the Experts.
19. 19#
Reference
Setting up Puppet with RightScale
http://support.rightscale.com/06-FAQs/FAQ_0181_-_Does_RightScale_support_Puppet%3F
Talk with the Experts.
Matt has over 12 years experience operating a variety of different datacenter and cloud environments with a heavy focus on automation, reliability and systems performance.Currently at Nextdoor.com, Matt serves as the primary architect for the Production and Development cloud environments serving thousands of Nextdoor.com private neighborhoods. Before Nextdoor, worked at Netflix in the IT Operations team as the Sr. Systems Architect for an internal cloud project based on Cloud.com and RightScale software/service solutions.
Coupa: Purchasing and Procurement // Coupa was founded with a singular goal — to optimize the way businesses spend.Playfish: Playfish games are amongst the most acclaimed and popular online, including Pet Society, Restaurant City, FIFA Superstars and Madden NFL Superstars.Zynga: Zynga is the world's leading provider of social game services with more than 240 million monthly active users playing its games, which include CityVille, Zynga Poker, Draw Something, Hidden Chronicles, FarmVille, CastleVille, Words With Friends, Empires & Allies, Scramble With Friends and moreNextdoor: The truly PRIVATE Social Network for your local neighborhoodGreat time to introduce MATT HEREMatt has over 12 years experience operating a variety of different datacenter and cloud environments with a heavy focus on automation, reliability and systems performance.Currently at Nextdoor.com, Matt serves as the primary architect for the Production and Development cloud environments serving thousands of Nextdoor.com private neighborhoods. Before Nextdoor, worked at Netflix in the IT Operations team as the Sr. Systems Architect for an internal cloud project based on Cloud.com and RightScale software/service solutions.
Server Templates “complement” Inputs for Modules and Puppet Master Address
How does the PUPPET node get authenticated ? (Question for Matt)
Now that we go to launch the server, RightScale asks for more inputs. We have two-scripts that are not puppet specific but are actually cloud specific (load balancer, and the mount-volume one). These are not managed by Puppet because they are cloud-specific and would not work in other cloud providers. The Puppet-options are interesting here. We have some default node types that are available for anyone to choose from, or they can override the list and select one that they've built. The additional_facts are a SPACE separated list of key=value pairs that will turn into Puppet Facts.
We use the 'unique_cname' fact to register a human-remember-able hostname for servers that are relatively unique. Tools, DBs, etc. We do not do this for servers that we have in farms (frontends, tileservers, celery workers, etc).Puppet solves the issue of inheritance with small # of SERVER TEMPLATES (Using Puppet to configure itself)