SlideShare una empresa de Scribd logo
1 de 46
Descargar para leer sin conexión
MongoDB
Management
Pain Relief
Michael Lynn
Sr. Solutions Architect, MongoDB
@mlynn, @phillyMUG
michael.lynn@mongodb.com
OpsManager
OpsManager
Goals
● Ops Manager, Cloud Manager, Atlas
○ What are they?
○ How do they differ?
○ Why do I need them?
● Ansible
○ What is it and how can I use these tools to relieve some
pain in my life?
00:00:01
Show of
Hands
● Who’s Here?
○ DevOps/Ops?
○ Site Reliability?
○ Engineer?
○ DBA?
○ Developer?
Admin
Evolution 3. Puppet, Salt,
Ansible
Leveraging automated solution for
config mgt, some cloud deployment.
1. Manual
Download by hand, build server from
CD, Manually Start and Config Services.
2. Scripting
Write scripts to maintain
configurations, copy those to
servers and run them.
4. Cloud/Hybrid
Automation
Full Cloud-based pro-
visioning and
management
Managing databases manually can be...
● Painful
● Risky
● Complex
● Susceptible to
human error*
● Unnecessary...
* 80% of all downtime due to people/process error (Gartner)
What’s involved in managing MongoDB?
● Provision / Deploy
● Install/Upgrade Binaries
● Configure Database
● Administer Database
Deploying 42
42
Upgrading 35
70
Maintaining 23
100
Play Top 3 Things DBA’s Hate to Do Manually?
So… what does it take (at scale)?
It can take a lot of manual effort to care for a MongoDB
system in production
● Install + Configure
○ 150+ steps
● Scale out, move servers, resize oplog, etc
○ 10 - 180+ steps
● Upgrades, downgrades
○ 100+ stepsUpgrade
Deploy
Maintain
Up to 95%
Reduction in
Operational
Overhead
• Single-click provisioning, scaling &
upgrades, admin tasks!
• Monitoring, with charts, dashboards
and alerts on 100+ metrics
• Backup and restore, with
point-in-time recovery, support for
sharded clusters
MongoDB Ops Manager
The Best Way to Manage MongoDB In Your Data Center
Up to 95% Reduction in Operational Overhead
1
2
Group/RBAC
Logical/Physical
3 Replica Set Members
3 MongoDB Version
1Add Replica Set
1Repset Name
2Version of MongoDB
3Server Pool Hostnames
4Port to Run MongoDB
1Member Roles
2DB Path on Server
3Advanced Options Settings
4CLICK APPLY
Activity
Deploy Server Instance
Upgrade (Done For You)
Configure
Administer Database
Maintain OS - Mongod
Maintain OS - OpsMgr
Activity
Deploy Server Instance
Upgrade MongoDB
Configure MongoDB
Administer Database
Maintain OS - Mongod
Maintain OS - OpsMgr
Activity
Deploy Server Instance
Upgrade MongoDB
Configure MongoDB
Administer Database
Maintain OS - Mongod
Maintain OS - OpsMgr
Ops
Manager
Cloud
Manager Atlas
CONTROL CONVENIENCE
Ops
Manager
Cloud
Manager Atlas
Where are my servers?
AWS
Where are my servers?
Your Data Center
AWS
Azure
GCP
Where are my servers?
Your Data Center
AWS
Azure
GCP
MongoDB Versions?
Community
Only Most Recent
MongoDB Versions?
Community, Enterprise
MongoDB Versions?
Community, Enterprise
CONTROL CONVENIENCE
Replica Set Architecture (w/ Ops Manager)
15
APP SERVER
APPLICATION
DRIVER
OPS MANAGER
OM APP
APP BACKUP
REPLICA SET
PRIMARY
SECONDARY SECONDARY
OM
AGENT
OM
AGENT
OM
AGENT
MongoDB Deployment - Ops Manager
Configure Host
Provision Host
Configure
Agent
1. AWS 2. New Host 3. Ops Manager
Install OM
Agent
Restart Agent
Install
MongoDB
Configure
Monitoring
Configure
Backups
Configure Host
Provision Host
Configure
Agent
Install OM
Agent
Restart Agent
Install
MongoDB
Configure
Monitoring
Configure
Backups
2. New Host 3. Ops Manager1. AWS
MongoDB Deployment - Cloud Manager & Atlas
Configure Host
Provision Host
Configure
Agent
Install OM
Agent
Restart Agent
Provision New
Hosts
Configure
Monitoring
Configure
Backups
AWS New Host Ops Manager
Provision New
Hosts
Configure
Monitoring
Configure
Backups
1. Cloud / Atlas
MongoDB Deployment - Ops Manager
Configure Host
Provision Host
Configure
Agent
1. AWS 2. New Host 3. Ops Manager
Install OW
Agent
Restart Agent
Install
MongoDB
Configure
Monitoring
Configure
Backups
Configure Host
Provision Host
Configure
Agent
Install OW
Agent
Restart Agent
Install
MongoDB
Configure
Monitoring
Configure
Backups
2. New Host 3. Ops Manager1. AWS
Candidate
for
Automation?
20
WHAT IS ANSIBLE?
Confidential
It’s a simple automation language that
can perfectly describe an IT application
infrastructure in Ansible Playbooks.
It’s an automation engine that runs
Ansible Playbooks.
Ansible Tower is an enterprise
framework for controlling, securing
and managing your Ansible
automation with a UI and RESTful API.
21
SIMPLE POWERFUL AGENTLESS
App deployment
Configuration management
Workflow orchestration
Orchestrate the app lifecycle
Human readable automation
No special coding skills needed
Tasks executed in order
Get productive quickly
Agentless architecture
Uses OpenSSH & WinRM
No agents to exploit or update
More efficient & more secure
Confidential
22
ANSIBLE TOWER
CONTROL
SIMPLE POWERFUL AGENTLESS
KNOWLEDGE DELEGATION
TOWER EMPOWERS TEAMS TO AUTOMATE
AT ANSIBLE’S CORE IS AN OPEN-SOURCE AUTOMATION ENGINE
Scheduled and
centralized jobs
Visibility and
compliance
Role-based access
and self-service
Everyone speaks the
same language
Designed for
multi-tier deployments
Predictable, reliable,
and secure
Confidential
MongoDB Deployment - Ops Manager
Configure Host
Provision Host
Configure
Agent
1. AWS 2. New Host 3. Ops Manager
Install OW
Agent
Restart Agent
Install
MongoDB
Configure
Monitoring
Configure
Backups
Configure Host
Provision Host
Configure
Agent
Install OW
Agent
Restart Agent
Install
MongoDB
Configure
Monitoring
Configure
Backups
2. New Host 3. Ops Manager1. AWS
Use Ansible
Getting Started with Ansible - Lexicon
● Commands
○ ansible, ansible-playbook
● Configuration
○ ansible.cfg
● Modules
○ Hundreds of stand-alone scripts to solve common requirements
● Plays, Playbooks
○ The execution tools to carry out your management tasks
● Tasks
○ The components that connect ansible to the servers
Why Ansible?
● Simple
● Human Readable
● Agentless (uses SSH)
● Popular - Lots of Modules
● Used by Twitter, NASA, Spotify
Getting Started with Ansible
ansible -m ping -i ansible-hosts
opsManager
Here I’m telling ansible to use the ping module
against the opsManager group in my
ansible-hosts file.
Demo of Ansible
1 - Ansible Configuration Files
2 - Ansible Hosts File
3 - Ansible Modules - Ping
4 - Ansible Environment Variables
5 - Ansible Modules - Script
6 - Ansible Playbooks
7 - Deploying O/M in Playbooks
MongoDB Enterprise Server
MongoDB Enterprise Advanced24x7Support
CommercialLicense
Platform
Certifications
Emergency
Patches
On-Demand
Online Training
Customer
Success
Program
MongoDB CompassMongoDB Ops Manager
Monitoring &
Alerting
Query
Optimization
Backup &
Recovery
Automation &
Configuration
Schema
Visualization
Data Exploration
Ad-Hoc Queries
MongoDB Connector for
BI
Visualization
Analysis
Reporting
LDAP & Kerberos Auditing FIPS 140-2Encryption at Rest
REST API
Post-Demo Check-in
● Atlas
○ DBaaS
○ Deploys new MongoDB Clusters from zero to cluster in minutes.
● Ops Manager
○ Automation for all the things you do with MongoDB - except deploying the agent.
● Ansible
○ Automation for configs, deployment and more - especially deploying O/M Agents
I hope you learned some ways you can relieve the pain associated with manually
configuring, deploying and maintaining your database environment.
Questions?
Get These Scripts and Slides:
http://github.com/mrlynn/ansible-demo
BONUS
SLIDES!
● Slides probably
not used in the
presentation.
Demonstration Setup
Command Description
ansible -m ping -i ansible-hosts all Using the ping module and the hosts file
ansible-hosts in the current directory,
ping all hosts
export ANSIBLE_HOSTS=./ansible_hosts Save some time - ansible uses
environment variables extensivel
ansible -m ping all Same as before - but now ansible
leverages the env var to find the ansible
hosts file.
Demonstration
Command Description
ansible -m script test.sh all Here, we take a local script and execute
it across all of our hosts. Ansible takes
that script and delivers it via scp to the
hosts, executes it and captures the
output.
export ANSIBLE_HOSTS=./ansible_hosts Save some time - ansible uses
environment variables extensivel
ansible -m ping all Same as before - but now ansible
leverages the env var to find the ansible
hosts file.
Appendix A - /etc/ansible/hosts sample
[opsManager]
ec2-54-93-114-205.eu-central-1.compute.amazonaws.com ansible_user=ec2-user
[amlReplicaSet]
ec2-54-93-79-122.eu-central-1.compute.amazonaws.com ansible_user=ec2-user
ec2-54-93-176-246.eu-central-1.compute.amazonaws.com ansible_user=ec2-user
ec2-54-93-207-148.eu-central-1.compute.amazonaws.com ansible_user=ec2-user
[amlReplicaSet:vars]
opsmanagerurl=http://ec2-54-93-114-205.eu-central-1.compute.amazonaws.com:8080
opsmanager=ec2-54-93-114-205.eu-central-1.compute.amazonaws.com
Appendix B - ansible.cfg
[defaults]
host_key_checking = False
private_key_file = PATH/TO/AWS/KEY.FILE
[ssh_connection]
control_path = %(directory)s/%%C
Appendix A: Setup
Setup Step 1 - Configure Keys
Michaels-MBP-3:setup mlynn$ cat ansible.cfg
[defaults]
host_key_checking = False
private_key_file = /Users/mlynn/.ssh/michael.lynn.pem
● Create or identify your AWS key.
● Locate the ansible.cfg file in the setup directory
of this repo.
● Modify ansible.cfg to point to your AWS Key.
Setup Step 1 - EC2 Hosts
Start with:
- 1 running m3.xlarge - Ops
Manager
- 3 running t2.small - Replica Set
Members
Take note of the Public DNS - add these
to ansible-hosts as shown here.
[opsManager]
ec2-107-23-40-226.compute-1.amazonaws.com ansible_user=ec2-user
[ReplicaSet]
ec2-54-159-211-126.compute-1.amazonaws.com ansible_user=ec2-user
ec2-54-84-243-170.compute-1.amazonaws.com ansible_user=ec2-user
ec2-52-90-15-175.compute-1.amazonaws.com ansible_user=ec2-user
[ReplicaSet:vars]
opsmanagerurl=http://ec2-107-23-40-226.compute-1.amazonaws.com:8080
opsmanager=ec2-107-23-40-226.compute-1.amazonaws.com
Setup Step 2 - Install OpsManager Package
Start with:
- 1 running m3.xlarge - Ops
Manager
- 3 running t2.small - Replica Set
Members
Take note of the Public DNS - add these
to ansible-hosts as shown here.
[opsManager]
ec2-54-209-123-125.compute-1.amazonaws.com ansible_user=ec2-user
[ReplicaSet]
ec2-107-23-249-134.compute-1.amazonaws.com ansible_user=ec2-user
ec2-174-129-139-203.compute-1.amazonaws.com ansible_user=ec2-user
ec2-52-91-79-187.compute-1.amazonaws.com ansible_user=ec2-user
[ReplicaSet:vars]
opsmanagerurl=http://ec2-54-209-123-125.compute-1.amazonaws.com:8080
opsmanager=ec2-54-209-123-125.compute-1.amazonaws.com

