BUILDING COMPLETE PRIVATE
CLOUDS WITH APACHE
CLOUDSTACK + RIAK CS
John Burwell
(jburwell@basho.com | @john_burwell)

Wednesday, October 23, 13
Who Am I
•

Consulting Engineer @ Basho Technologies

•

Member, Apache CloudStack PMC

•

Ran operations and designed automated provisioning for hybrid
analytic/virtualization clouds

•

Led architectural design and server-side development of a SaaS
physical security platform

Wednesday, October 23, 13
... but I submitted a ticket.

Wednesday, October 23, 13
Shifting Role Of IT

From Cost Center
To Business Opportunity

Wednesday, October 23, 13
Wednesday, October 23, 13
Agility

Exploitation Requires Rapid Execution
Infrastructure management must be delegated

Wednesday, October 23, 13
Agility

Exploitation Requires Rapid Execution
Infrastructure management must be delegated

Infrastructure Must Become Boring

Wednesday, October 23, 13
Composable Infrastructure

•

Resource Pooling

•

Rapid Elasticity

•

Self Service

•

Metering/Charge Back

Wednesday, October 23, 13
Got It ... Why Go Private?

•

Leverage existing infrastructure investment

•

Customization and Control

•

Regulatory/Security Requirements

•

Cost

Wednesday, October 23, 13
Doesn’t vSphere/
XCP/XenServer
already do that?

Wednesday, October 23, 13
Traditional Workload
•
•

Fault tolerant

•

Management

Reliable

Specialized hardware

•

IT managed provisioning

•

Static scale out model

Wednesday, October 23, 13

Network

Hypervisor
Cluster

Hypervisor
Cluster

Shared
 Storage
Traditional Workload
•
•

Fault tolerant

•

Management

Reliable

Specialized hardware

•

IT managed provisioning

•

Static scale out model

Network

Hypervisor
Cluster

Hypervisor
Cluster

Shared
 Storage

Focused on resource consolidation not agility

Wednesday, October 23, 13
Software Is Eating Hardware
•

Moore’s Law has pulled fault tolerance up the stack

•

Commodity Hardware
•
•

•

Reduced cost
Services more workload types

Dynamic resource allocation

Wednesday, October 23, 13
Software Is Eating Hardware
•

Moore’s Law has pulled fault tolerance up the stack

•

Commodity Hardware
•
•

•

Reduced cost
Services more workload types

Dynamic resource allocation

Specialized Hardware Reduces Agility

Wednesday, October 23, 13
Cloud Workload
•

Reliable

•

Fault Tolerant

•

Self-Service provisioning

•

Control Plane - Dynamic
scale out model

Rack

Rack

App

App

Commodity Hardware

•

SDN

Wednesday, October 23, 13

Object
 Storage
Cloud Workload
•

Reliable

•

Fault Tolerant

•

Self-Service provisioning

•

Control Plane - Dynamic
scale out model

Rack

Rack

App

App

Commodity Hardware

•

SDN

Object
 Storage

Resource optimization increases agility

Wednesday, October 23, 13
Reality

Traditional
Workload

Wednesday, October 23, 13

Cloud
Workload
Complete Private Cloud

+

Compute Services

Wednesday, October 23, 13

Object Storage
Services
What Is Apache CloudStack?

§Open source software that deploys
and manages large networks of
virtual machines, as a highly
available, highly scalable
Infrastructure as a Service (IaaS)
cloud computing platform.
§CloudStack is a Top-Level Project at
the Apache Software Foundation.

Wednesday, October 23, 13
What Is Apache CloudStack?

§Open source software that deploys
and manages large networks of
virtual machines, as a highly
available, highly scalable
Infrastructure as a Service (IaaS)
cloud computing platform.
§CloudStack is a Top-Level Project at
the Apache Software Foundation.

Wednesday, October 23, 13
Apache CloudStack Users

Wednesday, October 23, 13
Anatomy Of CloudStack
•

Management Server Farm
•

•

VM

Network
Host

Collection of clusters in the same failure boundary

Primary
Storage

A grouping of hosts and their associated storage

Hosts
•

•

Collection of pods, network offerings and secondary storage

Cluster
•

•

Host

Pod
•

•

VM

Zone
•

•

Management and provisioning tasks

Cluster

Secondary
Storage

Cluster

Servers onto which services will be provisioned

Primary Storage
CloudStack Pod

•
•

VM disk storage

Network
•

CloudStack Pod

Logical network associated with service offerings
Zone

•

