Cloud Manager automation is an easy way to create new MongoDB deployments without having to do much of the underlying configuration work. This talk is how you can get started using automation on your droplets.
2. Jay Gordon
Developer Advocate - NYC
@jaydestro
{
"name" : "Jay Gordon",
"what" : Dev Advocate,
"former roles" : [
{ "title" : "SysAdmin",
"company": "BuzzFeed"
},
{ "title" : "Platform Engineer",
"company" : "DigitalOcean"
}
Area Man Talks About Software
3. Jay Gordon
Developer Advocate - NYC
@jaydestro
GET TO THE POINT.
Topics:
- Introducing MongoDB
- What’s under the hood?
- What makes up MongoDB?
- How can I configure MongoDB
with DO?
4. Jay Gordon
Developer Advocate - NYC
@jaydestro
GET TO THE POINT.
Not gonna:
- Use a silly analogy
about MongoDB and my
favorite sports
personality.
- Badmouth other DBs.
- Code live.
5. The Modern App
• High Concurrency
• High Throughput
• Low Latency
• Real-time analytics
• Cost Effective
• Zero downtime
19. Expressive Query Language
Rich Queries
Find Paul’s cars
Find everybody in London with a car between 1970 and 1980
Geospatial Find all of the car owners within 5km of Trafalgar Sq.
Text Search Find all the cars described as having leather seats
Aggregation Calculate the average value of Paul’s car collection
Map Reduce
What is the ownership pattern of colors by geography over time
(is purple trending in China?)
22. Aggregation Pipeline
The aggregation pipeline is a
framework for data aggregation
modeled on the concept of data
processing pipelines. Documents enter
a multi-stage pipeline that transforms
the documents into aggregated
results.
33. Helping you deploy in any environment
Control
Cloud ManagerOps Manager MongoDB Atlas
data: on-prem or cloud
ops: on-prem or cloud
data: on-prem or cloud
ops: cloud
Fully Managed Cloud
Convenience
34. Lots of Work, A New Database!
PATCHES
UPGRADES
SECURITY
BACKUPS
RECOVERY
99.999% UPTIME
UPSCALE
DOWNSCALE
36. Example of Web App on DO Network
Cloud Manager
data: on-prem or cloud
ops: cloud
37. Example of Web App on DO Network
Cloud Manager
data: on-prem or cloud
ops: cloud
MongoDB –
Three droplet
cluster.
NodeJS–
Two droplet web app.
DigitalOcean -
Load Balancer
43. Hosts file or DNS
root@mongodb-1gb-nyc2-01:~# hostname -f
mongodb-1gb-nyc2-01
root@mongodb-1gb-nyc2-02:~# hostname -f
mongodb-1gb-nyc2-02
root@mongodb-1gb-nyc2-03:~# hostname -f
mongodb-1gb-nyc2-03
Create hosts file entry for each site and then enter it into
each server’s /etc/hosts/ file:
10.128.32.63 mongodb-1gb-nyc2-01
10.128.32.64 mongodb-1gb-nyc2-02
10.128.32.66 mongodb-1gb-nyc2-03
51. Continuous Backup / Point-in-time Restore
Under the hood
● MongoDB Cloud Manager continuously backs up your data,
ensuring your backups are typically just a few seconds behind the
operational system
● Point-in-time backup of replica sets and consistent, cluster-wide
snapshots of sharded clusters. With MongoDB Cloud Manager,
you can easily and safely restore to precisely the moment you
need
● Compression and block-level deduplication technology keeps
your backup processes as efficient as possible
● Backups are securely stored in North America and Europe. For
location flexibility of your backup data, you can utilize MongoDB’s
mongodump / mongorestore tools
53. Join us at MongoDB World 2017
June 20-21
Chicago, IL
Bringing together 3000 developers, architects, IT professionals
and executive decision makers, MongoDB World is the foremost
conference dedicated to the database for giant ideas.
www.mongodb.com/events/mongodb-world-2017
25% Discount with JayGordon25