Más contenido relacionado

La actualidad más candente

Introduction to IBM Spectrum Scale and Its Use in Life Science
Introduction to IBM Spectrum Scale and Its Use in Life ScienceIntroduction to IBM Spectrum Scale and Its Use in Life Science
Introduction to IBM Spectrum Scale and Its Use in Life ScienceSandeep Patil
 
VMware Esx Short Presentation
VMware Esx Short PresentationVMware Esx Short Presentation
VMware Esx Short PresentationBarcamp Cork
 
Note - (EDK2) Acpi Tables Compile and Install
Note - (EDK2) Acpi Tables Compile and InstallNote - (EDK2) Acpi Tables Compile and Install
Note - (EDK2) Acpi Tables Compile and Installboyw165
 
VSAN – Architettura e Design
VSAN – Architettura e DesignVSAN – Architettura e Design
VSAN – Architettura e DesignVMUG IT
 
SDN입문 (Overlay and Underlay)
SDN입문 (Overlay and Underlay)SDN입문 (Overlay and Underlay)
SDN입문 (Overlay and Underlay)NAIM Networks, Inc.
 
Intro to AWS Developer Tools feat. AWS Codestar, and AWS SDKs & Developer Res...
Intro to AWS Developer Tools feat. AWS Codestar, and AWS SDKs & Developer Res...Intro to AWS Developer Tools feat. AWS Codestar, and AWS SDKs & Developer Res...
Intro to AWS Developer Tools feat. AWS Codestar, and AWS SDKs & Developer Res...Amazon Web Services
 
