servertemplate deep dive

Download ServerTemplate Deep Dive

Post on 20-Aug-2015

1.616 views

Category:

Technology

2 download

Embed Size (px)

TRANSCRIPT

  1. 1. ServerTemplate Deep Dive:Cloud Server Automation Made EasyJanuary 13, 2011
  2. 2. Your Panel Today
    Presenting:
    • Darryl Eaton Director, Product Management at RightScale
    • 3. Chris Horne Director, Product Marketing at RightScale
    • 4. SanketNaik Sr. Director, Operations at Coupa.com
    Q&A:
    • Chris Williams, Account Manager
    Please use the questions window to ask questions any time!
  3. 5. Agenda
    • Introduction to RightScale
    • 6. Introduction to ServerTemplates
    • 7. How Coupa is leveraging ServerTemplates
    • 8. How to Get Started
    • 9. Some Best Practices
    • 10. ServerTemplate Library & Contest
    • 11. Summary & Conclusions
    Please use the questions window to ask questions any time!
  4. 12. RightScale Real Customers, Real Deployments, Real Benefits
    Managing Cloud Deployments for 4 Years
    More than 30,000 users; launched almost 2,000,000 servers
    On-Demand with a range of customer service offerings
  5. 13. What are ServerTemplates?
    Virtual Machine Images
    Standard Cloud Images
    ServerTemplates
  6. 14. What are ServerTemplates?
    Configuring servers
    through bundling Images:
    Configuring servers
    with ServerTemplates:
    Custom MySQL 5.0.24 (CentOS 5.2)
    Custom MySQL 5.0.24 (CentOS 5.4)
    A set of configuration directives that will install and configure software on top of the base image
    MySQL 5.0.36 (CentOS 5.4)
    MySQL 5.0.36 (Ubuntu 8.10)
    MySQL 5.0.36 (Ubuntu 8.10) 64bit
    Frontend Apache 1.3 (Ubuntu 8.10)
    Frontend Apache 2.0 (Ubuntu 9.10) - patched
    CMS v1.0 (CentOS 5.4)
    CMS v1.1 (CentOS 5.4)
    My ASP appserver(windows 2008)
    My ASP.net(windows 2008) security update 1
    Base Image
    Very few and basic
    My ASP.net(windows 2008) security update 8
    SharePoint v4 (windows 2003) 32bit
    SharePoint v4 (windows 2003) 64bit
    Win 2003
    CentOS 5.2
    Ubuntu 8.10
    SharePoint v4.5 (windows 2003) 64bit
    CentOS 5.4
    Win 2007
    Ubuntu 9.10

  7. 15. What are ServerTemplates?
    Anatomy of a
    ServerTemplate
    Example ServerTemplate
    MySQL 5.0
    RightScript/Recipe 6
    Initialize slave


    operations
    operations
    RightScript/Recipe 6
    Perform backup
    RightScript/Recipe N
    Start all services


    RightScript/Recipe 5
    Setup DNS and IPs
    RightScript/Recipe 4
    Restore last backup
    boot sequence
    boot sequence
    RightScript/Recipe 3
    Configure/tune MySQL
    RightScript/Recipe 2
    Install MySQL Server
    RightScript/Recipe 1
    Install monitoring
    Base Image
    Right Image
  8. 16. What do they help me do?
    Affect Cloud Resources and specify cloud properties(image, instance type, ssh key, security groups, etc.)
    Record everything you do to set up a server (install software, edit configuration files, start services, etc.)
    Extract variable configuration information [as Inputs]
    Define custom monitors and alerts
    Keep versions of your configurations, images, scripts
    Share best practices within your organization, or to the world
    Incorporate best practices from others, and receive updates
  9. 17. Coupa Cloud Spend Management
    Goal - Focus on core business & scale with lean operations team
    Ruby on Rails the cloud platform
    ServerTemplates are re-usable for each stage of SDLC
    Coupa benefits from community contributions as accelerators
    sanket.naik@coupa.com
  10. 18. Environment Lifecycle Management
    Production
    Staging
    Test
    Developer
    load bal
    apache
    apache
    app server
    app server
    app server
    api server
    all-in-one
    backgrnd
    backgrnd
    backgrnd
    database
    database
    database
  11. 19. Sounds great How do I get started?
    Two options: Start from Scratch or Search the Library
    and add a RightScript:
  12. 20. Mix-n-Match Pre-Built Components
    You can mix & match scripting languages on same template: Bash, PowerShell, Chef, Python, Ruby
  13. 21. Some Key Best Practices
    Add new scripts vs. modifying existing scripts
    If you import a ServerTemplate from the Library, try not to change the existing scripts. Instead, add new ones at the end and overwrite previous operations/configurations.That way, it will be easier to incorporate any future updates.
    Design idempotent systems
    When writing scripts that create/modify configurations files, make them idempotent. If the script is run twice, it will not destroy the configuration (e.g. > instead of >> for a new file).
    Kill processes before you (re)start them remember that often, people may just be pressing a play button in our interface
    Trap errors informatively
    Ensure everything is in the right place, exit -1 if not: you want your server to strand appropriately with descriptive messages
    Leverage existing knowledge and assets
    Learn from others peruse other templates in the Library
  14. 22. What if Ive already created an image?
    No Problem RightScale-enable your image
    Install RightLink Agent# rpm -i rightscale_5.3.0-centos_5.4-i386.rpm-or-
    Rebundle
    Tag the image as RS-enabledprovides:rs_agent_type=right_link
  15. 23. ServerTemplate Library
    The RightScale Library holds published ServerTemplates, RightScripts, MultiCloud Images, and Macros
    Public templates are available to the world searchable, browsable, importable
    Company templates are available to your organization
    ISV CE templates can be public, paid templates shared with specific customers
  16. 24. ServerTemplate Showdown Q4 2010
    Winner for most Useful!
    Winner for Most Innovative!
    Set up a standalone OpenLDAP server or a Provider-Consumer pair with backups!
    Create your own CDN by deploying these globally with load balancing.
  17. 25. Why publish your ServerTemplates?
  18. 26. Accelerator for Initial Deployment
    Human Capital
    RightScale gave us the ability to get up and running quickly.It would have taken three to four times the man-hours to complete our initial deployment.
    Mobile Platform Provider
    Since we have been using RightScale as part of our solution, our new customer deployment time has gone from roughly a week to a day a time savings of about 85%.
    Internet Service Developer
    Initial Deployment
    Cloud APIs or Consoles
    RightScale
    Efficiency Gains
    67-85%
    Time
  19. 27. Reduce Effort of Ongoing Maintenance
    We would spend twice the time managing our cloud deployments without RightScale.
    Research Institute
    "Starting with an existing deployment takes the time to deploy a new application to minutes, literally a reduction in cycle time.
    Major pharmaceutical
    Human Capital
    Initial Deployment
    Ongoing Maintenance
    Cloud APIs or Consoles
    RightScale
    Efficiency Gains
    67-85%
    Efficiency Gains
    50-90%
    Time
  20. 28. ServerTemplates = Cloud-Ready Servers
  21. 29. Q&A / Getting Started
    Have a project, but need some help?
    Contact us: sales@rightscale.com or (866) 720-0208
    Ready to get started?
    Sign up for our Free Edition:www.RightScale.com/Free
    Call us for a VIP trial of our paid editions
    http://support.rightscale.com/12-Guides/Getting_Started
    Need to learn more?
    TCO calculator:www.RightScale.com/tco-calculator
    Webinar archive: www.RightScale.com/webinars
    White papers: www.RightScale.com/whitepapers
  22. 30. Thank You!
  23. 31. Customer Example: Eli Lilly
    IT Group maintains one compliant Golden Image
    ServerTemplates encapsulate common scientific use cases
    IT publishes internally to appropriate teams
    Teams can access and launch approved templates themselves
    Alongside the elastic cloud approach, Lilly is leveraging RightScale's infrastructure management interface and services against appliance/application stacks in a "vending machine" concept that allows self-service to infrastructure and up to three tiers of applications as needed.
    25 Top Information Managers: 2010
    Dave Powers, Eli Lilly & Co.
  24. 32. ISV Example: IBM
    Encapsulating best practices for using IBM software on the cloud
    Lead generation for the IBM Sales team (upgrade from Community Edition)
    View aggregated usage data for all templates and revisions
    Working with RightScale on related Solution Packs
  25. 33. Developer Example: nginx+Apache
    Most Imported Submission (even though for paid only)
    Gain notoriety by showing your expertise
    Build a consulting business off shared best practices
    Winner for Most Popular!
  26. 34. More Winners!
    Winner for most Useful!
    Winner for Most Innovative!
    Set up a standalone OpenLDAP server or a Provider-Consumer pair with backups!
    Create your own CDN by deploying these globally with load balancing.
  27. 35. Beyond Machine Images
    Problems With Machine Images
    Monolithic
    Not modular
    Opaque
    Difficult to inspect, audit, change, version control
    Large
    90% is uninteresting, hard to locate interesting tidbits
    Ex: only the apache config file may be interesting
    Ex: new version of apache -> 1000s of changed files
  28. 36. ServerTemplates Alternative
    Modular building block approach
    Configuration scripts (RightScripts)
    Chef cookbooks & recipes
    A ServerTe