Upload
rightscale
View
196
Download
15
Embed Size (px)
Citation preview
april25-26
sanfrancisco
cloud success starts here
ServerTemplate Best Practices
Tim Miller, Sr. Director ServerTemplate Development
Cary Penniman, Sr. Software Engineer
#2#2
#RightscaleCompute
Agenda
• Best Practices
• Efficient Development Workflow
• Going to Production
• How to Control Changes
• Customizing
• Data Storage with the Storage Toolbox
• Q/A
#3#3
#RightscaleCompute
Quick Poll
#4
#rightscalecompute
Best Practices
Our Picks
#5#5
#RightscaleCompute
Efficient Development Workflow
• Chef workflow using rsync
• rs_run_recipe –n cookbook::recipe
Run locally first
Avoid re-launch
#6#6
#RightscaleCompute
Going to Production
• Don’t run on HEAD!
• Package Repository Freeze Dates
• Cookbook Repositories
• External Dependencies
#7#7
#RightscaleCompute
Controlling Changes
• Pristine Production, Staging clone for development
• Follow standard branching and merging
#8#8
#RightscaleCompute
Customizing
• Zero change is ideal
• Isolate changes to custom scripts
• Start with Base ServerTemplate for Linux (v13.3)
• Monitoring, Alerts, Firewall, Logging, NTP, etc.
• Latest RightImages
#9#9
#RightscaleCompute
• Keep data in multiple locations!
• Local backups to volumes
• Remote backups to object storage
Data Storage
#10#10
#RightscaleCompute
Data Storage (cont.)
• Get to know the RightScale "Storage Toolbox”
#11#11
#RightscaleCompute
Leveraging the Storage Toolbox
1. Backup data to another
2. Restore data in case of outage
#RightscaleCompute
#12#12
#13#13
#RightscaleCompute
For more information
• ServerTemplate Developer Guide (http://bit.ly/173Boca)
• Chef workflow using rsync (http://bit.ly/100lWHw)
• Prepare for Production (http://bit.ly/17oHz90)
• Base ServerTemplate (http://bit.ly/NZBNGp)
• Storage Toolbox ServerTemplate (http://bit.ly/15fMU5K)
https://github.com/rightscale/rightscale_cookbooks
april25-26
sanfrancisco
cloud success starts here
Questions?