Solving Your Backup Needs
Using MongoDB Ops Manager,
Cloud Manager and Atlas
Benjamin Cefalo
Senior Product Manager, Cloud
Benjamin
Cefalo
Senior Product Manager, Cloud MongoDB
bcefalo@mongodb.com
@bencefalo
About Me
• MongoDB just about a year
• VMware 5 years - Focusing on Management and SaaS platform. Launched the first
Organically developed SaaS Application
• BMC / BladeLogic 5 years - Consultant, Support, Solutions Architect and Product
• Various financial organizations, operations
Private DBaaS: On-Prem Public DBaaS: Fully Managed
Built on the Same Code Base, Same API, Same Management UI
MongoDB Offerings
Hybrid DBaaS
Data Explorer
Inspect schema &
index utilization
Real-Time Performance Panel
Live telemetry: in-flight operations &
resource consumption
Performance Advisor
Always-on index
recommendations
Shared Functionality
Primary
Secondary
Secondary
Replication vs Disaster Recovery
MongoDB includes native replication
and automated failover to ensure
availability
• Secondaries apply operations from
the primary asynchronously
• Delayed secondaries can be
configured to reflect an earlier state of
the data set
Dropped
Document
Altered
Document
Dropped
Document
Altered
Document
Altered
Document
Replication vs Disaster Recovery
Replication not ideal for disaster
recovery as dropped/altered documents
in the primary will make their way into
secondaries.
I used to be in Operations…
Location Location Location
In my Mind...
Hurricane
Wilma
RTO ≠ Speed of a car with a box
full of disks
Backup and Restore
Continuous & Consistent Backups with Point in Time Restore
Faster backups and
recovery
Queryable
snapshots
Backup to object
store
Cross-project
restores
Point-in-Time Data Recovery
• Lets you select a restore time based on your PIT window
• Restores the closest snapshot and rolls ahead
• Reduces the possibility of data loss
What About Small Disasters?
• The application is working fine
• But there is data missing or has
been altered
• No time to do a full restore
Queryable Backups
• Ability to query your snapshots and
restore data at the document level in
minutes.
• Reduces the operational overhead
associated with:
• Identifying whether data of interest
has been altered
• Pinpointing the best point in time to
restore a database
Sample Queryable Script
db = source.locations
db2 = destination.locations
zips = db.zipcodes
zips2 = db2.zipcodes
def restore():
print "Finding Missing Data"
query = {'state': 'CO'}
try:
cursor = zips.find(query)
except Exception as e:
print "Unexpected error:", type(e), e
for doc in cursor:
zips2.insert(doc)
Demo
Atlas
The Latest MongoDB Features
• MongoDB Atlas comes out-of-the-box with
MongoDB 3.4, 3.6, 4.0 (When Available)
• Transactions (4.0)
• Change Streams (3.6)
• JSON Schema (3.6)
• Expressive nested array updates (3.6)
• Expressive joins: $lookup (3.6)
• Graph queries (3.4)
• Facets & expressive aggregations (3.4)
• Minor updates and major upgrades
without downtime
Self-service and elastic
• Deploy in minutes
• Scale up/down without
downtime
• Automated upgrades
MongoDB Atlas: Database as a
service
Global and highly available
• 50+ Regions worldwide
• Replica sets optimized for
availability
• Cross-region replication
Secure by default
• Network isolation and Peering
• Encryption in flight and at rest
• Role-based access control
• SOC 2 Type 1 / Privacy Shield
Comprehensive Monitoring
• Performance Advisor
• Dashboards w/ 100+ metrics
• Real Time Performance
• Customizable alerting
Managed Backup
• Point in Time Restore
• Queryable backups
• Consistent snapshots
Cloud Agnostic
• Easy migrations
• Consistent experience
Self-service and elastic
• Deploy in minutes
• Scale up/down without
downtime
• Automated upgrades
MongoDB Atlas: Managed backup
Global and highly available
• 50+ Regions worldwide
• Replica sets optimized for
availability
• Cross-region replication
Secure by default
• Network isolation and Peering
• Encryption in flight and at rest
• Role-based access control
• SOC 2 Type 1 / Privacy Shield
Comprehensive Monitoring
• Performance Advisor
• Dashboards w/ 100+ metrics
• Real Time Performance
• Customizable alerting
Cloud Agnostic
• Easy migrations
• Consistent experience
Managed Backup
• Point in Time Restore
• Queryable backups
• Consistent snapshots
Private DBaaS: On-Prem Public DBaaS: Fully Managed
Built on the Same Code Base, Same API, Same Management UI
The Same Features as Cloud
Manager and Ops Manager
Hybrid DBaaS
Current Backup Regions
Cloud Provider Snapshots
• At Seattle.Local announced Cloud Provider Snapshots
• Available only on Azure
• Utilizes each providers native snapshot capabilities
• Granular Backup Region Selection
• Faster Restores
• Data Sovereignty
• Pricing is based on snapshot size, not datasize
• Less Expensive, starting at $0.34 per GB of snapshot size
Cloud Provider Snapshots – Is Now
on AWS!
Current Backup Regions
Snapshot Backup Regions
Cloud Provider Snapshots on AWS
are Incremental
Starting at $0.14 per GB!
10 GB 15 GB (5 new) 20 GB (5 new)
Demo
Whats Next?
Fully Managed Disaster Recovery
Flexibility to choose how you want to
backup your data, depending on your
requirements
Continuous
• Point-in-time restore
• Queryable snapshots
• Satisfy nearly any RPO / RTO
Snapshot
• Localized backup
• Fast restores
• The cost effective option
Thank You!

