Top Banner
Damian O’Connor & Ben Lackey Running DataStax Enterprise Production-Certified Apache Cassandra on Pivotal Cloud Foundry
21

DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

Jan 06, 2017

Download

Software

DataStax
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

Damian O’Connor & Ben LackeyRunning DataStax Enterprise Production-Certified Apache Cassandra on Pivotal Cloud Foundry

Page 2: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

© Copyright 2016 Pivotal Software, Inc. All Rights Reserved

PIVO

TAL

Brokered Services

PAR

TNER

EDU

SER

PR

OVI

DED

PIVO

TAL

BOSH ManagedServices

PAR

TNER

Automated, Polyglot

Build/Package/Deploy

Container Scheduling Elastic (Auto)Scale

PCF Elastic Runtime

z

PCF Tools• Apps Manager UI

(App Admin UI)• CLI• REST APIs• PCF Metrics

Dashboard

Ops Manager UI(Cloud Admin UI)

Mobile Push Notifications

Dingo PostgreSQL

Gemfire

Redis

RabbitMQ

Spring Cloud Services

Single Sign On

MySQL

HDB

Greenplum DB

VMware(vSphere + Photon)

MS SQL Server

IBM DB/2

Active MQ

Infrastructure OpenStack

Security(Application & Platform)

Self-Healing & High Availability

(Application & Platform)

Zero Downtime Upgrades &

Patches(Application & Platform)

Integrated Logging/Metrics*

(Application & Platform)

Dynamic Routing & Extensible Route

Services

Dev + Ops Role-Based Self-Service

Access

AmazonWeb Services

MicrosoftAzure

GoogleCloud Platform

Oracle DB

Cluster Orchestrationand Management (BOSH)

Infrastructure Agnostic Software Packaging

Multi-Cloud Orchestration of Infrastructure Provisioning

Distributed Software Configuration and Health/Lifecycle Management

Applications/APIs/Microservices

Compiled, staged, containerized, deployed and managed by platform

Pre-packaged container deployed and managed

by platformJava | .NET | Ruby | Node.js | Python | PHP | Go

Pivotal Cloud Foundry

Page 3: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

cf push haiku

“Here is my source codeRun it on the cloud for me

I do not care how”

Onsi Fakhouri, VP Engineering @ Pivotal Cloud Foundry

Page 4: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

© DataStax, All Rights Reserved. 4

codebase

depen-dencies

config backing services

build, release,

run

pro-cesses

port binding

con-currency

dis-posability

dev/prod parity

admin pro-

cesses

https://12factor.net/logs

Page 5: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

demo

Page 6: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

PCF Services Life Cycle

create

bind

unbind

delete

Page 7: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

GET /v2/catalog What’s available

PUT /v2/service_instances/:id Create Service

PUT /v2/service_instances/:id/service_bindings/:id Bind Service

DELETE /v2/service_instances/:id/service_bindings/:id Unbind Service

DELETE /v2/service_instances/:id Delete Service

PCF Services API

Page 8: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

• More choice via service plans

• Empowers App Developers

• Reduces Operations cycle times

• Resources allocated on-demand

• Controlled exposure via Quota Mgt

On-Demand C* on PCF

Service Instance = Dedicated C* Cluster

What’s the upside…

On-Demand C* on PCF

What is it…

© Copyright 2016 Pivotal Software, Inc. All Rights Reserved

Page 9: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

Creating a Service

USER CLOUD FOUNDRY ODB BOSH

BOSH Deploy

provision instance

create service

© Copyright 2016 Pivotal Software, Inc. All Rights Reserved

manifest

Page 10: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

AWS

Ops Centre

Node 1

Node 2Node n

Creating a Service (cont.)

create deploy run monitor

BOSH

Page 11: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

Binding Service & Application

USER CLOUD FOUNDRY ODB

bind service

bind service instance

binding details

© Copyright 2016 Pivotal Software, Inc. All Rights Reserved

Page 12: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

Unbinding Service & Application

USER CLOUD FOUNDRY ODB

ok

unbind service

unbind service instance

© Copyright 2016 Pivotal Software, Inc. All Rights Reserved

Page 13: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

Deleting a Service

USER CLOUD FOUNDRY ODB BOSH

delete service

remove instance

BOSH delete deployment

© Copyright 2016 Pivotal Software, Inc. All Rights Reserved

Page 14: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

demo

Page 15: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

Dedicated Cassandra Service on PCF Recap

Basic Service Lifecycle

Availability

Security

• Service Plans• Creating a Service• Increasing Cluster Size• Binding Application• Authentication w/ Unique Passwords• Logging• Unbinding Application• Deleting a Service

© Copyright 2016 Pivotal Software, Inc. All Rights Reserved

Page 16: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

Where to next

?Market

Validation

Are we building the right thing?

Are thereother ways we could do

this?Use Cases?

Feature Priorities?

Page 17: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

Summary

• Proof of concept on-demand single tenant DBAAS on PCF

• Supports DataStax Enterprise 5.0 (incl. OpsCenter 6.0)

• In Market Validation

• We want to hear from you …

• Damian O’Connor, [email protected] (Product Manager)

• Ben Lackey, [email protected] (Lead Partner Architect)

Page 18: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

Useful ResourcesLocation URLPivotal https://pivotal.io/Pivotal Web Services https://run.pivotal.io/Pivotal Network https://network.pivotal.io/Pivotal Documentation https://docs.pivotal.io/Pivotal Cloud Foundry Tutorial https://pivotal.io/platform/pcf-

tutorials/getting-started-with-pivotal-cloud-foundry

© Copyright 2016 Pivotal Software, Inc. All Rights Reserved

Page 19: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

https://pivotal.io/platform/pcf-tutorials/getting-started-with-pivotal-cloud-foundry

© Copyright 2016 Pivotal Software, Inc. All Rights Reserved

Page 20: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

https://run.pivotal.io/

© Copyright 2016 Pivotal Software, Inc. All Rights Reserved

Page 21: DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben Lackey, DataStax / Damian O'connor, Pivotal) | C* Summit 2016

Thank YouDamian O’Connor

[email protected] Lackey

[email protected]