SpringOne Platform 2016'
Speakers: Mallika Iyer; Principal Software Engineer, Pivotal & Sam Weaver; Product Manager, MongoDB
The ability to provide your organization with multiple data services on a platform like Pivotal Cloud Foundry is very powerful, and increases the agility of the organization as a whole, when developers are able to provision data services on demand, and all of this is completely transparent to the system operators. This session will cover a very brief overview of Pivotal Cloud Foundry, and will then deep dive into running MongoDB as a managed service on this platform. The MongoDB service for Pivotal Cloud Foundry leverages the capabilities of Bosh 2.0 for on-demand-dynamic provisioning for services while maintaining an integration with MongoDB's Cloud Ops Manager, to provide the best of both - Pivotal Cloud Foundry and MongoDB.
1. Transforming How the World Builds
Software
Mallika Iyer Sam Weaver
Principal Software Engineer Product Manager
Global Ecosystem Engineering @ Pivotal MongoDb
@cloudfoundryart @samuel_weaver
2. • The next 30 minutes…
• What is MongoDb?
• What is Pivotal Cloud Foundry?
• How can I run MongoDB on Pivotal Cloud Foundry?
• Demo
• Q/A
8. 4th Most Popular, Fastest Growing
RANK DBMS MODEL SCORE GROWTH (20 MO)
1. Oracle Relational DBMS 1,442 -5%
2. MySQL Relational DBMS 1,294 2%
3. Microsoft SQL Server Relational DBMS 1,131 -10%
4. MongoDB Document Store 277 172%
5. PostgreSQL Relational DBMS 273 40%
6. DB2 Relational DBMS 201 11%
7. Microsoft Access Relational DBMS 146 -26%
8. Cassandra Wide Column 107 87%
9. SQLite Relational DBMS 105 19%
Source: DB-engines database popularity rankings; May 2015
9. 15,000,000+
MongoDB Downloads
400,000+
Online Education Students
40,000+
MongoDB Cloud Manager Users
35,000+
MongoDB User Group Members
1,000+
Technology and Services Partners
2,000+
Customers Across All Industries
The Largest Ecosystem
10.
11. MongoDB Compass MongoDB Connector for BI
MongoDB Enterprise Server
MongoDB Enterprise Advanced
24x7Support
(1hourSLA)
CommercialLicense
(NoAGPLCopyleftRestrictions)
Platform
Certifications
MongoDB Ops Manager
Monitoring &
Alerting
Query
Optimization
Backup &
Recovery
Automation &
Configuration
Schema Visualization
Data Exploration
Ad-Hoc Queries
Visualization
Analysis
Reporting
Authorization Auditing
Encryption
(In Flight & at Rest)
Authentication
REST APIEmergency
Patches
Customer
Success
Program
On-Demand
Online Training
Warranty
Limitation of
Liability
Indemnification
13. Cloud Foundry Haiku
“Here is my source code
Run it on the cloud for me
I do not care how”
-Onsi Fakhouri
14. Pivotal Cloud Foundry is…
• Based on Cloud Foundry – the leading Open Source
Platform-as-a-service
• Enterprise-ready, cloud-native
• Language , framework and IaaS agnostic
• Manages VMs and containers
• Orchestrates applications and data services
• Horizontal ,vertical and auto scaling
15. Cloud Foundry Services Haiku
“Here is my (legacy/non-cloud-native) data service
Run it on the cloud for me
I do not care how”
17. Let’s go through some definitions
• Service Broker – is the component of the service that implements the
service broker API
• Service Broker API – The API that must be implemented to integrate a
service with Cloud Foundry
• Cloud Controller – provides the REST API endpoints for clients to access
the system, and maintains a database (CCDB) with tables for orgs, spaces,
services, user roles, etc.
• Router – routes the traffic coming into Cloud Foundry to the appropriate
component
18. Bosh 2.0
• Bosh 2.0 – Cloud Foundry orchestration layer that does
• Advanced real-time dynamic provisioning and deployment of software
over hundred's of VM’s
• Release engineering
• Deployment
• Lifecycle management
• Monitoring
• Failure recovery
• Software updates with zero-to-minimal downtime
• Which means – legacy, NoSQL and non-cloud native databases, like
MongoDB can now run on Pivotal Cloud Foundry
19. Why On Demand Dynamic Provisioning?
- Leverages Bosh 2.0 to dynamically provision a
MongoDB-Cluster on demand
- Leverages Bosh Links by making the Bosh Director*
responsible for IP management
*Core orchestrating component of Bosh, controlling
the VM creation, deployment, other s/w and lifecycle events
20. > cf
marketplace
> cf
create-
service
> cf bind-
service
> cf
unbind-
service
> cf
delete-
service
CCDB
Service
Broker
Service
Plans
(single
node,
single-
replica-set,
sharded,
etc...)
IaaS
Services APIRouter
Cloud
Controller
Fetch
Catalog
Provision
De-Provision
Create
Binding
Delete
Binding
On Demand
VM
Creation…
VM Deletion...
The On-Demand Service Broker Workflow
21. MongoDB - On Demand Service as
a Pivotal Cloud FoundryTile
- Pivotal Cloud Foundry / Bosh 2.0 to leverage
on-demand dynamic service provisioning
+
- MongoDb Enterprise Ops Manager for the cluster
configuration and monitoring capabilities
22. MongoDB - On Demand Service as
a Pivotal Cloud FoundryTile
- Provision the IAAS resources during service
instance creation
- Everything packaged into a “tile” that runs on
Pivotal Cloud Foundry on any IAAS