Slide 1

Slide 1 text

BETTER, FASTER, CHEAPER INFRASTRUCTURE: APACHE CLOUDSTACK + RIAK CS John Burwell ([email protected] | @john_burwell)

Slide 2

Slide 2 text

Who Am I • Senior Software Engineer @ Basho Technologies • Member, Apache CloudStack PMC • Ran operations and designed automated provisioning for hybrid analytic/virtualization cloud infrastructures • Led architectural design and server-side development of a SaaS physical security platform

Slide 3

Slide 3 text

... but I submitted a ticket.

Slide 4

Slide 4 text

Better adjust to shifting requirements Deliver resources and recover from failure faster Utilize cheaper commodity components without compromising reliability

Slide 5

Slide 5 text

1administrator per 10000 servers

Slide 6

Slide 6 text

Composable Infrastructure • Resource Pooling • Rapid Elasticity • Self Service Automated late binding of responsibilities to hardware

Slide 7

Slide 7 text

Doesn’t vSphere/ XCP/XenServer already do that?

Slide 8

Slide 8 text

Software Is Eating Hardware • Moore’s Law has pulled fault tolerance up the stack • Commodity Hardware • Reduced cost • Services wider range of workloads • Dynamic resource allocation Specialized Hardware Reduces Agility

Slide 9

Slide 9 text

Traditional Workload Management Network Hypervisor

Slide 10

Slide 10 text

Cloud Workload • Reliable • Fault Tolerant • Commodity Hardware • Self-Service provisioning • Control Plane -> Dynamic scale out model SDN Rack Rack Object

Slide 11

Slide 11 text

Traditional Workload Cloud Workload Reality

Slide 12

Slide 12 text

Got It ... Why Go Private? • Leverage existing infrastructure investment • Customization and Control • Regulatory/Security Requirements • Cost

Slide 13

Slide 13 text

Complete Private Cloud + Compute Services Object Storage Services

Slide 14

Slide 14 text

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.

Slide 15

Slide 15 text

~300: Acknowledged production implementations ~43,000: Hosts in a single CloudStack instance ~100: Project committers

Slide 16

Slide 16 text

Anatomy Of CloudStack • Management Server Farm • Management and provisioning tasks • Zone • Collection of pods, network offerings and secondary storage • Pod • Collection of clusters in the same failure boundary • Cluster • A grouping of hosts and their associated storage • Hosts • Servers onto which services will be provisioned • Primary Storage • VM disk storage • Network • Logical network associated with service offerings • Secondary Storage • Template, snapshot and ISO storage Zone CloudStack Pod Cluster ! Host ! Host Network Primary Storage VM VM CloudStack Pod Cluster Secondary Storage

Slide 17

Slide 17 text

Primary Vs Secondary Storage • Random access read/write • Changes often • Zone Scoped • Focused on throughput • Write once/read many • Append only • Zone or Region Scoped • Focused on reliability Secondary Storage is the compute lifeboat.

Slide 18

Slide 18 text

Secondary Storage Vm • Required for secondary storage operation • Separates data transfer operations from the control plane • Transfers data and manipulates secondary storage as directed by the management server • Dynamically scaled by the management server • An SSVM template is required and its installation is an additional step

Slide 19

Slide 19 text

What Is Object Storage? • Stores large, immutable, chunks of unstructured data referenced through a unique key • Objects live in a unique global namespace (e.g. bucket) • Simple interface that provides uniform access to distributed storage • Typically provide redundancy and replication in software allowing the use commodity JBOD storage

Slide 20

Slide 20 text

What Is Riak CS? • Simple, reliable storage of large objects accessed using the S3 or Swift API • Multi-tenant security model with per object ACLs • Usage Accounting and Reporting • Open Source (Apache2 Licensed) Your Own Private S3

Slide 21

Slide 21 text

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 scalable storage on commodity hardware

Slide 22

Slide 22 text

Riak CS Use Cases • Secondary Storage for VM snapshot and template data • Backup Storage • Serving Static Content • Application Log Storage

Slide 23

Slide 23 text

Using Riak Cs With CloudStack • Create a user account and bucket for CloudStack — the user’s ACLs should be restricted to the CloudStack bucket • In CloudStack, define an S3 secondary storage resource using the Riak CS cluster’s end point, the CloudStack account’s credentials, and the CloudStack bucket name • Create an NFS share to stage files sized to meet peak snapshot and VM creation load. This share is scratch space to support hypervisors that can not directly stream objects.

Slide 24

Slide 24 text

Achieving Commodity Reliability • Create a zone per power source/backbone network connection • Establish independent primary storage in each zone with block- level replication between zones • Utilize Riak CS for secondary storage — evenly distributing nodes across zones • Distribute application instances across all zones

Slide 25

Slide 25 text

A Complete Private Cloud Management Network Hypervisor

Slide 26

Slide 26 text

Up And Running With Riak CS • Learn more @ http://basho.com/riak-cloud-storage • Grab it @ http://docs.basho.com/riakcs/latest/riakcs- downloads/ • Follow us @basho • Help from the [email protected] mailing list or on FreeNode @ #riak • Contribute @ http://github.com/basho/riak_cs

Slide 27

Slide 27 text

Join Our Community • Learn more @ http://cloudstack.apache.org • Grab it @ http://cloudstack.apache.org/downloads.html • Follow us @cloudstack • Help from the [email protected] mailing list or on Freenode @ #cloudstack • Contribute on the [email protected] mailing list or on Freenode @ #cloudstack-dev

Slide 28

Slide 28 text

Thoughts? Questions?

Slide 29

Slide 29 text

Thank You Deck http://slideshare.net/JohnBurwell1 Follow @ john_burwell Email [email protected]