Your SlideShare is downloading. ×
Deploying in the Cloud:
                      Why and How
      Unix Users Association of Southern CA
                    ...
Agenda
      Welcome to RightScale
      Cloud Deployment Life Cycle
      Deploying in the Cloud
      Autoscaling Server...
Cloud Computing
        On-demand
    •
        Pay-as-you-go
    •
        Virtually infinite
    •
        Surpasses tra...
EXPERTISE




    Cloud Management Platform
                                                         Cloud Applications


...
RightScale Ecosystem
            Customers                                                                                ...
Agile Deployment
    • Agile = automate and benefit!
      – From boot to production on auto-pilot
      – Across differen...
Next Generation Server Architecture
    • “Cloud-ready” servers and clusters
      – More than just running a bundled imag...
RightScale ServerTemplates
    • Base OS image plus the intelligence to
      run RightScripts
    • Boot, Operational and...
Key Benefits: Cloud-Ready Servers
    ✓ Save time and reduce complexity
         - Dynamic configuration
    ✓ Portability...
Sample Deployment

                                 • 4-servers
                                          – 2x load balanc...
Auto Scaling
     • Rules-based system
     • More than just launching an instance
       – Complete system architecture
 ...
Scale-Out the App




                                     • 2x front-ends
                                       w/Elasti...
Back-end Processing




             © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential
13
PHOTOS
        +
      MUSIC
        =
      VIDEO

     ~8 cpu minutes
     for each video




                      © 20...
in 3.5 days
     80 to 3500 servers




      © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential
...
Cloud Deployment Life Cycle


           Manage                                                 Design




               ...
Managing Cloud Deployments
         Resources On Demand
     •
         More Automation
     •
         Less Administratio...
Ongoing Management Tasks
                                        • Migrate to larger instances
      Demand Grows         ...
Deployment Management
     Traditional Way …                                     Cloud Way …
       When software needs to...
Deployment Management
     Traditional Way …                                      Cloud Way …
       When database fails o...
Migrate Database to Larger
     Instance                                                               Clone slave to larg...
Respond to Server Failure                                                                                                 ...
Rollout New Features
                                                   Upgrade In-place

                                ...
Deploy Major System Update
                                        Option 1 – New and Old Co-exist
         www.mysite.com...
Deploy Major System Update
                    Option 2 – Launch Multiple Servers, Flip at Once
         www.mysite.com
  ...
Demonstration




     © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential
26
Q&A - Getting Started
       Contact a RightScale representative for a live
       demonstration or to request presentatio...
Upcoming SlideShare
Loading in...5
×

Deploying in the Cloud: Why and How

1,202

Published on