OpenStack and Kubernetes - A match made for Telco Heaven
OpenStack and Kubernetes - A match made for Telco HeavenOpenStack and Kubernetes - A match made for Telco Heaven
OpenStack and Kubernetes - A match made for Telco HeavenTrinath Somanchi
 
VMware HCI solutions - 2020-01-16
VMware HCI solutions - 2020-01-16VMware HCI solutions - 2020-01-16
VMware HCI solutions - 2020-01-16David Pasek
 
Red Hat OpenStack - Open Cloud Infrastructure
Red Hat OpenStack - Open Cloud InfrastructureRed Hat OpenStack - Open Cloud Infrastructure
Red Hat OpenStack - Open Cloud InfrastructureAlex Baretto
 
Amazon AWS | What is Amazon AWS | AWS Tutorial | AWS Training | Edureka
Amazon AWS | What is Amazon AWS | AWS Tutorial | AWS Training | EdurekaAmazon AWS | What is Amazon AWS | AWS Tutorial | AWS Training | Edureka
Amazon AWS | What is Amazon AWS | AWS Tutorial | AWS Training | EdurekaEdureka!
 
DevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
DevOpsDays Taipei 2019 - Mastering IaC the DevOps WayDevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
DevOpsDays Taipei 2019 - Mastering IaC the DevOps Waysmalltown
 
VMworld 2017 vSAN Network Design
VMworld 2017 vSAN Network Design VMworld 2017 vSAN Network Design
VMworld 2017 vSAN Network Design Cormac Hogan
 
What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...
What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...
What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...Simplilearn
 

La actualidad más candente (20)

Linux Audio Drivers. ALSA
Linux Audio Drivers. ALSALinux Audio Drivers. ALSA
Linux Audio Drivers. ALSA
 
Introduction to IBM Spectrum Scale and Its Use in Life Science
Introduction to IBM Spectrum Scale and Its Use in Life ScienceIntroduction to IBM Spectrum Scale and Its Use in Life Science
Introduction to IBM Spectrum Scale and Its Use in Life Science
 
VMware Esx Short Presentation
VMware Esx Short PresentationVMware Esx Short Presentation
VMware Esx Short Presentation
 
Note - (EDK2) Acpi Tables Compile and Install
Note - (EDK2) Acpi Tables Compile and InstallNote - (EDK2) Acpi Tables Compile and Install
Note - (EDK2) Acpi Tables Compile and Install
 
VSAN – Architettura e Design
VSAN – Architettura e DesignVSAN – Architettura e Design
VSAN – Architettura e Design
 
Ansible
AnsibleAnsible
Ansible
 
SDN입문 (Overlay and Underlay)
SDN입문 (Overlay and Underlay)SDN입문 (Overlay and Underlay)
SDN입문 (Overlay and Underlay)
 
Intro to AWS Developer Tools feat. AWS Codestar, and AWS SDKs & Developer Res...
Intro to AWS Developer Tools feat. AWS Codestar, and AWS SDKs & Developer Res...Intro to AWS Developer Tools feat. AWS Codestar, and AWS SDKs & Developer Res...
Intro to AWS Developer Tools feat. AWS Codestar, and AWS SDKs & Developer Res...
 
OpenStack and Kubernetes - A match made for Telco Heaven
OpenStack and Kubernetes - A match made for Telco HeavenOpenStack and Kubernetes - A match made for Telco Heaven
OpenStack and Kubernetes - A match made for Telco Heaven
 
VMware HCI solutions - 2020-01-16
VMware HCI solutions - 2020-01-16VMware HCI solutions - 2020-01-16
VMware HCI solutions - 2020-01-16
 
Red Hat OpenStack - Open Cloud Infrastructure
Red Hat OpenStack - Open Cloud InfrastructureRed Hat OpenStack - Open Cloud Infrastructure
Red Hat OpenStack - Open Cloud Infrastructure
 
Amazon AWS | What is Amazon AWS | AWS Tutorial | AWS Training | Edureka
Amazon AWS | What is Amazon AWS | AWS Tutorial | AWS Training | EdurekaAmazon AWS | What is Amazon AWS | AWS Tutorial | AWS Training | Edureka
Amazon AWS | What is Amazon AWS | AWS Tutorial | AWS Training | Edureka
 
DevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
DevOpsDays Taipei 2019 - Mastering IaC the DevOps WayDevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
DevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
 
Ansible
AnsibleAnsible
Ansible
 
macvlan and ipvlan
macvlan and ipvlanmacvlan and ipvlan
macvlan and ipvlan
 
VMworld 2017 vSAN Network Design
VMworld 2017 vSAN Network Design VMworld 2017 vSAN Network Design
VMworld 2017 vSAN Network Design
 
Ansible Playbook
Ansible PlaybookAnsible Playbook
Ansible Playbook
 
Introduction to DevOps on AWS
Introduction to DevOps on AWSIntroduction to DevOps on AWS
Introduction to DevOps on AWS
 
What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...
What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...
What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...
 
[9월 런치 세미나] 도커와 쿠버네티스 기술에 스며들다
[9월 런치 세미나] 도커와 쿠버네티스 기술에 스며들다[9월 런치 세미나] 도커와 쿠버네티스 기술에 스며들다
[9월 런치 세미나] 도커와 쿠버네티스 기술에 스며들다
 

Destacado

Microservices: Living Large in Your Castle Made of Sand
Microservices: Living Large in Your Castle Made of SandMicroservices: Living Large in Your Castle Made of Sand
Microservices: Living Large in Your Castle Made of SandMongoDB
 
Ansible, MongoDB Ops Manager and AWS v1.1
Ansible, MongoDB Ops Manager and AWS v1.1Ansible, MongoDB Ops Manager and AWS v1.1
Ansible, MongoDB Ops Manager and AWS v1.1Michael Lynn
 
MongoDB Shell Tips & Tricks
MongoDB Shell Tips & TricksMongoDB Shell Tips & Tricks
MongoDB Shell Tips & TricksMongoDB
 
Webinar: Come semplificare l'utilizzo del database con MongoDB Atlas
Webinar: Come semplificare l'utilizzo del database con MongoDB AtlasWebinar: Come semplificare l'utilizzo del database con MongoDB Atlas
Webinar: Come semplificare l'utilizzo del database con MongoDB AtlasMongoDB
 
MongoDB Evenings Boston - An Update on MongoDB's WiredTiger Storage Engine
MongoDB Evenings Boston - An Update on MongoDB's WiredTiger Storage EngineMongoDB Evenings Boston - An Update on MongoDB's WiredTiger Storage Engine
MongoDB Evenings Boston - An Update on MongoDB's WiredTiger Storage EngineMongoDB
 
MongoDB Launchpad 2016: What’s New in the 3.4 Server
MongoDB Launchpad 2016: What’s New in the 3.4 ServerMongoDB Launchpad 2016: What’s New in the 3.4 Server
MongoDB Launchpad 2016: What’s New in the 3.4 ServerMongoDB
 
Seminario web: Simplificando el uso de su base de datos con Atlas
Seminario web: Simplificando el uso de su base de datos con AtlasSeminario web: Simplificando el uso de su base de datos con Atlas
Seminario web: Simplificando el uso de su base de datos con AtlasMongoDB
 
GridFS: The Perfect Solution for Media Storage
GridFS: The Perfect Solution for Media StorageGridFS: The Perfect Solution for Media Storage
GridFS: The Perfect Solution for Media StorageMongoDB
 
Webinar: Simplifying the Database Experience with MongoDB Atlas
Webinar: Simplifying the Database Experience with MongoDB AtlasWebinar: Simplifying the Database Experience with MongoDB Atlas
Webinar: Simplifying the Database Experience with MongoDB AtlasMongoDB
 
Big Data Paris: Etude de Cas: KPMG, l’innovation continue grâce au Data Lake ...
Big Data Paris: Etude de Cas: KPMG, l’innovation continue grâce au Data Lake ...Big Data Paris: Etude de Cas: KPMG, l’innovation continue grâce au Data Lake ...
Big Data Paris: Etude de Cas: KPMG, l’innovation continue grâce au Data Lake ...MongoDB
 
MongoDB day Paris 2012
MongoDB day Paris 2012MongoDB day Paris 2012
MongoDB day Paris 2012FastConnect
 
Overcoming the Barriers to Blockchain Adoption
Overcoming the Barriers to Blockchain AdoptionOvercoming the Barriers to Blockchain Adoption
Overcoming the Barriers to Blockchain AdoptionMongoDB
 
Webinar: Schema Patterns and Your Storage Engine
Webinar: Schema Patterns and Your Storage EngineWebinar: Schema Patterns and Your Storage Engine
Webinar: Schema Patterns and Your Storage EngineMongoDB
 
MongoDB Case Study in Healthcare
MongoDB Case Study in HealthcareMongoDB Case Study in Healthcare
MongoDB Case Study in HealthcareMongoDB
 
Big Data Paris - Air France: Stratégie BigData et Use Cases
Big Data Paris - Air France: Stratégie BigData et Use CasesBig Data Paris - Air France: Stratégie BigData et Use Cases
Big Data Paris - Air France: Stratégie BigData et Use CasesMongoDB
 
Big Data Paris - A Modern Enterprise Architecture
Big Data Paris - A Modern Enterprise ArchitectureBig Data Paris - A Modern Enterprise Architecture
Big Data Paris - A Modern Enterprise ArchitectureMongoDB
 
Intro to OpenShift, MongoDB Atlas & Live Demo
Intro to OpenShift, MongoDB Atlas & Live DemoIntro to OpenShift, MongoDB Atlas & Live Demo
Intro to OpenShift, MongoDB Atlas & Live DemoMongoDB
 
How To Connect Spark To Your Own Datasource
How To Connect Spark To Your Own DatasourceHow To Connect Spark To Your Own Datasource
How To Connect Spark To Your Own DatasourceMongoDB
 

Destacado (20)

Microservices: Living Large in Your Castle Made of Sand
Microservices: Living Large in Your Castle Made of SandMicroservices: Living Large in Your Castle Made of Sand
Microservices: Living Large in Your Castle Made of Sand
 
