architecting your cloud: lessons learned from 100 cloudstack deployments speaker: shannon williams...

28
Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA contact: Olivier Maes Sr Dir Market Development EMEA, Cloud Platforms [email protected] , twitter: @omaes72

Upload: norman-townsend

Post on 18-Dec-2015

218 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker:

Shannon Williams

Vice President Market Development, Cloud Platforms

EMEA contact:

Olivier Maes

Sr Dir Market Development EMEA, Cloud Platforms

[email protected], twitter: @omaes72

Page 2: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Cloud computing in 10 years

• Computing clouds will have standardized

• Servers/Storage/Networking will be commodities available on demand.

• Applications will be designed to leverage distributed computing resources

• Key questions won’t have changedᵒ Application Performanceᵒ Application Reliabilityᵒ Infrastructure Security/Complianceᵒ Operational Costs

Goal: Deliver applications quicker with more reliably

at a fraction of the current cost.

Page 3: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Cloud computing today

• Start-ups and Web Companies are achieving the 10-year vision todayᵒ Standardizing on big public clouds (Amazon,

Softlayer, BT, Terremark, etc.)ᵒ Designing applications that can leverage

distributed availability zones for reliability

• Enterprises are generally not leveraging cloud computing ᵒ Most apps aren’t written for distributionᵒ Security/Compliance concerns over leveraging

shared resourcesᵒ Proven mechanism for delivering apps

remains standard.

Goal: Provide improved access for developers

and operators.

Page 4: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Today’s goal: provide a basic understanding of different cloud architectures

• Outline a process for defining a cloud

• Describe the building blocks used to deploy a computing cloud

• Look at traditional workloads and cloud workloads

• Consider architectures that meet a broad set of requirements

Page 5: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

•Secure, multi-tenant cloud orchestration platform– Turnkey platform for delivering IaaS clouds– Hypervisor agnostic– Highly scalable, secure and open– Complete Self-service portal– Open source, open standards– Deploys on premise or as a hosted solution

Since 2008 CloudStack has powered hundreds of clouds

Page 6: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Since becoming part of Apache CS has exploded

“It's just amazing! In just 3 months, CloudStack has gone directly to the same level as OpenStack is. This is much steeper community growth than I could have predicted (if anyone had asked me for predictions, that is...).

Source: Cloudstack has proof: Foundations is the way to create a FOSS community http://openlife.cc/blogs/2012/july/cloudstack-has-proof-foundations-way-create-foss-community

Page 7: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

INFRA-STRUCTURE

DEV & TEST

DISASTERRECOVERY

BRIDGE &GATEWAY

BYOPLATFORM

WINDOWSON-DEMAND

YOURSERVICE

ESX Hyper-V XenServer KVM OVM VIRTUALIZATION

Compute StorageNetwork

CloudPlatformPowered by Apache CloudStack

CloudPortal

NetScaler CloudBridge

Page 8: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

CloudPortal Delivers Cloud Apps & the Business Logic

Authentication

Account Provisioning

Account Management

Cloud Management

User Roles

Portal Administration

Account Management

Pricing & Billing

Product Definition

Catalog Management

Usage Tracking

Billing

Payment Processing

CustomerRelationship

Sales CRM

Ticketing / HelpDesk

Community Forums

Service Status

Dashboard

Usage Reporting

Messaging

Alerts

Service Status

CloudPortal

Content Management Customer Relationship Billing Authentication

Liferay Salesforce.com Zuora CAS (LDAP/AD)

Drupal

Plugins

Self Service Cloud Apps

Account S elf Service

Delegated Account Management

Customer Management

Flexible and Extensible SDK

Page 9: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Each cloud drives unique requirements

9

Service Providers EnterpriseWeb 2.0

Page 10: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Implement your environment

Develop your technical architecture

Determine the necessary functionality and performance

Determine how that workload will be delivered reliably

Define target workloads

IaaS Cloud

Architecture definition is a process

Page 11: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Workload categories give us a starting point

11

Traditional Enterprise

ApplicationsSoftware

Development, Testing and

Maintenance

Managed IT Services

High Performance Computing Batch processing

Social Media Applications

Disaster Recovery

Page 12: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Possible to categorize workloads into two sets

Cloud Workloads

Traditional Workload

Reliable hardware, backup entire cloud, and restore for users when failure happens

Cloud Workload

Tell users to expect failure. Users to build apps that can withstand infrastructure failure

Both types of workloads must run reliably in the cloud

Page 13: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

3

2

1

RTO (Recover Time Objective)

RPO

(Rec

over

y Po

int O

bjec

tive)

Mission Critical

Critical

Regular

Reliability & DR are Workload Specific

• Recovery Point Objective (RPO) and

Recovery Time Objective (RTO) should be

determined based on workloads

• Deployment and DR plan should be

designed per RPO, RTO requirements

• Different types of workloads will achieve

workload reliability in different ways

$

$$

$$

Page 14: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Link Aggregation

Storage Multi-pathing

VM HA, Fault Tolerance

VM Live Migration

VM Backup/Snapshots

Multi-site Redundancy

Chaos Monkey

Ephemeral Resources

Traditional Workload Cloud Workload

Expect failure. Design app for failure. Self-service failure handling

Think Amazon Web Services

Expect reliability. Back-up entire cloud. Admin controlled failure handlingThink Server Virtualization 1.0

Workload reliability drives unique requirements

Page 15: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Other functionality will impact design as well

VM Features

• Resizing• High Availabity• Cloning• Monitoring• Windows

