Leveraging The Clouds For Reliable Web Applications Presentation

31
© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential 1 Thorsten von Eicken CTO Right Scale

description

 

Transcript of Leveraging The Clouds For Reliable Web Applications Presentation

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential1

Thorsten von EickenCTO RightScale

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential2

Fully automated on-demand provisioning of compute resources

1. Inf inite comput ing resources2. Available on-demand3. Pay per use4. Delivered across the Internet

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential3

Compute infrast ructure is undif ferent iated heavy lif t ing

Demand is hard to predict

Peak usage much higher than average

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential4

Applicat ions in the Cloud

Plat forms in the Cloud

Infrast ructure in the Cloud

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential5

Examples: SaaSofferingsSalesforce.comGoogle appsEbay

hardware

platform

applicationdata

User Cloud

CRM appOffice appsCommunication apps

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential6

Examples:Google App EngineForce.comRackspace Mosso

hardware

platform

application

data

User Cloud

RailsPythonJava.Net

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential7

Examples:Amazon Web ServicesFlexiscaleGoGridand many more to come

hardware

platform

application

data

User Cloud

ServersStorageNetworkLoad balancing

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential8

Infrast ructure cloudsj ust providebuilding blocks!

RightScale: automate server deploymentfrom server ready to server in product ion

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential9

Up-front costs

Peak vs. average

Dev & Test

Gridtime

hardwareload

time

peak loadaverage load

load

mon tue wed thu fri sat sun

clone

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential10

Automated infrast ructureOn-demand provisioning, pay-per useAPIs allowing higher levels of automat ion

Automated configurat ionFrom boot to product ion on auto-pilotCloning/ replicat ion of set -ups

Automated managementMonitoring, alerts, SLAs -> act ions

cloudinfrastructure

RightScale CloudManagement

Platform

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential11

MySQLmaster

MySQLslave

App Srvr App Srvr

replication

Apache Apache

www.mysite.com

HAproxy HAproxy

2x load balancers2x app serversMysql master/ slave

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential12

MySQLmaster

MySQLslave

App Srvr App Srvr

replication

Apache Apache

www.mysite.com

HAproxy HAproxy

App Srvr1/array

App SrvrN/array

Scale-upApp server load > 50%Maj orit y vot ingAdd app serversTie into load bal & db

Scale-downApp server load < 20%Maj orit y vot ing

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential13

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential14

Load exceeds threshold

Additional servers operational

Load drops below thresholdAdditional servers terminated

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential15

~8 cpu minutesfor each video

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential16

in 3.5 days80 to 3500 servers

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential17

MySQLmaster

MySQLslave

App Srvr App Srvr

Apache Apache

www.mysite.com

HAproxy HAproxy

App Srvr1/array

App SrvrN/array

MySQLmaster

MySQLslave

App Srvr App Srvr

Apache Apache

test.mysite.com

HAproxy HAproxy

App Srvr1/array

App SrvrN/array

clone

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential18

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential19

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential20

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential21

Up-front costs

Peak vs. average

Dev & Test

Gridtime

hardwareload

time

peak loadaverage load

load

mon tue wed thu fri sat sun

clone

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential22

TechnologyAutomat ionArchitectures

Securit yRedundancy / service level agreements

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential23

Regulatory complianceSarbanes-Oxley, PCI, SAS-70, ISO17799,

Needed:Security audit statements provided by cloud vendors

Status: when?Note Amazon s Security Whitepaper

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential24

Value of SLAsMonetary damagesDefinit ion of acceptable service

Redundancy through cloud-portabilit yShif t resources!

within a cloudacross clouds

No free lunch: costs vary

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential25

Amazon Web ServicesLinux & Solaris ServersDisk VolumesPersistent StorageWork Queues

FlexiScale UKLinux & Windows ServersDisk Volumes

GoGridLinux & Windows ServersDisk VolumesLoad balancing

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential26

Amazon Web ServicesLinux & Solaris ServersDisk VolumesPersistent StorageWork Queues

FlexiScale UKLinux & Windows ServersDisk Volumes

GoGridLinux & Windows ServersDisk VolumesLoad balancing

RightScale Cloud Management Plat form

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential27

MySQLmaster

MySQLslave

App Srvr App Srvr

Apache Apache

www.mysite.com

HAproxy HAproxy

App Srvr1/array

App SrvrN/array

MySQLmaster

MySQLslave

App Srvr App Srvr

Apache Apache

dr.mysite.com

HAproxy HAproxy

App Srvr1/array

App SrvrN/array

Primary deployment DR deployment

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential28

Zone 2Zone 1

MySQLmaster

MySQLslave

App Srvr

LB1 LB3

App Srvr App Srvr

LB2

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential29

How Similar are the various Clouds?It depends

Server persistency, IP address mapping, load balancing, disk volumes reassignment ,

Converging!RightScale approach: templates and tools

Same building blocks and librariesTools to help bridge dif ferences(Not a lowest common denominator approach)

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential30

Servers on-demandDisk Volumes on-demandMult iple datacentersReassign IPs / VIPs across datacentersMult iple geographiesMult iple providers

Automat ion tying it all together

© 2007 RightScale Inc. All rights reserved. RightScale Company Confidential31

Dashboardw/ automat ionReady-to-go applicat ion stacks

Fully customizable and extensibleSet -up help & supportSupport for mult iple cloudsAutomat ion driven by monitoring and alerts