MongoDB.local Austin 2018: Solving Your Backup Needs Using MongoDB Ops Manager, Cloud Manager, and Atlas

  • 2.
    Solving Your BackupNeeds Using MongoDB Ops Manager, Cloud Manager and Atlas Benjamin Cefalo Senior Product Manager, Cloud
  • 3.
    Benjamin Cefalo Senior Product Manager,Cloud MongoDB bcefalo@mongodb.com @bencefalo
  • 4.
    About Me • MongoDBjust about a year • VMware 5 years - Focusing on Management and SaaS platform. Launched the first Organically developed SaaS Application • BMC / BladeLogic 5 years - Consultant, Support, Solutions Architect and Product • Various financial organizations, operations
  • 5.
    Private DBaaS: On-PremPublic DBaaS: Fully Managed Built on the Same Code Base, Same API, Same Management UI MongoDB Offerings Hybrid DBaaS
  • 6.
    Data Explorer Inspect schema& index utilization Real-Time Performance Panel Live telemetry: in-flight operations & resource consumption Performance Advisor Always-on index recommendations Shared Functionality
  • 7.
    Primary Secondary Secondary Replication vs DisasterRecovery MongoDB includes native replication and automated failover to ensure availability • Secondaries apply operations from the primary asynchronously • Delayed secondaries can be configured to reflect an earlier state of the data set
  • 8.
    Dropped Document Altered Document Dropped Document Altered Document Altered Document Replication vs DisasterRecovery Replication not ideal for disaster recovery as dropped/altered documents in the primary will make their way into secondaries.
  • 9.
    I used tobe in Operations…
  • 10.
  • 11.
  • 12.
  • 13.
    RTO ≠ Speedof a car with a box full of disks
  • 14.
    Backup and Restore Continuous& Consistent Backups with Point in Time Restore Faster backups and recovery Queryable snapshots Backup to object store Cross-project restores
  • 15.
    Point-in-Time Data Recovery •Lets you select a restore time based on your PIT window • Restores the closest snapshot and rolls ahead • Reduces the possibility of data loss
  • 16.
    What About SmallDisasters? • The application is working fine • But there is data missing or has been altered • No time to do a full restore
  • 17.
    Queryable Backups • Abilityto query your snapshots and restore data at the document level in minutes. • Reduces the operational overhead associated with: • Identifying whether data of interest has been altered • Pinpointing the best point in time to restore a database
  • 18.
    Sample Queryable Script db= source.locations db2 = destination.locations zips = db.zipcodes zips2 = db2.zipcodes def restore(): print "Finding Missing Data" query = {'state': 'CO'} try: cursor = zips.find(query) except Exception as e: print "Unexpected error:", type(e), e for doc in cursor: zips2.insert(doc)
  • 19.
  • 20.
  • 21.
    The Latest MongoDBFeatures • MongoDB Atlas comes out-of-the-box with MongoDB 3.4, 3.6, 4.0 (When Available) • Transactions (4.0) • Change Streams (3.6) • JSON Schema (3.6) • Expressive nested array updates (3.6) • Expressive joins: $lookup (3.6) • Graph queries (3.4) • Facets & expressive aggregations (3.4) • Minor updates and major upgrades without downtime
  • 22.
    Self-service and elastic •Deploy in minutes • Scale up/down without downtime • Automated upgrades MongoDB Atlas: Database as a service Global and highly available • 50+ Regions worldwide • Replica sets optimized for availability • Cross-region replication Secure by default • Network isolation and Peering • Encryption in flight and at rest • Role-based access control • SOC 2 Type 1 / Privacy Shield Comprehensive Monitoring • Performance Advisor • Dashboards w/ 100+ metrics • Real Time Performance • Customizable alerting Managed Backup • Point in Time Restore • Queryable backups • Consistent snapshots Cloud Agnostic • Easy migrations • Consistent experience
  • 23.
    Self-service and elastic •Deploy in minutes • Scale up/down without downtime • Automated upgrades MongoDB Atlas: Managed backup Global and highly available • 50+ Regions worldwide • Replica sets optimized for availability • Cross-region replication Secure by default • Network isolation and Peering • Encryption in flight and at rest • Role-based access control • SOC 2 Type 1 / Privacy Shield Comprehensive Monitoring • Performance Advisor • Dashboards w/ 100+ metrics • Real Time Performance • Customizable alerting Cloud Agnostic • Easy migrations • Consistent experience Managed Backup • Point in Time Restore • Queryable backups • Consistent snapshots
  • 24.
    Private DBaaS: On-PremPublic DBaaS: Fully Managed Built on the Same Code Base, Same API, Same Management UI The Same Features as Cloud Manager and Ops Manager Hybrid DBaaS
  • 25.
  • 26.
    Cloud Provider Snapshots •At Seattle.Local announced Cloud Provider Snapshots • Available only on Azure • Utilizes each providers native snapshot capabilities • Granular Backup Region Selection • Faster Restores • Data Sovereignty • Pricing is based on snapshot size, not datasize • Less Expensive, starting at $0.34 per GB of snapshot size
  • 27.
    Cloud Provider Snapshots– Is Now on AWS!
  • 28.
  • 29.
  • 30.
    Cloud Provider Snapshotson AWS are Incremental Starting at $0.14 per GB! 10 GB 15 GB (5 new) 20 GB (5 new)
  • 31.
  • 32.
  • 33.
    Fully Managed DisasterRecovery Flexibility to choose how you want to backup your data, depending on your requirements Continuous • Point-in-time restore • Queryable snapshots • Satisfy nearly any RPO / RTO Snapshot • Localized backup • Fast restores • The cost effective option
  • 34.