Presentation I gave for the Unix Users Association of Southern CA

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,202
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Deploying in the Cloud: Why and How"

  1. 1. Deploying in the Cloud: Why and How Unix Users Association of Southern CA January 8th, 2009 Presented by: Matthew Small © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 1
  2. 2. Agenda Welcome to RightScale Cloud Deployment Life Cycle Deploying in the Cloud Autoscaling Servers Ongoing Management Tasks Examples and Demonstrations Q&A – Getting Started © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 2
  3. 3. Cloud Computing On-demand • Pay-as-you-go • Virtually infinite • Surpasses traditional hosting • Multiple server sizes: ½ core to 8 cores – Reassign IPs / VIPs – Multiple failure zones and geographies – Disk Volumes – Cloud interoperability – © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 3
  4. 4. EXPERTISE Cloud Management Platform Cloud Applications EXPERTISE AUTOMATED COMPONENT RightScale & SUPPORT MANAGEMENT LIBRARIES WEB SITE RIGHTSCRIPTS GRID MYSQL MGR Other  Amazon FlexiScale SliceHost GoGrid Clouds © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 4
  5. 5. RightScale Ecosystem Customers Software Vendors Pre‐packaged components Cloud roadmap & portability Expertise & best practices Customer acquisition RightScale Platform Cloud Providers State‐of‐the‐art management system Access to customers & ISV content © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 5
  6. 6. Agile Deployment • Agile = automate and benefit! – From boot to production on auto-pilot – Across different stacks & different clouds – Auto-failover, auto-restart, auto-scale Agile Development Meets Agile Deployment © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 6
  7. 7. Next Generation Server Architecture • “Cloud-ready” servers and clusters – More than just running a bundled image • Dynamic vs. static configuration – Leverage one server model across different deployments – Replicable design – Complete lifecycle management … version control • RightScale ServerTemplates – Define the composition and configuration of your servers – Like burning a CD from a Playlist © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 7
  8. 8. RightScale ServerTemplates • Base OS image plus the intelligence to run RightScripts • Boot, Operational and Decommission Scripts – Configure instances during boot time including installing software and passing environment variables – Reconfiguration with Operational scripts – Decommission scripts • Library of RightScale and Partner Templates or create your own © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 8
  9. 9. Key Benefits: Cloud-Ready Servers ✓ Save time and reduce complexity - Dynamic configuration ✓ Portability - Configure once, deploy multiple times ✓ Do more with less - Complete lifecycle management © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 9
  10. 10. Sample Deployment • 4-servers – 2x load balancer/app servers – 2x master/slave database © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 10
  11. 11. Auto Scaling • Rules-based system • More than just launching an instance – Complete system architecture – Auto configuration into cohesive resilient cluster – Support for workflow and lifecycle management • Addressing multiple business cases – Load: Highly elastic web applications (e.g., Facebook app) – Schedule: Event-based content sites – Queue: Size and time in queue for batch processing needs © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 11
  12. 12. Scale-Out the App • 2x front-ends w/Elastic IPs • 2+N app servers © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 12
  13. 13. Back-end Processing © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 13
  14. 14. PHOTOS + MUSIC = VIDEO ~8 cpu minutes for each video © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 14
  15. 15. in 3.5 days 80 to 3500 servers © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 15
  16. 16. Cloud Deployment Life Cycle Manage Design Deploy © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 16
  17. 17. Managing Cloud Deployments Resources On Demand • More Automation • Less Administration • Full Control • Manage Design Deploy © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 17
  18. 18. Ongoing Management Tasks • Migrate to larger instances Demand Grows • Add more servers • Set up dynamic arrays and auto-scaling New Feature • Stage, Test • Update application servers Rollout • Stage, Test New System • Update servers Software Versions • Restart servers Failures • Failover to new servers • Failover to slave databases © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 18
  19. 19. Deployment Management Traditional Way … Cloud Way … When software needs to be When software needs upgraded, risk in place to be upgraded, launch upgrade and downtime or new servers with purchase duplicate upgraded software; hardware decommission old when new environment stabilizes © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 19
  20. 20. Deployment Management Traditional Way … Cloud Way … When database fails over to When database fails slave, troubleshoot and over to slave, start up fix master new slave When database machine When database needs to be upgraded, machine needs to be either upgrade with no upgraded, launch new redundancy or purchase servers; decommission duplicate hardware; old when new afterward redeploy or environment stabilizes dispose of old hardware © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 20
  21. 21. Migrate Database to Larger Instance Clone slave to large instance 1 Change from small to large slave Launch large slave, wait to synchronize App Srvr Small Small Small Small replication master slave master slave Large slave Failover from small master 2 to large slave Launch new large slave 3 App Srvr App Srvr Terminate old servers Small Small master slave Large Large Large replication slave master master © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 21
  22. 22. Respond to Server Failure 1 www.mysite.com www.mysite.com Clone working server Launch and assign EIP Failing Failing New App Srvr App Srvr App Srvr App Srvr App Srvr master slave master slave replication replication Cross connect app servers Terminate old server 3 2 Connect new app server to master Failing New New App Srvr App Srvr App Srvr App Srvr App Srvr master slave master slave replication replication © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 22
  23. 23. Rollout New Features Upgrade In-place Decommission one server at a time, load www.mysite.com 1 balancer manages demand Update from SVN operational script 2 Apache Apache HAproxy HAproxy Rinse and Repeat 3 App Srvr App Srvr App Srvr V1.0 V2.0 V1.0 V1.0 MySQL MySQL replication master slave © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 23
  24. 24. Deploy Major System Update Option 1 – New and Old Co-exist www.mysite.com www.mysite.com 1 Provision New Server New Launch with Updated App Srvr App Srvr App Srvr App Srvr App Srvr System master slave master slave replication replication Cross connect app servers Terminate old server 3 2 Connect new app server to master Assign EIP New New App Srvr App Srvr App Srvr App Srvr App Srvr master slave master slave replication replication © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 24
  25. 25. Deploy Major System Update Option 2 – Launch Multiple Servers, Flip at Once www.mysite.com Provision New Servers 1 Launch Updated Servers New New App Srvr App Srvr App Srvr App Srvr master slave replication 3 www.mysite.com Cross connect new app servers Terminate old servers 2 Connect new app server to master Assign EIPs New New New New App Srvr App Srvr App Srvr App Srvr App Srvr App Srvr master slave master slave replication replication © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 25
  26. 26. Demonstration © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 26
  27. 27. Q&A - Getting Started Contact a RightScale representative for a live demonstration or to request presentation slides at: sales@rightscale.com (866) 720 – 0208 Sign up for a free developer account at: RightScale.com/FreeTrial Follow one of our Tutorials Wiki.RightScale.com Support Resources Forums.RightScale.com or Help.RightScale.com Thank you for listening! © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 27

×