Secondary Storage
•

Template, snapshot and ISO storage

Wednesday, October 23, 13
Primary Vs Secondary Storage
•

Random access read/write

•

Write once/read many

•

Changes often

•

Append only

•

Zone Scoped

•

Zone or Region Scoped

•

Focused on throughput

•

Focused on reliability

Wednesday, October 23, 13
Primary Vs Secondary Storage
•

Random access read/write

•

Write once/read many

•

Changes often

•

Append only

•

Zone Scoped

•

Zone or Region Scoped

•

Focused on throughput

•

Focused on reliability

Secondary Storage is the lifeboat.

Wednesday, October 23, 13
What Is Riak CS?
•

Simple, reliable storage of large objects accessed using the S3 or Swift
API

•

Objects are stored in buckets with a unique key

•

Multi-tenant security model with per object ACLs

•

Usage Accounting and Reporting

•

Open Source (Apache2 Licensed)

Wednesday, October 23, 13
What Is Riak CS?
•

Simple, reliable storage of large objects accessed using the S3 or Swift
API

•

Objects are stored in buckets with a unique key

•

Multi-tenant security model with per object ACLs

•

Usage Accounting and Reporting

•

Open Source (Apache2 Licensed)

Your Own Private S3

Wednesday, October 23, 13
Anatomy Of Riak CS
•

S3/Swift API Proxy + Riak key-value store

•

Peer-to-Peer Design: Any node can service any read or accept
any write request

•

Maintains multiple replicas (default 3) spread across multiple
nodes

•

Ops Friendly

Wednesday, October 23, 13
Anatomy Of Riak CS
•

S3/Swift API Proxy + Riak key-value store

•

Peer-to-Peer Design: Any node can service any read or accept
any write request

•

Maintains multiple replicas (default 3) spread across multiple
nodes

•

Ops Friendly

Horizontally scaleable storage on
commodity hardware

Wednesday, October 23, 13
Riak CS Use Cases

•

Secondary Storage for VM snapshot and template data

•

Database Backup Storage

•

Serving Static Content

•

Application Log Storage

Wednesday, October 23, 13
Achieving Commodity Reliability

•

Create a zone per power source/backbone network connection

•

Establish independent primary storage in each zone

•

Utilize intra-datacenter block-level replication between zones

•

Distribute Riak CS nodes evenly across zones

Wednesday, October 23, 13
The Complete Private Cloud
Traditional

