mongodb-as-a-service on pivotal cloud foundry

24
Transforming How the World Builds Software Mallika Iyer Sam Weaver Principal Software Engineer Product Manager Global Ecosystem Engineering @ Pivotal MongoDb @cloudfoundryart @samuel_weaver

Upload: pivotal

Post on 10-Jan-2017

429 views

Category:

Technology


5 download

TRANSCRIPT

Page 1: MongoDB-as-a-Service on Pivotal Cloud Foundry

Transforming How the World Builds Software Mallika Iyer Sam Weaver Principal Software Engineer Product Manager Global Ecosystem Engineering @ Pivotal MongoDb @cloudfoundryart @samuel_weaver

Page 2: MongoDB-as-a-Service on Pivotal Cloud Foundry

•  The next 30 minutes… •  What is MongoDb?

•  What is Pivotal Cloud Foundry?

•  How can I run MongoDB on Pivotal Cloud Foundry?

•  Demo

•  Q/A

Page 3: MongoDB-as-a-Service on Pivotal Cloud Foundry

What is MongoDB?

Page 4: MongoDB-as-a-Service on Pivotal Cloud Foundry

Relational

Expressive Query Language & Secondary Indexes

Strong Consistency

Enterprise Management & Integrations

Page 5: MongoDB-as-a-Service on Pivotal Cloud Foundry

The World Has Changed

Data Risk

Time Cost

Page 6: MongoDB-as-a-Service on Pivotal Cloud Foundry

NoSQL

Scalability & Performance

Always On, Global Deployments

Flexibility Expressive Query Language & Secondary Indexes

Strong Consistency

Enterprise Management & Integrations

Page 7: MongoDB-as-a-Service on Pivotal Cloud Foundry

Nexus Architecture

Scalability & Performance

Always On, Global Deployments

Flexibility Expressive Query Language & Secondary Indexes

Strong Consistency

Enterprise Management & Integrations

Page 8: MongoDB-as-a-Service on Pivotal Cloud Foundry

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

Page 9: MongoDB-as-a-Service on Pivotal Cloud Foundry

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

Page 10: MongoDB-as-a-Service on Pivotal Cloud Foundry
Page 11: MongoDB-as-a-Service on Pivotal Cloud Foundry

MongoDB Compass

MongoDB Connector for BI

MongoDB Enterprise Server

MongoDB Enterprise Advanced

24 x

7 S

uppo

rt (1

hou

r SLA

) C

omm

ercial License

(No A

GP

L Copyleft R

estrictions)

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 API Emergency Patches

Customer Success Program

On-Demand Online Training

Warranty

Limitation of Liability

Indemnification

Page 12: MongoDB-as-a-Service on Pivotal Cloud Foundry

What is Pivotal Cloud Foundry?

Page 13: MongoDB-as-a-Service on Pivotal Cloud Foundry

Cloud Foundry Haiku

“Here is my source code Run it on the cloud for me

I do not care how” -Onsi Fakhouri

Page 14: MongoDB-as-a-Service on Pivotal Cloud Foundry

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

Page 15: MongoDB-as-a-Service on Pivotal Cloud Foundry

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”

Page 16: MongoDB-as-a-Service on Pivotal Cloud Foundry

Running MongoDB on

Pivotal Cloud Foundry

Page 17: MongoDB-as-a-Service on Pivotal Cloud Foundry

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

Page 18: MongoDB-as-a-Service on Pivotal Cloud Foundry

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

Page 19: MongoDB-as-a-Service on Pivotal Cloud Foundry

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

Page 20: MongoDB-as-a-Service on Pivotal Cloud Foundry

> 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 API Router

Cloud Controller

Fetch Catalog

Provision

De-Provision

Create Binding

Delete Binding

On Demand VM Creation…

VM Deletion...

The On-Demand Service Broker Workflow

Page 21: MongoDB-as-a-Service on Pivotal Cloud Foundry

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

Page 22: MongoDB-as-a-Service on Pivotal Cloud Foundry

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

Page 23: MongoDB-as-a-Service on Pivotal Cloud Foundry

Demo

Page 24: MongoDB-as-a-Service on Pivotal Cloud Foundry

Let’s build something great