17
Cloud Native Storage May 17, 2017 Webinar Series

Webinar Series Storage Cloud Native · Webinar Series Past deck we copied out Mark. Your Presenters Mark Balch Eric Han Clint Kitson ... Common abstraction of core capabilities (size,

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Webinar Series Storage Cloud Native · Webinar Series Past deck we copied out Mark. Your Presenters Mark Balch Eric Han Clint Kitson ... Common abstraction of core capabilities (size,

Cloud Native Storage

May 17, 2017

Webinar Series

MarkPast deck we copied out

Page 2: Webinar Series Storage Cloud Native · Webinar Series Past deck we copied out Mark. Your Presenters Mark Balch Eric Han Clint Kitson ... Common abstraction of core capabilities (size,

Your Presenters

Mark Balch Eric Han Clint Kitson

VP of Products and Marketing, Diamanti@markbalch

VP of Product Management, Portworx@eric7han

Technical Director, {code} by Dell EMC@clintkitson

Mark

Page 3: Webinar Series Storage Cloud Native · Webinar Series Past deck we copied out Mark. Your Presenters Mark Balch Eric Han Clint Kitson ... Common abstraction of core capabilities (size,

Storage in CNCF Reference Architecture

3

Application Definition/ Development

Orchestration & Management

Runtime

Provisioning

Infrastructure (Bare Metal/Cloud)

Resource Management

Cloud Native – Network

Mark

Infrastructure Automation

● Compute● Network● Storage

Cloud Native – Storage

● Volume Drivers/Plugins● Local Storage Management● Remote Storage Access

Page 4: Webinar Series Storage Cloud Native · Webinar Series Past deck we copied out Mark. Your Presenters Mark Balch Eric Han Clint Kitson ... Common abstraction of core capabilities (size,

Millions of Events

Check-ins + Photos Ratings + Location Trends + Stats

Top 100 Badges

Eric

Page 5: Webinar Series Storage Cloud Native · Webinar Series Past deck we copied out Mark. Your Presenters Mark Balch Eric Han Clint Kitson ... Common abstraction of core capabilities (size,

Cloud Native Patterns with Storage

< 1 sec response to users

process currentdemand

Eric: play with title

. . .

Eric

FEFE

Page 6: Webinar Series Storage Cloud Native · Webinar Series Past deck we copied out Mark. Your Presenters Mark Balch Eric Han Clint Kitson ... Common abstraction of core capabilities (size,

Before: nighttime batch processing

. . .

24 hr delay for users

aggregateddemand

Batch

Eric

FEFE

Page 7: Webinar Series Storage Cloud Native · Webinar Series Past deck we copied out Mark. Your Presenters Mark Balch Eric Han Clint Kitson ... Common abstraction of core capabilities (size,

First Iteration of Container Storage: Host Mount

7

container

/path1 /path2

host filesystem

Kinda works... but ...● No persistence beyond host lifetime (above)● Prohibitive to stateful workloads (availability, reuse, …)

/host/pathA:/container/path1

container

Eric

/host/pathB:/container/path2

Page 8: Webinar Series Storage Cloud Native · Webinar Series Past deck we copied out Mark. Your Presenters Mark Balch Eric Han Clint Kitson ... Common abstraction of core capabilities (size,

Enter Cloud Native Storage ...

8

Give containersPersistent volumes

Eric

Page 9: Webinar Series Storage Cloud Native · Webinar Series Past deck we copied out Mark. Your Presenters Mark Balch Eric Han Clint Kitson ... Common abstraction of core capabilities (size,

Give containers persistent volumes

9

driver

containercontainer

/vol1 /vol2

Eric

Page 10: Webinar Series Storage Cloud Native · Webinar Series Past deck we copied out Mark. Your Presenters Mark Balch Eric Han Clint Kitson ... Common abstraction of core capabilities (size,

Out-of-Tree StoragePlugins

Storage interoperability today

10

Docker VolumeDriver Interface DVDI

DVDCLI

Flex InterfaceDVDI

JSONover Proc

JSON over Proc

JSON/RPC over HTTP

Storage Platform

JSON/RPC over HTTP

Control-Plane Only Operations

Clint

In-Tree

Page 11: Webinar Series Storage Cloud Native · Webinar Series Past deck we copied out Mark. Your Presenters Mark Balch Eric Han Clint Kitson ... Common abstraction of core capabilities (size,

Container persistent volumes

11

Persistent Volumes

✓ Data survives (persists) beyond container, pod, host

✓ Workload can choose its best storage

✓ Kubernetes, Docker, and Mesos took this approach

✓ We know this is a portable pattern

Clint

Page 12: Webinar Series Storage Cloud Native · Webinar Series Past deck we copied out Mark. Your Presenters Mark Balch Eric Han Clint Kitson ... Common abstraction of core capabilities (size,

Cloud native storage takes many forms

Web App

Services: Replication/protection • Reduction • Encryption • Snapshot • Cloning

Media: Flash • HDD

Consistency: Eventual • Strong

Queue NoSQL SQL Key-Value POSIX

MetadataUser-defined schemaDocuments (e.g., XML, YAML, JSON)Logs/logstreamsTime seriesMedia/streamingFilesBlobs

ManyData Types

Block volumes

Object

INTE

RO

PER

AB

LE

Mark

Page 13: Webinar Series Storage Cloud Native · Webinar Series Past deck we copied out Mark. Your Presenters Mark Balch Eric Han Clint Kitson ... Common abstraction of core capabilities (size,

Cloud native storage lets users choose

Wide range of storage services, speed, cost

Differing storage capabilities according to workload

● eCommerce transactions: SQL with strong consistency and replication● Product photos: low-cost object storage with caching layer● Recommendation engine: queue and NoSQL on flash volumes

Automates and abstracts underlying storage infrastructure

● Interfaces to container runtime and orchestration● Pools capacity in multi-tenant environment

○ Locally, globally● Meters and enforces quotas● Ensures performance for each workload

○ QoS, IOPS, latency...

Services: Replication/protection • Reduction • Encryption • Snapshot • Cloning

Media: Flash • HDD

Consistency: Eventual • Strong

Block volumes

POSIX

MetadataUser-defined schema

DocumentsLogs/logstreams

Time seriesMedia/streaming

FilesBlobs

Queue NoSQL SQL Key Val Object

INTE

RO

PER

AB

LE

Mark

Page 14: Webinar Series Storage Cloud Native · Webinar Series Past deck we copied out Mark. Your Presenters Mark Balch Eric Han Clint Kitson ... Common abstraction of core capabilities (size,

Do I have cloud native storage?

Region Region

AZ AZ AZ

Applications can interoperate with available cloud

storage

Block/File Storage Services

● Qualities to look for in available storage resources○ Interoperates with container orchestrators and runtimes○ Common abstraction of core capabilities (size, type, IOPS…)○ Common data services (snapshots, replication, encryption, …)○ Role-based access control○ Elasticity of capacity and performance○ Lifecycle and operations can be automated

● Things to stay away from○ Hardware-defined provisioning and configuration○ Slow control-plane orchestration○ Complex availability

● Do I need something different?○ Application requirements may be stringent○ Running bare-metal and shared storage is not available○ Portability of storage services

Private or Public Cloud

Clint

Page 15: Webinar Series Storage Cloud Native · Webinar Series Past deck we copied out Mark. Your Presenters Mark Balch Eric Han Clint Kitson ... Common abstraction of core capabilities (size,

15

Persistence + Portability

Storage Class [this provider]

Persistent Volumemy-data

Persistent Volume Claimseeking-volume

Podkafka

Storage Class [that provider]

Persistent Volumeothers-data

Eric

Page 16: Webinar Series Storage Cloud Native · Webinar Series Past deck we copied out Mark. Your Presenters Mark Balch Eric Han Clint Kitson ... Common abstraction of core capabilities (size,

Pod to Persistent Volume

16

kind: StorageClassmetadata: name: fastprovisioner: [provider]

Storage Class

kind: PersistentVolumemetadata: name: ebs-disk-1spec: capacity: storage: 10Gi awsElasticBlockStorage: fsType: ext4 pdName: aws-ebs-1

Persistent Volume

kind: PersistentVolumeClaimmetadata: name: seeking-volumespec: resources: requests: storage: 8Gi storageClassName: fast selector: matchLabels: release: stable

Persistent Volume Claim

kind: Podmetadata: name: mypodspec: containers: - name: kafka image:kafka volumeMounts: - mountPath: /var/lib/kafka name: mypd volumes: - name: kafka-data persistentVolumeClaim: claimName: seeking-volume

Pod

1 4

2

Eric

Page 17: Webinar Series Storage Cloud Native · Webinar Series Past deck we copied out Mark. Your Presenters Mark Balch Eric Han Clint Kitson ... Common abstraction of core capabilities (size,

Thank You

17