Damian O’Connor & Ben Lackey Running DataStax Enterprise Production-Certified Apache Cassandra on Pivotal Cloud Foundry
Damian O’Connor & Ben LackeyRunning DataStax Enterprise Production-Certified Apache Cassandra on Pivotal Cloud Foundry
© 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
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
© 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
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
• 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
Creating a Service
USER CLOUD FOUNDRY ODB BOSH
BOSH Deploy
provision instance
create service
© Copyright 2016 Pivotal Software, Inc. All Rights Reserved
manifest
Binding Service & Application
USER CLOUD FOUNDRY ODB
bind service
bind service instance
binding details
© Copyright 2016 Pivotal Software, Inc. All Rights Reserved
Unbinding Service & Application
USER CLOUD FOUNDRY ODB
ok
unbind service
unbind service instance
© Copyright 2016 Pivotal Software, Inc. All Rights Reserved
Deleting a Service
USER CLOUD FOUNDRY ODB BOSH
delete service
remove instance
BOSH delete deployment
© Copyright 2016 Pivotal Software, Inc. All Rights Reserved
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
Where to next
?Market
Validation
Are we building the right thing?
Are thereother ways we could do
this?Use Cases?
Feature Priorities?
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)
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
https://pivotal.io/platform/pcf-tutorials/getting-started-with-pivotal-cloud-foundry
© Copyright 2016 Pivotal Software, Inc. All Rights Reserved