chef configuration management with rightscale - rightscale compute 2013

26
april25-26 sanfrancisco cloud success starts here Chef Configuration Management with RightScale Raphael Simon, Sr. Systems Architect, RightScale Ryan O’Leary, Product Manager, RightScale

Upload: rightscale

Post on 20-Aug-2015

626 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Chef Configuration Management With RightScale - RightScale Compute 2013

april25-26 sanfrancisco

cloud success starts here

Chef Configuration Managementwith RightScaleRaphael Simon, Sr. Systems Architect,

RightScaleRyan O’Leary, Product Manager, RightScale

Page 2: Chef Configuration Management With RightScale - RightScale Compute 2013

# 2# 2

#RightscaleCompute

Elegant Software

Page 3: Chef Configuration Management With RightScale - RightScale Compute 2013

# 3# 3

#RightscaleCompute

Chef @ RightScale History• First integration ~ 3 years ago• Chef only ServerTemplates 12H1 ~ 1 year ago• Private and OS Chef support through Chef ServerTemplate ~ next

week

• Going forward: tighter integration

Page 4: Chef Configuration Management With RightScale - RightScale Compute 2013

# 4# 4

#RightscaleCompute

RightScale ServerTemplate Teamo 16 ServerTemplates

• Application servers, database managers, load balancers, all-in-ones

o ~75 RightScripts• Thousands of line of bash code• OS conditionals and cloud conditionals throughout• Idempotency checking was laborious

o More Clouds, More OSs = Maintenance Nightmare!

Page 5: Chef Configuration Management With RightScale - RightScale Compute 2013

# 5# 5

#RightscaleCompute

RightScale: Why Chef?o Idempotency

• Files, packages, resources, etc – all built-in• Easy to make your code idempotent (only_if, not_if)

o System resource abstractions and utilities• No need for platform-specific checks or actions• Resource notifications

o Built-in parsing and availability of system configuration info

o Strong open source community• Many cookbooks are already available• Help available when you need it

Page 6: Chef Configuration Management With RightScale - RightScale Compute 2013

# 6# 6

#RightscaleCompute

Impact of Chef at RightScaleo RightScript-based ServerTemplate releases

• ~6 month release cycle• 16 ServerTemplates• ~50 total automated tests

o Chef-based ServerTemplate releases• ~2 month release cycle• 23 ServerTemplates• ~2500 total automated tests

5X increase in bandwidth

Page 7: Chef Configuration Management With RightScale - RightScale Compute 2013

# 7# 7

#RightscaleCompute

Running Chef in RightScaleo Single pane of glass for application management

throughout its lifecycle

o All of the other cloud management utilities that you need, built-in

Page 8: Chef Configuration Management With RightScale - RightScale Compute 2013

# 8# 8

#RightscaleCompute

Cloud Application Automationo Monitor system resources across your deploymento Configure alerts for notifications or to trigger actionso Auto-scaling on any cloudo Integrate with your systems using a single APIo Orchestrate across your servers/deployments using

CloudFlow

Page 9: Chef Configuration Management With RightScale - RightScale Compute 2013

# 9# 9

#RightscaleCompute

Deployment Organizationo Organize your servers and services into Deployments

for better visibility and automationo Configure Deployment-level settings, permissions,

monitoring, and alerts

Page 10: Chef Configuration Management With RightScale - RightScale Compute 2013

# 10# 10

#RightscaleCompute

User and Permissions Managemento Create user accounts with role-based permissions

• SSO available

o Managed SSH available on all instanceso Coming soon: IAM and granular permissions

Page 11: Chef Configuration Management With RightScale - RightScale Compute 2013

# 11# 11

#RightscaleCompute

Cost Forecasting and Detailed Reportingo Forecast costs based on historical data and estimated

future cloud service usageo Run detailed, regular reports for auditing and

chargeback purposes• Export reports into your accounting systems• Report per cloud, per service• Custom resource tagging and reporting

Page 12: Chef Configuration Management With RightScale - RightScale Compute 2013

# 12# 12

#RightscaleCompute

RightScale + Chef or Chef + RightScale ?o For RightScale users: RightScale Chef

Built-in configuration engine Benefit from the Chef DSL Going forward: Make cookbooks first class abstraction in

RightScale

o For Chef users: Chef integration Chef client ServerTemplate: easy on-ramp to RightScale Take advantage of governance, monitoring and some automation Going forward: RightScale connector to Chef

Page 13: Chef Configuration Management With RightScale - RightScale Compute 2013

# 13

#RightscaleCompute