Ansible, MongoDB Ops Manager and AWS v1.1
Ansible, MongoDB Ops Manager and AWS v1.1Ansible, MongoDB Ops Manager and AWS v1.1
Ansible, MongoDB Ops Manager and AWS v1.1
 
ToursJUG mongoDB
ToursJUG mongoDBToursJUG mongoDB
ToursJUG mongoDB
 
MongoDB Shell Tips & Tricks
MongoDB Shell Tips & TricksMongoDB Shell Tips & Tricks
MongoDB Shell Tips & Tricks
 
Webinar: Come semplificare l'utilizzo del database con MongoDB Atlas
Webinar: Come semplificare l'utilizzo del database con MongoDB AtlasWebinar: Come semplificare l'utilizzo del database con MongoDB Atlas
Webinar: Come semplificare l'utilizzo del database con MongoDB Atlas
 
MongoDB Evenings Boston - An Update on MongoDB's WiredTiger Storage Engine
MongoDB Evenings Boston - An Update on MongoDB's WiredTiger Storage EngineMongoDB Evenings Boston - An Update on MongoDB's WiredTiger Storage Engine
MongoDB Evenings Boston - An Update on MongoDB's WiredTiger Storage Engine
 
Zenika MongoDB Tour - REX Amadeus
Zenika MongoDB Tour - REX AmadeusZenika MongoDB Tour - REX Amadeus
Zenika MongoDB Tour - REX Amadeus
 
MongoDB Launchpad 2016: What’s New in the 3.4 Server
MongoDB Launchpad 2016: What’s New in the 3.4 ServerMongoDB Launchpad 2016: What’s New in the 3.4 Server
MongoDB Launchpad 2016: What’s New in the 3.4 Server
 
Seminario web: Simplificando el uso de su base de datos con Atlas
Seminario web: Simplificando el uso de su base de datos con AtlasSeminario web: Simplificando el uso de su base de datos con Atlas
Seminario web: Simplificando el uso de su base de datos con Atlas
 
GridFS: The Perfect Solution for Media Storage
GridFS: The Perfect Solution for Media StorageGridFS: The Perfect Solution for Media Storage
GridFS: The Perfect Solution for Media Storage
 
Webinar: Simplifying the Database Experience with MongoDB Atlas
Webinar: Simplifying the Database Experience with MongoDB AtlasWebinar: Simplifying the Database Experience with MongoDB Atlas
Webinar: Simplifying the Database Experience with MongoDB Atlas
 
Big Data Paris: Etude de Cas: KPMG, l’innovation continue grâce au Data Lake ...
Big Data Paris: Etude de Cas: KPMG, l’innovation continue grâce au Data Lake ...Big Data Paris: Etude de Cas: KPMG, l’innovation continue grâce au Data Lake ...
Big Data Paris: Etude de Cas: KPMG, l’innovation continue grâce au Data Lake ...
 
MongoDB day Paris 2012
MongoDB day Paris 2012MongoDB day Paris 2012
MongoDB day Paris 2012
 
Overcoming the Barriers to Blockchain Adoption
Overcoming the Barriers to Blockchain AdoptionOvercoming the Barriers to Blockchain Adoption
Overcoming the Barriers to Blockchain Adoption
 
Webinar: Schema Patterns and Your Storage Engine
Webinar: Schema Patterns and Your Storage EngineWebinar: Schema Patterns and Your Storage Engine
Webinar: Schema Patterns and Your Storage Engine
 
MongoDB Case Study in Healthcare
MongoDB Case Study in HealthcareMongoDB Case Study in Healthcare
MongoDB Case Study in Healthcare
 
Big Data Paris - Air France: Stratégie BigData et Use Cases
Big Data Paris - Air France: Stratégie BigData et Use CasesBig Data Paris - Air France: Stratégie BigData et Use Cases
Big Data Paris - Air France: Stratégie BigData et Use Cases
 
Big Data Paris - A Modern Enterprise Architecture
Big Data Paris - A Modern Enterprise ArchitectureBig Data Paris - A Modern Enterprise Architecture
Big Data Paris - A Modern Enterprise Architecture
 
Intro to OpenShift, MongoDB Atlas & Live Demo
Intro to OpenShift, MongoDB Atlas & Live DemoIntro to OpenShift, MongoDB Atlas & Live Demo
Intro to OpenShift, MongoDB Atlas & Live Demo
 
How To Connect Spark To Your Own Datasource
How To Connect Spark To Your Own DatasourceHow To Connect Spark To Your Own Datasource
How To Connect Spark To Your Own Datasource
 

Similar a MongoDB Management & Ansible

Ansible Tutorial.pdf
Ansible Tutorial.pdfAnsible Tutorial.pdf
Ansible Tutorial.pdfNigussMehari4
 
MongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB Ops Manager and Kubernetes - James BroadheadMongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB Ops Manager and Kubernetes - James BroadheadMongoDB
 
Ansible Devops North East - slides
Ansible Devops North East - slides Ansible Devops North East - slides
Ansible Devops North East - slides InfinityPP
 
2016 - Easing Your Way Into Docker: Lessons From a Journey to Production
2016 - Easing Your Way Into Docker: Lessons From a Journey to Production2016 - Easing Your Way Into Docker: Lessons From a Journey to Production
2016 - Easing Your Way Into Docker: Lessons From a Journey to Productiondevopsdaysaustin
 
UNIT-I Introduction to Ansible.pptx
UNIT-I Introduction to Ansible.pptxUNIT-I Introduction to Ansible.pptx
UNIT-I Introduction to Ansible.pptxPandiya Rajan
 
Devops with Python by Yaniv Cohen DevopShift
Devops with Python by Yaniv Cohen DevopShiftDevops with Python by Yaniv Cohen DevopShift
Devops with Python by Yaniv Cohen DevopShiftYaniv cohen
 
Ansible & Salt - Vincent Boon
Ansible & Salt - Vincent BoonAnsible & Salt - Vincent Boon
Ansible & Salt - Vincent BoonMyNOG
 