Support• Linux Support• Naming• Grouping• Security

Networking Features

• Dedicated user networks

• Integrated Firewall

• Integrated Load Balancing

• IP Address Management

• Multiple Guest Networks

• VPN Termination

• Intrusion Prevention

Storage Features

• Persistent Storage

• Ephemeral Disk

• Automated Disk Snapshots

• Cloud Storage access

• Disk Monitoring

• Encryption

Template Management

• Master Template Library

• User Template upload

• User ISO upload

• Blank VM creation

• Private templates

• Template migration

Management Features

• Delegated Administration

• Live Migration of VMs

• Live Migration of Storage

• Usage Metering

• User Interface• Console Access• Multi-

Hypervisor• Open-Source• Multi-

Datacenter

Page 16: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Every cloud starts with basic building blocks

Servers

Storage

Networking

Hypervisor

Server Clusters

Server Clusters

Server Clusters

Networking

Storage

Resources Availability Zones Clouds

Page 17: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Two sample zone architectures- Traditional server virtualization zone- Amazon-Style availability zone

Page 18: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Designing a zone for a traditional workload

vCenter

ESXi Cluster

ESXi Cluster

ESXi Cluster

Enterprise Networking (e.g., VLAN)

Enterprise Storage (e.g., SAN)

Hypervisor

Storage

SAN

Networking

L2 VLANs

Network Services

Load Balancing PV-LANs

Multi-tier Apps

Multi-tier VLANs OVF

Feature Rich– vSphere, vCenter

Page 19: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Designing a zone for a traditional workload

• Can achieve significant reliability for applications running in one zone.

• Reliability of individual nodes is very high.

• All zone storage is replicated to a second storage platform (synchronous or asynchronous)

• In event of failure, images are recovered from second storage array.

• Existing workloads will run reliably.

• Little cost benefit over existing approaches

vCenter

ESXi Cluster

ESXi Cluster

ESXi Cluster

Enterprise Networking (e.g., VLAN)

Enterprise Storage (e.g., SAN)

Page 20: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Designing a zone for an Amazon-style workload

Hypervisor

Storage

Local EBS

Networking

L3 SDN based L2 Elastic IP

Network Services

Security Groups ELB

Multi-tier Apps

L3 SDN based VPC

Simple - XenServer

Object store

GSLB

CloudFormation

Software Defined Networks (e.g., Security Groups, EIP, ELB,...)

Amazon-Style Availability Zone

Server Racks

Server Racks

Server Racks

Server Racks

Server Racks

Server Racks

Server Racks

Server Racks

Server Racks

Server Racks

Server Racks

Server Racks

Elastic Block Storage

Page 21: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Availability Zone

Availability Zone

Availability Zone

Object Storage

Software Defined Networks (e.g., Security Groups, EIP, ELB,...)

Amazon-Style Availability Zone

Server Racks

Server Racks

Server Racks

Server Racks

Server Racks

Server Racks

Server Racks

Server Racks

Server Racks

Server Racks

Server Racks

Server Racks

Elastic Block Storage

Amazon-Style Cloud

Object store is critical for Amazon-style cloud

CloudStack Mgmt. Server

Page 22: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Availability Zone

Availability Zone

Availability Zone

Object Storage

Amazon-Style Cloud

Object store is critical for Amazon-style cloud

CloudStack Mgmt. Server • Workloads are distributed across

availability zones

• No guarantee on zone reliability

• Applications designed to handle node level failue

• DBs and Templates snapped to object store.

• In event of failure, images are recreated on new availability zone.

• Dramatically less expensive

Page 23: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Cloud Transition – General to Workload specific

• General architecture for any workload

• Limited definitive failure/disaster recovery strategy

• Focused on legacy or cloud app architectures

• Workload-centric architecture

• Workload-specific failure/disaster recovery

• Separate legacy and cloud app architectures with interoperability

Past Today

GeneralArchitecture

Traditional-Style Amazon-Style

Page 24: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Object Storage

vCenter

ESXi Cluster

ESXi Cluster

ESXi Cluster

Enterprise Networking (e.g., VLAN)

Enterprise Storage (e.g., SAN)

Availability Zone

Availability Zone

Availability Zone

Server Virtualization Availability ZoneCloudStack

Mgmt. Server

Support for different styles is required

Page 25: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

CloudStack Management Cluster

San Jose

Miami

London

TokyoHosted Dehli

Hosted Rio

Availability zones will be distributed globally

Page 26: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Private Cloud PublicCloud Services

EnterpriseData Center

• Dedicated resource• Total control/security• Internal network

• Shared resources• Elastic scaling• Pay as you go• Public internet

EnterpriseData Center

ManagedPrivate Cloud

Hosted Private Cloud Federated/HybridCloud Services

3rd partyoperated

Enterprise

3rd party hosted & operated

Multi-tenant Users

• 3rd party owned and operated

• SLA bound• Security• Dedicated resource

• Mix of shared and dedicated resources

• Shared facility and staff

• VPN access

On Premise Hosted

Multi-tenant Users

Availability zones are becoming on-demand

Page 27: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Key takeaways

1. Understand your workload and the type of cloud you want to build.

2. Consider the services you will be delivering from the cloud in the future.

3. Choose a platform and architecture that is flexible enough to support you today and in the future.

Page 28: Architecting Your Cloud: Lessons Learned from 100 CloudStack Deployments Speaker: Shannon Williams Vice President Market Development, Cloud Platforms EMEA

Work better. Live better.