Chef for RightScale UsersRightScale Chef

Page 14: Chef Configuration Management With RightScale - RightScale Compute 2013

# 14# 14

#RightscaleCompute

RightScale Chef, Design – RepoPathso Define your Chef cookbook repositorieso Create RepoPaths to group and order them

Page 15: Chef Configuration Management With RightScale - RightScale Compute 2013

# 15# 15

#RightscaleCompute

RightScale Chef, Design – ServerTemplateso Attach RepoPaths to

ServerTemplates

o Define boot sequence, operational recipes and decommission sequence using recipes from cookbooks in the RepoPath

o Publish / import RightScale Chef based ServerTemplates

Page 16: Chef Configuration Management With RightScale - RightScale Compute 2013

# 16# 16

#RightscaleCompute

RightScale Chef, Runtimeo RightScale uploads and replicates cookbooks to

reposeo RightLink downloads cookbooks to instanceo RightLink configures and runs Chef:

1. Merge RightScale inputs into Chef node2. Add RightLink resources (tag, server collection, remote

execution)

Git

SVN

URL reposeInstance

Scraper

RightLink

Page 17: Chef Configuration Management With RightScale - RightScale Compute 2013

# 17# 17

#RightscaleCompute

RightScale Chef, Future

Page 18: Chef Configuration Management With RightScale - RightScale Compute 2013

# 18# 18

#RightscaleCompute

RightScale Chef, Futureo No RepoPath: Attach cookbooks directly to ServerTemplates

insteado Marketplace: Publish cookbooks to the MultiCloud Marketplaceo Runlists: Attach runlists (Chef roles) to ServerTemplateso Knife: Upload and download cookbooks from RightScale using

knifeo Cookbooks: View cookbook contents (including recipes) in

RightScale

Page 19: Chef Configuration Management With RightScale - RightScale Compute 2013

# 19# 19

#RightscaleCompute

RightScale Chef, SummaryComplete Integration with RightScale

o Design: leverage inputs, ServerTemplates, MultiCloud Marketplace

o Manage: automate, take advantage of tags, server collections and remote execution of scripts

o Benefit: same technology used internally to build our ServerTemplates

“RightScale and Chef are better together”

Page 20: Chef Configuration Management With RightScale - RightScale Compute 2013

# 20

#RightscaleCompute

RightScale for Chef UsersHosted and Open Source Chef in RightScale

Page 21: Chef Configuration Management With RightScale - RightScale Compute 2013

# 21# 21

#RightscaleCompute

Chef Client ServerTemplateo Available in the MultiCloud Marketplace next weeko Connect to existing Chef infrastructureo Customize ServerTemplate to enable automationo Use the RightScale knife plugin just released by Cary!

https://github.com/caryp/knife-rightscale

2. Cookbooks Role ...

1. Chef Server config

3. Monitoring data

Hosted Chef / Chef Server

InstanceRightScale(Chef Client ServerTemplate)

Page 22: Chef Configuration Management With RightScale - RightScale Compute 2013

# 22# 22

#RightscaleCompute

Future: Chef Server Connectoro Connect RightScale to existing Chef infrastructure

Import cookbooks to RightScale Design ServerTemplate in RightScale Configure instance using existing Chef infrastructure

o Full Integration (leverage inputs, automation, etc.)

3. Cookbooks Role ...

2. Chef Server config

4. Audit entries Monitoring data

Hosted Chef / Chef ServerInstanceRightScale

1. Cookbooks, roles, attributes …

Page 23: Chef Configuration Management With RightScale - RightScale Compute 2013

# 23# 23

#RightscaleCompute

Hosted Chef and Chef Server Integration, Summaryo Available now (next week) using the Chef Client

ServerTemplate

o Deeper integration in the works

o Take advantage of the RightScale platform without changing anything to your existing configuration development process

Page 24: Chef Configuration Management With RightScale - RightScale Compute 2013

# 24

#RightscaleCompute

SummaryMake RightScale Yours

Page 25: Chef Configuration Management With RightScale - RightScale Compute 2013

# 25# 25

#RightscaleCompute

Summary, Your Choice

• If you don’t need or don’t want to run Chef, use RightScale’s native configuration engine. Use RightScripts and/or RightScale Chef.

• If you are already running Chef and want to take advantage of RightScale’s automation, governance or reporting capabilities use the Chef integration (Client ServerTemplate today, Chef connector in the future)

“RightScale and Chef are better together”

Page 26: Chef Configuration Management With RightScale - RightScale Compute 2013

april25-26 sanfrancisco

cloud success starts here

Questions?