Enterprise Trends inMongoDB as a Service
Chris BiowPrincipal Technologist & Tech DirectorMongoDB
2
• Now
• Easy
• Cheap for dev
• Scalable, seamlessfor prod
Developer Challenge:“I want my MongoDB...”
iStock licensed (pixelfit)
MongoDB Background
4
Agile
The Best Database for Modern Apps
Scalable
5
MongoDB
Document Database
Open-Source
General Purpose
6
MongoDB Business Value
Enabling New Apps Better Customer Experience
Lower TCOFaster Time to Market
7
Leading NoSQL Database
LinkedInGoogle
8
Scalability
Auto-Sharding
• Increase capacity as you go
• Commodity and cloud architectures
• Improved operational simplicity and cost visibility
• Into petabytes, millions ops/sec, thousands of nodes
9
High Availability
• Automated replication and failover
• Multi-data center support
• Improved operational simplicity (e.g., HW swaps)
• Data durability and consistency
10
MongoDB Architecture
11
MongoDB and Enterprise IT Stack
EDWHadoop
Man
agem
ent
& M
on
ito
rin
gS
ecurity &
Au
ditin
g
RDBMS
CRM, ERP, Collaboration, Mobile, BI
OS & Virtualization, Compute, Storage, Network
RDBMS
Applications
Infrastructure
Data Management
Online Data Offline Data
12
MongoDB and Enterprise IT Strategy
Legacy Strategic
Apps On-Premise SaaS, Mobile, Social
Database Oracle MongoDB
Offline Data Teradata Hadoop
Compute Scale-Up Server Commodity HW / Cloud
Storage SAN Local Storage / Cloud
Network Routers and Switches Software-Defined Networks
Enterprise Cloud Background
14
• Hosting– Public, Private, and Hybrid
• Stack– Infrastructure | Platform | Software
…as a Service
• DB platform advantages – Adoption
– Agility
– Governance
– Efficiency
Revolution in IT provisioning
Wikimedia Commons
Public PrivateHybrid
15
• Commercial cloudIaaS endless aisle– Amazon Web Services
– Google Compute Engine
– Rackspace
– Many more…
• OpenStack– Apache, Rackspace, NASA
– OpenStack Foundation
• Red Hat OpenShift – SaaS with embedded DB
Public Cloud
iStock licensed (4X-image)
16
Advanced Cloud Providers
17
Ready Cloud Providers
18
• Rewards– Adoption
– Agility
– Governance
– Efficiency
• Risks– Systematize the wrong solution
– Standardize the wrong hardware (especially storage)
– Unaffordable or inflexible: unlimited apathy
– Too cheap: tragedy of the commons
In the Enterprise Cloud:MongoDB as a Service
Doing it right
20
• Need happy, jumping people!
• First app stakeholders– Business owner– Developers– Ops
• Next few apps– Same stakeholders
Customer First
iStock licensed (YanC)
21
• Application
• Data Service / Data Layer– VA eCRUD– http://world.mongodb.com/node/44
• Multi-tenancy
• Cluster per app– Replica set only– Sharded / replica sets
Delivery Levels
22
• Server Hardware
• Virtualization
• Security & Entitlements
• Storage
• Operating System
• Infrastructure Management
• Backup and Recovery
• Accounting and chargeback
Implementation Choices
Ceilometer Grizzly: openstack.org
23
• Business case
– Cost matching
– First customers first
• Balance scalability, standardization, and flexibility
– Don’t undershoot your customers
– Don’t boil the ocean
– Customize where required
• Find your performance limit
– Storage first (mongoperf)
– Network
– CPU
• MongoDB engineering
– Schema
– Shard first
– Shard key
• 2+ data centers
– Consider hybrid for 3rd
• MongoDB, Inc
– Let us help!
• Monitoring
– mongoperf, mongostat, etc.
– MMS
Best Practices
24
• Enterprise social network– Short messages
– Followers
– Feeds
– Geolocation
– https://github.com/darrenat10gen/socialite
• Active users: 60% of employees
• Indefinite retention
• Java application
• Existing collocated infrastructure (HP, RHEL, VMW)
Sample first app
iStock licensed (Erikona)
25
Platform Option Choice
Server HP DL360p, 2-CPU, 128GB RAM
Storage Local SAS or SSD
OS Red Hat Enterprise Linux
Virtualization VMWare vSphere
Cloud Platform OpenStack
DBaaS Automation CumuLogic
Monitoring, Backup, Automation
MongoDB Management Service (MMS)
Authentication X509 public key openclipart.org
Delivery Level Cluster per application
Metering Ceilometer
MongoDB as a Service Strategy
Conferences
27
• Largest gathering ever of MongoDB experts
• Learn to build & manage modern apps
• 80+ sessions from Fundamentals to Advanced Opps Use cases from all industries
• Connect with developers, administrators & execs
• Ecosystem Partners: IBM, AWS, CumuLogic, Microsoft + more
• Meet the Experts – includes Founder Dwight Merriman
• Save $300 until Friday 5/23 with Early Bird rates
• Save another $300 with code Webinar300
• www.mongodbworld.com
MongoDB World – June 23-25, New York City
• Software platform to deliver fully managed MongoDB Database-as-a-Service
• Web service to setup, operate and scale clusters in the cloud
• Simple to deploy, easy to scale, reliable and cost effective for customer
• Integrated with MMS!
CumuLogic NoSQL ServiceMongoDB Database-as-a-ServiceChip Childers
http://www.cumulogic.com/cumulogic-software-portfolio/nosql-database-as-a-service/http://goo.gl/L2BAAs
29
Using NoSQL and Enterprise Shared Services (ESS) to Achieve a More Efficient and Agile IT Environment
• Joe Paiva, Chief Technology Strategist
• Virtual Lifetime Electronic Record (VLER)
• Enterprise NoSQL data store– Efficiency, Security, Agility
– Mistakes and lessons from 20 years of SQL
– ESS eCRUD services
– Security with data consolidation and enterprise controls
Veterans Affairs
30
Fast Paths to NoSQL Database as a Service• Chris Biow
• 3PM, 21 August: http://goo.gl/fbN35Y
• Quantify and achieve cost advantages
• Road map for fast path to DBaaS
• Incremental improvement
• Solve emergent problems
NoSQL Now, 19-21 Aug