Building Complete Private Clouds with Apache CloudStack and Riak CS

  • 1.
    BUILDING COMPLETE PRIVATE CLOUDSWITH APACHE CLOUDSTACK + RIAK CS John Burwell (jburwell@basho.com | @john_burwell) Wednesday, October 23, 13
  • 2.
    Who Am I • ConsultingEngineer @ Basho Technologies • Member, Apache CloudStack PMC • Ran operations and designed automated provisioning for hybrid analytic/virtualization clouds • Led architectural design and server-side development of a SaaS physical security platform Wednesday, October 23, 13
  • 3.
    ... but Isubmitted a ticket. Wednesday, October 23, 13
  • 4.
    Shifting Role OfIT From Cost Center To Business Opportunity Wednesday, October 23, 13
  • 5.
  • 6.
    Agility Exploitation Requires RapidExecution Infrastructure management must be delegated Wednesday, October 23, 13
  • 7.
    Agility Exploitation Requires RapidExecution Infrastructure management must be delegated Infrastructure Must Become Boring Wednesday, October 23, 13
  • 8.
    Composable Infrastructure • Resource Pooling • RapidElasticity • Self Service • Metering/Charge Back Wednesday, October 23, 13
  • 9.
    Got It ...Why Go Private? • Leverage existing infrastructure investment • Customization and Control • Regulatory/Security Requirements • Cost Wednesday, October 23, 13
  • 10.
    Doesn’t vSphere/ XCP/XenServer already dothat? Wednesday, October 23, 13
  • 11.
    Traditional Workload • • Fault tolerant • Management Reliable Specializedhardware • IT managed provisioning • Static scale out model Wednesday, October 23, 13 Network Hypervisor Cluster Hypervisor Cluster Shared
  • 12.
  • 13.
    Traditional Workload • • Fault tolerant • Management Reliable Specializedhardware • IT managed provisioning • Static scale out model Network Hypervisor Cluster Hypervisor Cluster Shared
  • 14.
     Storage Focused on resourceconsolidation not agility Wednesday, October 23, 13
  • 15.
    Software Is EatingHardware • Moore’s Law has pulled fault tolerance up the stack • Commodity Hardware • • • Reduced cost Services more workload types Dynamic resource allocation Wednesday, October 23, 13
  • 16.
    Software Is EatingHardware • Moore’s Law has pulled fault tolerance up the stack • Commodity Hardware • • • Reduced cost Services more workload types Dynamic resource allocation Specialized Hardware Reduces Agility Wednesday, October 23, 13
  • 17.
    Cloud Workload • Reliable • Fault Tolerant • Self-Serviceprovisioning • Control Plane - Dynamic scale out model Rack Rack App App Commodity Hardware • SDN Wednesday, October 23, 13 Object
  • 18.
  • 19.
    Cloud Workload • Reliable • Fault Tolerant • Self-Serviceprovisioning • Control Plane - Dynamic scale out model Rack Rack App App Commodity Hardware • SDN Object
  • 20.
     Storage Resource optimization increasesagility Wednesday, October 23, 13
  • 21.
  • 22.
    Complete Private Cloud + ComputeServices Wednesday, October 23, 13 Object Storage Services
  • 23.
    What Is ApacheCloudStack? §Open source software that deploys and manages large networks of virtual machines, as a highly available, highly scalable Infrastructure as a Service (IaaS) cloud computing platform. §CloudStack is a Top-Level Project at the Apache Software Foundation. Wednesday, October 23, 13
  • 24.
    What Is ApacheCloudStack? §Open source software that deploys and manages large networks of virtual machines, as a highly available, highly scalable Infrastructure as a Service (IaaS) cloud computing platform. §CloudStack is a Top-Level Project at the Apache Software Foundation. Wednesday, October 23, 13
  • 25.
  • 26.
    Anatomy Of CloudStack • ManagementServer Farm • • VM Network Host Collection of clusters in the same failure boundary Primary Storage A grouping of hosts and their associated storage Hosts • • Collection of pods, network offerings and secondary storage Cluster • • Host Pod • • VM Zone • • Management and provisioning tasks Cluster Secondary Storage Cluster Servers onto which services will be provisioned Primary Storage CloudStack Pod • • VM disk storage Network • CloudStack Pod Logical network associated with service offerings Zone • Secondary Storage • Template, snapshot and ISO storage Wednesday, October 23, 13
  • 27.
    Primary Vs SecondaryStorage • Random access read/write • Write once/read many • Changes often • Append only • Zone Scoped • Zone or Region Scoped • Focused on throughput • Focused on reliability Wednesday, October 23, 13
  • 28.
    Primary Vs SecondaryStorage • Random access read/write • Write once/read many • Changes often • Append only • Zone Scoped • Zone or Region Scoped • Focused on throughput • Focused on reliability Secondary Storage is the lifeboat. Wednesday, October 23, 13
  • 29.
    What Is RiakCS? • Simple, reliable storage of large objects accessed using the S3 or Swift API • Objects are stored in buckets with a unique key • Multi-tenant security model with per object ACLs • Usage Accounting and Reporting • Open Source (Apache2 Licensed) Wednesday, October 23, 13
  • 30.
    What Is RiakCS? • Simple, reliable storage of large objects accessed using the S3 or Swift API • Objects are stored in buckets with a unique key • Multi-tenant security model with per object ACLs • Usage Accounting and Reporting • Open Source (Apache2 Licensed) Your Own Private S3 Wednesday, October 23, 13
  • 31.
    Anatomy Of RiakCS • S3/Swift API Proxy + Riak key-value store • Peer-to-Peer Design: Any node can service any read or accept any write request • Maintains multiple replicas (default 3) spread across multiple nodes • Ops Friendly Wednesday, October 23, 13
  • 32.
    Anatomy Of RiakCS • S3/Swift API Proxy + Riak key-value store • Peer-to-Peer Design: Any node can service any read or accept any write request • Maintains multiple replicas (default 3) spread across multiple nodes • Ops Friendly Horizontally scaleable storage on commodity hardware Wednesday, October 23, 13
  • 33.
    Riak CS UseCases • Secondary Storage for VM snapshot and template data • Database Backup Storage • Serving Static Content • Application Log Storage Wednesday, October 23, 13
  • 34.
    Achieving Commodity Reliability • Createa zone per power source/backbone network connection • Establish independent primary storage in each zone • Utilize intra-datacenter block-level replication between zones • Distribute Riak CS nodes evenly across zones Wednesday, October 23, 13
  • 35.
    The Complete PrivateCloud Traditional