Transcript
Page 1: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

BETTER, FASTER, CHEAPER INFRASTRUCTURE: APACHE

CLOUDSTACK + RIAK CSJohn Burwell

([email protected] | @john_burwell)

Page 2: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

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

Page 3: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

... but I submitted a ticket.

Page 4: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

Better adjust to shifting requirements

Deliver resources and recover from failure faster

Utilize cheaper commodity components without compromising reliability

Page 5: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

1administrator per 10000 servers

Page 6: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

Composable Infrastructure

• Resource Pooling

• Rapid Elasticity

• Self Service

Automated late binding of responsibilities to hardware

Page 7: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

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

Page 8: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

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

Page 9: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

Traditional Workload

Management

Network

Hypervisor����������� ������������������  Cluster

Hypervisor����������� ������������������  Cluster

Shared����������� ������������������  Storage

• Reliable

• Fault tolerant

• Specialized hardware

• IT managed provisioning

• Static scale out model

Focused on resource consolidation not agility

Page 10: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

Cloud Workload• Reliable

• Fault Tolerant

• Commodity Hardware

• Self-Service provisioning

• Control Plane -> Dynamic scale out model

SDN

Rack Rack

Object����������� ������������������  Storage

App App

Resource optimization increases agility

Page 11: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

Traditional Workload

Cloud Workload

Reality

Page 12: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

Got It ... Why Go Private?

• Leverage existing infrastructure investment

• Customization and Control

• Regulatory/Security Requirements

• Cost

Page 13: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

Complete Private Cloud

+

Compute Services Object Storage Services

Page 14: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

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.

Page 15: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

~300: Acknowledged production implementations

~43,000: Hosts in a single CloudStack instance

~100: Project committers

Page 16: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

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

Page 17: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

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.

Page 18: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

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

Page 19: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

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

Page 20: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

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

Page 21: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

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

Page 22: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

Riak CS Use Cases

• Secondary Storage for VM snapshot and template data

• Backup Storage

• Serving Static Content

• Application Log Storage

Page 23: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

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.

Page 24: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

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

Page 25: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

A Complete Private Cloud

Management

Network

Hypervisor����������� ������������������  Cluster

Hypervisor����������� ������������������  Cluster

Shared����������� ������������������  Storage

SDN

Rack Rack

Riak����������� ������������������  CS

App App

Traditional����������� ������������������  Clusters Cloud����������� ������������������  Clusters

CloudStack����������� ������������������  Management����������� ������������������  Server

Page 26: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

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

Page 27: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

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

Page 28: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

Thoughts? Questions?

Page 29: Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux

Thank You

Deck http://slideshare.net/JohnBurwell1Follow @ john_burwell

Email [email protected]


Top Related