Intro to-ansible-sep7-meetup
Intro to-ansible-sep7-meetupIntro to-ansible-sep7-meetup
Intro to-ansible-sep7-meetupRamesh Godishela
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction Robert Reiz
 
Scaling on EC2 in a fast-paced environment (LISA'11 - Full Paper)
Scaling on EC2 in a fast-paced environment (LISA'11 - Full Paper)Scaling on EC2 in a fast-paced environment (LISA'11 - Full Paper)
Scaling on EC2 in a fast-paced environment (LISA'11 - Full Paper)Nicolas Brousse
 
Automating with ansible (part a)
Automating with ansible (part a)Automating with ansible (part a)
Automating with ansible (part a)iman darabi
 
AWS Intro for Knight News Fellows
AWS Intro for Knight News FellowsAWS Intro for Knight News Fellows
AWS Intro for Knight News FellowsJohn Schneider
 
DevOps in a Regulated World - aka 'Ansible, AWS, and Jenkins'
DevOps in a Regulated World - aka 'Ansible, AWS, and Jenkins'DevOps in a Regulated World - aka 'Ansible, AWS, and Jenkins'
DevOps in a Regulated World - aka 'Ansible, AWS, and Jenkins'rmcleay
 

Similar a MongoDB Management & Ansible (20)

Ansible Tutorial.pdf
Ansible Tutorial.pdfAnsible Tutorial.pdf
Ansible Tutorial.pdf
 
Ansible - Hands on Training
Ansible - Hands on TrainingAnsible - Hands on Training
Ansible - Hands on Training
 
MongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB Ops Manager and Kubernetes - James BroadheadMongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB Ops Manager and Kubernetes - James Broadhead
 
ansible_rhel.pdf
ansible_rhel.pdfansible_rhel.pdf
ansible_rhel.pdf
 
Ansible_Basics_ppt.pdf
Ansible_Basics_ppt.pdfAnsible_Basics_ppt.pdf
Ansible_Basics_ppt.pdf
 
Ansible Devops North East - slides
Ansible Devops North East - slides Ansible Devops North East - slides
Ansible Devops North East - slides
 
2016 - Easing Your Way Into Docker: Lessons From a Journey to Production
2016 - Easing Your Way Into Docker: Lessons From a Journey to Production2016 - Easing Your Way Into Docker: Lessons From a Journey to Production
2016 - Easing Your Way Into Docker: Lessons From a Journey to Production
 
UNIT-I Introduction to Ansible.pptx
UNIT-I Introduction to Ansible.pptxUNIT-I Introduction to Ansible.pptx
UNIT-I Introduction to Ansible.pptx
 
Devops with Python by Yaniv Cohen DevopShift
Devops with Python by Yaniv Cohen DevopShiftDevops with Python by Yaniv Cohen DevopShift
Devops with Python by Yaniv Cohen DevopShift
 
DevOps for database
DevOps for databaseDevOps for database
DevOps for database
 
Ansible & Salt - Vincent Boon
Ansible & Salt - Vincent BoonAnsible & Salt - Vincent Boon
Ansible & Salt - Vincent Boon
 
Intro to-ansible-sep7-meetup
Intro to-ansible-sep7-meetupIntro to-ansible-sep7-meetup
Intro to-ansible-sep7-meetup
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction
 
Ansible.pdf
Ansible.pdfAnsible.pdf
Ansible.pdf
 
Scaling on EC2 in a fast-paced environment (LISA'11 - Full Paper)
Scaling on EC2 in a fast-paced environment (LISA'11 - Full Paper)Scaling on EC2 in a fast-paced environment (LISA'11 - Full Paper)
Scaling on EC2 in a fast-paced environment (LISA'11 - Full Paper)
 
DevOps demystified
DevOps demystifiedDevOps demystified
DevOps demystified
 
Ansible intro
Ansible introAnsible intro
Ansible intro
 
Automating with ansible (part a)
Automating with ansible (part a)Automating with ansible (part a)
Automating with ansible (part a)
 
AWS Intro for Knight News Fellows
AWS Intro for Knight News FellowsAWS Intro for Knight News Fellows
AWS Intro for Knight News Fellows
 
DevOps in a Regulated World - aka 'Ansible, AWS, and Jenkins'
DevOps in a Regulated World - aka 'Ansible, AWS, and Jenkins'DevOps in a Regulated World - aka 'Ansible, AWS, and Jenkins'
DevOps in a Regulated World - aka 'Ansible, AWS, and Jenkins'
 

Más de MongoDB

MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Migrate Anything* to MongoDB AtlasMongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Migrate Anything* to MongoDB AtlasMongoDB
 
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!MongoDB
 
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...MongoDB
 
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDBMongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDBMongoDB
 
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...MongoDB
 
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series DataMongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series DataMongoDB
 
MongoDB SoCal 2020: MongoDB Atlas Jump Start
 MongoDB SoCal 2020: MongoDB Atlas Jump Start MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB SoCal 2020: MongoDB Atlas Jump StartMongoDB
 
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]MongoDB
 
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2MongoDB
 
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...MongoDB
 
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!MongoDB
 
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your MindsetMongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your MindsetMongoDB
 
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB .local San Francisco 2020: MongoDB Atlas JumpstartMongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB .local San Francisco 2020: MongoDB Atlas JumpstartMongoDB
 
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...MongoDB
 
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++MongoDB
 
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...MongoDB
 
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep DiveMongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep DiveMongoDB
 
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & GolangMongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & GolangMongoDB
 
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...MongoDB
 
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...MongoDB
 

Más de MongoDB (20)

MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Migrate Anything* to MongoDB AtlasMongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
 
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
 
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
 
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDBMongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
 
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
 
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series DataMongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
 
MongoDB SoCal 2020: MongoDB Atlas Jump Start
 MongoDB SoCal 2020: MongoDB Atlas Jump Start MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB SoCal 2020: MongoDB Atlas Jump Start
 
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
 
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
 
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
 
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
 
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your MindsetMongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
 
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB .local San Francisco 2020: MongoDB Atlas JumpstartMongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
 
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
 
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
 
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
 
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep DiveMongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
 
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & GolangMongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
 
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
 
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
 

MongoDB Management & Ansible

  • 1. MongoDB Management Pain Relief Michael Lynn Sr. Solutions Architect, MongoDB @mlynn, @phillyMUG michael.lynn@mongodb.com OpsManager OpsManager
  • 2. Goals ● Ops Manager, Cloud Manager, Atlas ○ What are they? ○ How do they differ? ○ Why do I need them? ● Ansible ○ What is it and how can I use these tools to relieve some pain in my life? 00:00:01
  • 3. Show of Hands ● Who’s Here? ○ DevOps/Ops? ○ Site Reliability? ○ Engineer? ○ DBA? ○ Developer?
  • 4. Admin Evolution 3. Puppet, Salt, Ansible Leveraging automated solution for config mgt, some cloud deployment. 1. Manual Download by hand, build server from CD, Manually Start and Config Services. 2. Scripting Write scripts to maintain configurations, copy those to servers and run them. 4. Cloud/Hybrid Automation Full Cloud-based pro- visioning and management
  • 5. Managing databases manually can be... ● Painful ● Risky ● Complex ● Susceptible to human error* ● Unnecessary... * 80% of all downtime due to people/process error (Gartner)
  • 6. What’s involved in managing MongoDB? ● Provision / Deploy ● Install/Upgrade Binaries ● Configure Database ● Administer Database Deploying 42 42 Upgrading 35 70 Maintaining 23 100 Play Top 3 Things DBA’s Hate to Do Manually?
  • 7. So… what does it take (at scale)? It can take a lot of manual effort to care for a MongoDB system in production ● Install + Configure ○ 150+ steps ● Scale out, move servers, resize oplog, etc ○ 10 - 180+ steps ● Upgrades, downgrades ○ 100+ stepsUpgrade Deploy Maintain Up to 95% Reduction in Operational Overhead
  • 8. • Single-click provisioning, scaling & upgrades, admin tasks! • Monitoring, with charts, dashboards and alerts on 100+ metrics • Backup and restore, with point-in-time recovery, support for sharded clusters MongoDB Ops Manager The Best Way to Manage MongoDB In Your Data Center Up to 95% Reduction in Operational Overhead
  • 11. 1Repset Name 2Version of MongoDB 3Server Pool Hostnames 4Port to Run MongoDB
  • 12. 1Member Roles 2DB Path on Server 3Advanced Options Settings 4CLICK APPLY
  • 13. Activity Deploy Server Instance Upgrade (Done For You) Configure Administer Database Maintain OS - Mongod Maintain OS - OpsMgr Activity Deploy Server Instance Upgrade MongoDB Configure MongoDB Administer Database Maintain OS - Mongod Maintain OS - OpsMgr Activity Deploy Server Instance Upgrade MongoDB Configure MongoDB Administer Database Maintain OS - Mongod Maintain OS - OpsMgr Ops Manager Cloud Manager Atlas CONTROL CONVENIENCE
  • 14. Ops Manager Cloud Manager Atlas Where are my servers? AWS Where are my servers? Your Data Center AWS Azure GCP Where are my servers? Your Data Center AWS Azure GCP MongoDB Versions? Community Only Most Recent MongoDB Versions? Community, Enterprise MongoDB Versions? Community, Enterprise CONTROL CONVENIENCE
  • 15. Replica Set Architecture (w/ Ops Manager) 15 APP SERVER APPLICATION DRIVER OPS MANAGER OM APP APP BACKUP REPLICA SET PRIMARY SECONDARY SECONDARY OM AGENT OM AGENT OM AGENT
  • 16. MongoDB Deployment - Ops Manager Configure Host Provision Host Configure Agent 1. AWS 2. New Host 3. Ops Manager Install OM Agent Restart Agent Install MongoDB Configure Monitoring Configure Backups Configure Host Provision Host Configure Agent Install OM Agent Restart Agent Install MongoDB Configure Monitoring Configure Backups 2. New Host 3. Ops Manager1. AWS
  • 17. MongoDB Deployment - Cloud Manager & Atlas Configure Host Provision Host Configure Agent Install OM Agent Restart Agent Provision New Hosts Configure Monitoring Configure Backups AWS New Host Ops Manager Provision New Hosts Configure Monitoring Configure Backups 1. Cloud / Atlas
  • 18. MongoDB Deployment - Ops Manager Configure Host Provision Host Configure Agent 1. AWS 2. New Host 3. Ops Manager Install OW Agent Restart Agent Install MongoDB Configure Monitoring Configure Backups Configure Host Provision Host Configure Agent Install OW Agent Restart Agent Install MongoDB Configure Monitoring Configure Backups 2. New Host 3. Ops Manager1. AWS Candidate for Automation?
  • 19.
  • 20. 20 WHAT IS ANSIBLE? Confidential It’s a simple automation language that can perfectly describe an IT application infrastructure in Ansible Playbooks. It’s an automation engine that runs Ansible Playbooks. Ansible Tower is an enterprise framework for controlling, securing and managing your Ansible automation with a UI and RESTful API.
  • 21. 21 SIMPLE POWERFUL AGENTLESS App deployment Configuration management Workflow orchestration Orchestrate the app lifecycle Human readable automation No special coding skills needed Tasks executed in order Get productive quickly Agentless architecture Uses OpenSSH & WinRM No agents to exploit or update More efficient & more secure Confidential
  • 22. 22 ANSIBLE TOWER CONTROL SIMPLE POWERFUL AGENTLESS KNOWLEDGE DELEGATION TOWER EMPOWERS TEAMS TO AUTOMATE AT ANSIBLE’S CORE IS AN OPEN-SOURCE AUTOMATION ENGINE Scheduled and centralized jobs Visibility and compliance Role-based access and self-service Everyone speaks the same language Designed for multi-tier deployments Predictable, reliable, and secure Confidential
  • 23. MongoDB Deployment - Ops Manager Configure Host Provision Host Configure Agent 1. AWS 2. New Host 3. Ops Manager Install OW Agent Restart Agent Install MongoDB Configure Monitoring Configure Backups Configure Host Provision Host Configure Agent Install OW Agent Restart Agent Install MongoDB Configure Monitoring Configure Backups 2. New Host 3. Ops Manager1. AWS Use Ansible
  • 24. Getting Started with Ansible - Lexicon ● Commands ○ ansible, ansible-playbook ● Configuration ○ ansible.cfg ● Modules ○ Hundreds of stand-alone scripts to solve common requirements ● Plays, Playbooks ○ The execution tools to carry out your management tasks ● Tasks ○ The components that connect ansible to the servers
  • 25. Why Ansible? ● Simple ● Human Readable ● Agentless (uses SSH) ● Popular - Lots of Modules ● Used by Twitter, NASA, Spotify
  • 26. Getting Started with Ansible ansible -m ping -i ansible-hosts opsManager Here I’m telling ansible to use the ping module against the opsManager group in my ansible-hosts file.
  • 28. 1 - Ansible Configuration Files
  • 29. 2 - Ansible Hosts File
  • 30. 3 - Ansible Modules - Ping
  • 31. 4 - Ansible Environment Variables
  • 32. 5 - Ansible Modules - Script
  • 33. 6 - Ansible Playbooks
  • 34. 7 - Deploying O/M in Playbooks
  • 35. MongoDB Enterprise Server MongoDB Enterprise Advanced24x7Support CommercialLicense Platform Certifications Emergency Patches On-Demand Online Training Customer Success Program MongoDB CompassMongoDB Ops Manager Monitoring & Alerting Query Optimization Backup & Recovery Automation & Configuration Schema Visualization Data Exploration Ad-Hoc Queries MongoDB Connector for BI Visualization Analysis Reporting LDAP & Kerberos Auditing FIPS 140-2Encryption at Rest REST API
  • 36. Post-Demo Check-in ● Atlas ○ DBaaS ○ Deploys new MongoDB Clusters from zero to cluster in minutes. ● Ops Manager ○ Automation for all the things you do with MongoDB - except deploying the agent. ● Ansible ○ Automation for configs, deployment and more - especially deploying O/M Agents I hope you learned some ways you can relieve the pain associated with manually configuring, deploying and maintaining your database environment.
  • 37. Questions? Get These Scripts and Slides: http://github.com/mrlynn/ansible-demo
  • 38. BONUS SLIDES! ● Slides probably not used in the presentation.
  • 39. Demonstration Setup Command Description ansible -m ping -i ansible-hosts all Using the ping module and the hosts file ansible-hosts in the current directory, ping all hosts export ANSIBLE_HOSTS=./ansible_hosts Save some time - ansible uses environment variables extensivel ansible -m ping all Same as before - but now ansible leverages the env var to find the ansible hosts file.
  • 40. Demonstration Command Description ansible -m script test.sh all Here, we take a local script and execute it across all of our hosts. Ansible takes that script and delivers it via scp to the hosts, executes it and captures the output. export ANSIBLE_HOSTS=./ansible_hosts Save some time - ansible uses environment variables extensivel ansible -m ping all Same as before - but now ansible leverages the env var to find the ansible hosts file.
  • 41. Appendix A - /etc/ansible/hosts sample [opsManager] ec2-54-93-114-205.eu-central-1.compute.amazonaws.com ansible_user=ec2-user [amlReplicaSet] ec2-54-93-79-122.eu-central-1.compute.amazonaws.com ansible_user=ec2-user ec2-54-93-176-246.eu-central-1.compute.amazonaws.com ansible_user=ec2-user ec2-54-93-207-148.eu-central-1.compute.amazonaws.com ansible_user=ec2-user [amlReplicaSet:vars] opsmanagerurl=http://ec2-54-93-114-205.eu-central-1.compute.amazonaws.com:8080 opsmanager=ec2-54-93-114-205.eu-central-1.compute.amazonaws.com
  • 42. Appendix B - ansible.cfg [defaults] host_key_checking = False private_key_file = PATH/TO/AWS/KEY.FILE [ssh_connection] control_path = %(directory)s/%%C
  • 44. Setup Step 1 - Configure Keys Michaels-MBP-3:setup mlynn$ cat ansible.cfg [defaults] host_key_checking = False private_key_file = /Users/mlynn/.ssh/michael.lynn.pem ● Create or identify your AWS key. ● Locate the ansible.cfg file in the setup directory of this repo. ● Modify ansible.cfg to point to your AWS Key.
  • 45. Setup Step 1 - EC2 Hosts Start with: - 1 running m3.xlarge - Ops Manager - 3 running t2.small - Replica Set Members Take note of the Public DNS - add these to ansible-hosts as shown here. [opsManager] ec2-107-23-40-226.compute-1.amazonaws.com ansible_user=ec2-user [ReplicaSet] ec2-54-159-211-126.compute-1.amazonaws.com ansible_user=ec2-user ec2-54-84-243-170.compute-1.amazonaws.com ansible_user=ec2-user ec2-52-90-15-175.compute-1.amazonaws.com ansible_user=ec2-user [ReplicaSet:vars] opsmanagerurl=http://ec2-107-23-40-226.compute-1.amazonaws.com:8080 opsmanager=ec2-107-23-40-226.compute-1.amazonaws.com
  • 46. Setup Step 2 - Install OpsManager Package Start with: - 1 running m3.xlarge - Ops Manager - 3 running t2.small - Replica Set Members Take note of the Public DNS - add these to ansible-hosts as shown here. [opsManager] ec2-54-209-123-125.compute-1.amazonaws.com ansible_user=ec2-user [ReplicaSet] ec2-107-23-249-134.compute-1.amazonaws.com ansible_user=ec2-user ec2-174-129-139-203.compute-1.amazonaws.com ansible_user=ec2-user ec2-52-91-79-187.compute-1.amazonaws.com ansible_user=ec2-user [ReplicaSet:vars] opsmanagerurl=http://ec2-54-209-123-125.compute-1.amazonaws.com:8080 opsmanager=ec2-54-209-123-125.compute-1.amazonaws.com