• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Deploying in the Cloud: Why and How
 

Deploying in the Cloud: Why and How

on

  • 1,991 views

Presentation I gave for the Unix Users Association of Southern CA

Presentation I gave for the Unix Users Association of Southern CA

Statistics

Views

Total Views
1,991
Views on SlideShare
1,984
Embed Views
7

Actions

Likes
1
Downloads
0
Comments
0

2 Embeds 7

http://www.linkedin.com 6
http://www.itg.hitachi.co.jp 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Deploying in the Cloud: Why and How Deploying in the Cloud: Why and How Presentation Transcript

    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • Sample Deployment • 4-servers – 2x load balancer/app servers – 2x master/slave database © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 10
    • 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
    • Scale-Out the App • 2x front-ends w/Elastic IPs • 2+N app servers © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 12
    • Back-end Processing © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 13
    • PHOTOS + MUSIC = VIDEO ~8 cpu minutes for each video © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 14
    • in 3.5 days 80 to 3500 servers © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 15
    • Cloud Deployment Life Cycle Manage Design Deploy © 2008 RightScale Inc.—All rights reserved. RightScale Company Confidential 16
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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 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