2© Copyright 2015 Pivotal. All rights reserved.
Open
Source
Private(
Clouds(
Public(
Clouds(
CUSTOM SERVICES
What is Cloud Foundry?
CUSTOM RUNTIMES
Mul2ple(
Distribu2ons(
Foundation
3© Copyright 2015 Pivotal. All rights reserved. 3© Copyright 2015 Pivotal. All rights reserved.
Extension de Service Cloud Foundry
Service Broker
26 Mai 2015
Alexandre Vasseur, Pivotal
4© Copyright 2015 Pivotal. All rights reserved.
BOSH
provisioning / configuration /
orchestrationOperations
Manager
vSphere AWS OpenStack
Console
Service
FooBroker DB
Service
BarBroker DB
Service
BazBroker DB
Runtime
DEA Cloud Controller
Router
DEA
DEA DEA
Health Manager
SSO
5© Copyright 2015 Pivotal. All rights reserved.
vSphere / AWS / OpenStack
BOSH
Operations
Manager
CF Runtime
Cloud
Controller
Router
Service
Service Instances
Service
Broker
Application Instances
6© Copyright 2015 Pivotal. All rights reserved.
vSphere / AWS / OpenStack
BOSH
Operations
Manager
CF Runtime
Cloud
Controller
Router
Service
Service Instances
Service
Broker
Application Instances
Catalog
$ cf marketplace
7© Copyright 2015 Pivotal. All rights reserved.
vSphere / AWS / OpenStack
BOSH
Operations
Manager
CF Runtime
Cloud
Controller
Router
Service
Service Instances
Service
Broker
Application Instances
Provision instance
Done
$ cf create service foo
8© Copyright 2015 Pivotal. All rights reserved.
CF Runtime
Application Instances
Cloud
Controller
Router
Service
Service Instances
Service
Broker
Provision binding
Binding info
$ cf bind service my_app foo
Binding info
9© Copyright 2015 Pivotal. All rights reserved.
CF Runtime
Application Instances
Cloud
Controller
Router
Service
Service Instances
Service
Broker
$ cf bind service my_app foo
App instance reads
and writes directly to
service instance.
10© Copyright 2015 Pivotal. All rights reserved.
Service Broker + BOSH
Service Broker
•  REST API
implementation
•  What and How to
consume
(for developer & apps)
BOSH
•  Script & Packaging
•  Provisioning,
Orchestration and
Health management
11© Copyright 2015 Pivotal. All rights reserved. 11© Copyright 2015 Pivotal. All rights reserved.
Extension de Service Cloud Foundry
Exemple de Cassandra et expérience d'Ippon
26 Mai 2015
Julien Dubois, Ippon
12© Copyright 2015 Pivotal. All rights reserved. 12© Copyright 2015 Pivotal. All rights reserved.
Extension de Service Cloud Foundry
Exemple de Cassandra avec Pivotal Cloud Foundry
26 Mai 2015
Alexandre Vasseur, Pivotal
13© Copyright 2015 Pivotal. All rights reserved.
Pivotal Cloud Foundry
"  On premise Cloud Foundry by Pivotal
–  vSphere, vCloud, OpenStack, your own Amazon, etc.
"  Simplified installation & operations
"  Simplified developers & app ops experience
"  Rich eco-system of built-in services
–  Service Broker + BOSH release + simplified installations
–  Example: MySQL, RabbitMQ, GemFire, Redis, Cassandra,
MongoDB, RiakCS, Jenkins, etc.
© Copyright 2013 Pivotal. All rights reserved.
VM
Cassandra Multi-Tenant Plan
Built by Pivotal & DataStax with BOSH
●  Provides a N node cluster
●  Cluster is shared with many keyspaces
●  Each instance is a keyspace
●  Applications bind to the keyspace (instance)
This plan is suited for development & testing
Binding
Users
Application
VM VMVM
Instance (keyspace)
Instance (keyspace)
Instance (keyspace)
Key Points
•  Access to Cassandra cluster
•  Highly available
•  Repair functionality to ensure a healthy cluster
•  Suited for development & testing workloads
© Copyright 2013 Pivotal. All rights reserved.
Cassandra Single-Tenant Plan
Built by Pivotal & DataStax with BOSH
●  Operator deploys a pre-provisioned pool of clusters
●  Provides M dedicated N node clusters
●  Each instance is a dedicated cluster
●  When an instance is created, a cluster is taken from the pool
●  Applications bind to the instance (cluster)
This plan is suited for production workloads
Users
Application
Binding - to
the whole
cluster
Key Points
•  Access to Cassandra cluster
•  Highly available
•  Dedicated cluster per instance
•  No noisy neighbours
•  Suited for production workloads
16© Copyright 2015 Pivotal. All rights reserved. 16© Copyright 2015 Pivotal. All rights reserved.
Demo
Cassandra as a Service
17© Copyright 2015 Pivotal. All rights reserved.
@PivotalFrance

Extension de Service Cloud Foundry

  • 1.
    2© Copyright 2015Pivotal. All rights reserved. Open Source Private( Clouds( Public( Clouds( CUSTOM SERVICES What is Cloud Foundry? CUSTOM RUNTIMES Mul2ple( Distribu2ons( Foundation
  • 2.
    3© Copyright 2015Pivotal. All rights reserved. 3© Copyright 2015 Pivotal. All rights reserved. Extension de Service Cloud Foundry Service Broker 26 Mai 2015 Alexandre Vasseur, Pivotal
  • 3.
    4© Copyright 2015Pivotal. All rights reserved. BOSH provisioning / configuration / orchestrationOperations Manager vSphere AWS OpenStack Console Service FooBroker DB Service BarBroker DB Service BazBroker DB Runtime DEA Cloud Controller Router DEA DEA DEA Health Manager SSO
  • 4.
    5© Copyright 2015Pivotal. All rights reserved. vSphere / AWS / OpenStack BOSH Operations Manager CF Runtime Cloud Controller Router Service Service Instances Service Broker Application Instances
  • 5.
    6© Copyright 2015Pivotal. All rights reserved. vSphere / AWS / OpenStack BOSH Operations Manager CF Runtime Cloud Controller Router Service Service Instances Service Broker Application Instances Catalog $ cf marketplace
  • 6.
    7© Copyright 2015Pivotal. All rights reserved. vSphere / AWS / OpenStack BOSH Operations Manager CF Runtime Cloud Controller Router Service Service Instances Service Broker Application Instances Provision instance Done $ cf create service foo
  • 7.
    8© Copyright 2015Pivotal. All rights reserved. CF Runtime Application Instances Cloud Controller Router Service Service Instances Service Broker Provision binding Binding info $ cf bind service my_app foo Binding info
  • 8.
    9© Copyright 2015Pivotal. All rights reserved. CF Runtime Application Instances Cloud Controller Router Service Service Instances Service Broker $ cf bind service my_app foo App instance reads and writes directly to service instance.
  • 9.
    10© Copyright 2015Pivotal. All rights reserved. Service Broker + BOSH Service Broker •  REST API implementation •  What and How to consume (for developer & apps) BOSH •  Script & Packaging •  Provisioning, Orchestration and Health management
  • 10.
    11© Copyright 2015Pivotal. All rights reserved. 11© Copyright 2015 Pivotal. All rights reserved. Extension de Service Cloud Foundry Exemple de Cassandra et expérience d'Ippon 26 Mai 2015 Julien Dubois, Ippon
  • 11.
    12© Copyright 2015Pivotal. All rights reserved. 12© Copyright 2015 Pivotal. All rights reserved. Extension de Service Cloud Foundry Exemple de Cassandra avec Pivotal Cloud Foundry 26 Mai 2015 Alexandre Vasseur, Pivotal
  • 12.
    13© Copyright 2015Pivotal. All rights reserved. Pivotal Cloud Foundry "  On premise Cloud Foundry by Pivotal –  vSphere, vCloud, OpenStack, your own Amazon, etc. "  Simplified installation & operations "  Simplified developers & app ops experience "  Rich eco-system of built-in services –  Service Broker + BOSH release + simplified installations –  Example: MySQL, RabbitMQ, GemFire, Redis, Cassandra, MongoDB, RiakCS, Jenkins, etc.
  • 13.
    © Copyright 2013Pivotal. All rights reserved. VM Cassandra Multi-Tenant Plan Built by Pivotal & DataStax with BOSH ●  Provides a N node cluster ●  Cluster is shared with many keyspaces ●  Each instance is a keyspace ●  Applications bind to the keyspace (instance) This plan is suited for development & testing Binding Users Application VM VMVM Instance (keyspace) Instance (keyspace) Instance (keyspace) Key Points •  Access to Cassandra cluster •  Highly available •  Repair functionality to ensure a healthy cluster •  Suited for development & testing workloads
  • 14.
    © Copyright 2013Pivotal. All rights reserved. Cassandra Single-Tenant Plan Built by Pivotal & DataStax with BOSH ●  Operator deploys a pre-provisioned pool of clusters ●  Provides M dedicated N node clusters ●  Each instance is a dedicated cluster ●  When an instance is created, a cluster is taken from the pool ●  Applications bind to the instance (cluster) This plan is suited for production workloads Users Application Binding - to the whole cluster Key Points •  Access to Cassandra cluster •  Highly available •  Dedicated cluster per instance •  No noisy neighbours •  Suited for production workloads
  • 15.
    16© Copyright 2015Pivotal. All rights reserved. 16© Copyright 2015 Pivotal. All rights reserved. Demo Cassandra as a Service
  • 16.
    17© Copyright 2015Pivotal. All rights reserved. @PivotalFrance