SlideShare uma empresa Scribd logo
1 de 30
Baixar para ler offline
Copyright Valiton GmbH 1
Moving from AWS to
Atlas
Our Motivation and Journey from
Self-Hosted to Managed MongoDB
26th
June 2019
Copyright Valiton GmbH 2
Personal Background
2011
2009
Web Developer at food IT Consulting
2013
Co-Founder of allergenis UG
2016
now
Freelancer
Software-Engineer at Valiton GmbH
Christoph Caprano
Christoph.Caprano@valiton.com
Copyright Valiton GmbH 3
Valiton as a Subsidiary of Hubert Burda Media
Copyright Valiton GmbH 4
Project Background
...
Decreasing
Ad Revenue
New Markets
New
Business Models
Newsletter E-CommerceTracking
Copyright Valiton GmbH 5
New Business Models
Newsletter
Web-Tracking
User-Properties
E-Commerce
Audience Groups
Exclusive Shooting Workshop
…
Exclusive wine offers
Copyright Valiton GmbH 6
System Overview
Privacy Agreement, Contact Agreement and Deletion Process
userdata
LeadGen
raffle participations
Copyright Valiton GmbH 7
AWS MongoDB Architecture (1)
read write
Cluster B
Secondary Secondary
Amazon EC2 Amazon EC2
Amazon EC2
read write
Cluster A
Secondary Secondary
Amazon EC2 Amazon EC2
Amazon EC2
Replica-Set Replica-Set
PrimaryPrimary
Copyright Valiton GmbH 8
AWS MongoDB Architecture (2)
Elastic Load
Balancer
Cluster
Secondary Secondary
Amazon EC2 Amazon EC2
Amazon EC2
EBS-Volume
EBS-VolumeEBS-Volume
Primary
Copyright Valiton GmbH 9
Challenges with Self-Hosted Architecture
Security Monitoring Maintenance
Copyright Valiton GmbH 10
Challenges with Self-Hosted Architecture
Security Monitoring Maintenance
Copyright Valiton GmbH 11
Security – Authentication
Elastic Load
Balancer
Cluster
Secondary Secondary
Amazon EC2 Amazon EC2
Amazon EC2
EBS-Volume
EBS-VolumeEBS-Volume
Primary
Copyright Valiton GmbH 12
Security – Jump Host
EBS-Volume
EBS-Volume
Elastic Load
Balancer
Cluster
Secondary Secondary
Amazon EC2 Amazon EC2
Amazon EC2
EBS-Volume
Jump Host
VPN
Amazon EC2
Primary
Copyright Valiton GmbH 13
Challenges with Self-Hosted Architecture
Security Monitoring Maintenance
Copyright Valiton GmbH 14
Monitoring CPUonly Memory Disk
no Process Database
Copyright Valiton GmbH 15
Challenges with Self-Hosted Architecture
Security Monitoring Maintenance
Copyright Valiton GmbH 16
Maintenance – Mongo Upgrade
UPGRADE
High Effort
3.0
Copyright Valiton GmbH 17
Maintenance - Scaling
Seasonal traffic
Overprovisioning
Copyright Valiton GmbH 18
Maintenance – Agile Development
DevOps
Scrum-Master
Developers
Fix MongoDB
Problem
Try to fulfil
sprint goal
Copyright Valiton GmbH 19
Solution: Moving to MongoDB Atlas
Contracts
Migration Preparation
Migration
Advantages:
• Focus on Software Development
• Possibility of Cloud-Agnostic
Required Steps:
Copyright Valiton GmbH 20
Migration Preparation – MongoDB Upgrade
3.0
3.2
UPGRADE
UPGRADE
3.2
UPGRADE
3.4
3.6
Followed MongoDB
Migration Guide
Copyright Valiton GmbH 21
Migration Preparation – Add Authentication
Elastic Load
Balancer
Primary
Cluster
Secondary Secondary
Amazon EC2 Amazon EC2
Amazon EC2
EBS-Volume
EBS-VolumeEBS-Volume
Copyright Valiton GmbH 22
Migration – MongoDB Atlas Live Migration
Elastic Load
Balancer
Cluster
Secondary Secondary
Amazon EC2 Amazon EC2
Amazon EC2
EBS-Volume
EBS-VolumeEBS-Volume
x
Live
Migration
Atlas
Cluster
Primary
Copyright Valiton GmbH 23
Performance Boost via Performance Advisor
The number of database objects
requested for a query has been
drastically reduced.
This has caused the API to respond
twice as fast on average (~15 ms instead
of ~30 ms).
This reduces the average query
execution time from up to 7 ms to
significantly less than 1 ms.
Query Targeting Query Executor AVG API Response Time
Copyright Valiton GmbH 24
Look back: Challenges with Self-Hosted Architecture
Security Monitoring Maintenance
Authentication
IP Whitelisting
In parallel AWS and Atlas Version Upgrade: SaaS
Scaling: SaaS
Copyright Valiton GmbH 25
How to merge AWS and Atlas logs?
Problem: No Grafana integration yet available
Copyright Valiton GmbH 26
Solution: Develop and Open-Source Atlas Grafana
Plugin
Get the plugin:
https://github.com/valiton/grafana-mongodb-atlas-datasource
Copyright Valiton GmbH 27
Copyright Valiton GmbH 28
Copyright Valiton GmbH 29
What‘s next?
● Participation at MongoDB University
● Use Functions added in MongoDB > 3.0
● Data and Service Redesign
https://www.mongodb.com/blog/post/building-with-patterns-a-summary
● Implementation of Aggregation Pipelines
Copyright Valiton GmbH 30
Q & A
Security Monitoring Maintenance
Authentication
IP Whitelisting
In parallel AWS and Atlas Version Upgrade: SaaS
Scaling: SaaS

Mais conteúdo relacionado

Mais procurados

5 Business Reasons Why Every CIO Should Consider Kubernetes
5 Business Reasons Why Every CIO Should Consider Kubernetes5 Business Reasons Why Every CIO Should Consider Kubernetes
5 Business Reasons Why Every CIO Should Consider KubernetesTyrone Systems
 
Hybrid backup on Cloud classmethod canada
Hybrid backup on Cloud classmethod canada Hybrid backup on Cloud classmethod canada
Hybrid backup on Cloud classmethod canada Simona Lam
 
IBM Bluemix Introdution for Hackathons
IBM Bluemix Introdution for HackathonsIBM Bluemix Introdution for Hackathons
IBM Bluemix Introdution for Hackathonsgjuljo
 
Hybrid connectivity options with the microsoft cloud
Hybrid connectivity options with the microsoft cloudHybrid connectivity options with the microsoft cloud
Hybrid connectivity options with the microsoft cloudBizTalk360
 
Serverless integrations using Azure Logic Apps (intro)
Serverless integrations using Azure Logic Apps (intro)Serverless integrations using Azure Logic Apps (intro)
Serverless integrations using Azure Logic Apps (intro)Callon Campbell
 
Google Cloud Platform Updates
Google Cloud Platform UpdatesGoogle Cloud Platform Updates
Google Cloud Platform UpdatesRomin Irani
 
Cloud platform comparison
Cloud platform comparison Cloud platform comparison
Cloud platform comparison Amit Ghosh
 
Azure Spring Cloud
Azure Spring CloudAzure Spring Cloud
Azure Spring CloudVMware Tanzu
 
Design - Integration Scenarios for Hybrid Cloud
Design - Integration Scenarios for Hybrid CloudDesign - Integration Scenarios for Hybrid Cloud
Design - Integration Scenarios for Hybrid CloudLaurenWendler
 
How IBM is helping developers win the race to innovate with next-gen cloud se...
How IBM is helping developers win the race to innovate with next-gen cloud se...How IBM is helping developers win the race to innovate with next-gen cloud se...
How IBM is helping developers win the race to innovate with next-gen cloud se...Michael Elder
 
Building serverless integration solutions with Microsoft Azure
Building serverless integration solutions with Microsoft AzureBuilding serverless integration solutions with Microsoft Azure
Building serverless integration solutions with Microsoft AzureBizTalk360
 
Unified Cloud Storage Api
Unified Cloud Storage ApiUnified Cloud Storage Api
Unified Cloud Storage ApiDave Nielsen
 
Platform-as-a-Service (PaaS) Overview
Platform-as-a-Service (PaaS) OverviewPlatform-as-a-Service (PaaS) Overview
Platform-as-a-Service (PaaS) OverviewRichard Seroter
 
IBM Bluemix Talk at University College Cork (UCC)
IBM Bluemix Talk at University College Cork (UCC)IBM Bluemix Talk at University College Cork (UCC)
IBM Bluemix Talk at University College Cork (UCC)Sanjay Nayak
 
20150902 v mworld2015-recap
20150902 v mworld2015-recap20150902 v mworld2015-recap
20150902 v mworld2015-recapKevin Groat
 
An Integration Platform to Support Vision 2025
An Integration Platform to Support Vision 2025An Integration Platform to Support Vision 2025
An Integration Platform to Support Vision 2025BizTalk360
 
Intro to Cloud Computing and Amazon web services(AWS)
Intro to Cloud Computing and Amazon web services(AWS)Intro to Cloud Computing and Amazon web services(AWS)
Intro to Cloud Computing and Amazon web services(AWS)Suraj Kumar
 
Google Firebase Presentation
Google Firebase PresentationGoogle Firebase Presentation
Google Firebase PresentationAeni Patel
 

Mais procurados (20)

5 Business Reasons Why Every CIO Should Consider Kubernetes
5 Business Reasons Why Every CIO Should Consider Kubernetes5 Business Reasons Why Every CIO Should Consider Kubernetes
5 Business Reasons Why Every CIO Should Consider Kubernetes
 
Hybrid backup on Cloud classmethod canada
Hybrid backup on Cloud classmethod canada Hybrid backup on Cloud classmethod canada
Hybrid backup on Cloud classmethod canada
 
IBM Bluemix Introdution for Hackathons
IBM Bluemix Introdution for HackathonsIBM Bluemix Introdution for Hackathons
IBM Bluemix Introdution for Hackathons
 
Hybrid connectivity options with the microsoft cloud
Hybrid connectivity options with the microsoft cloudHybrid connectivity options with the microsoft cloud
Hybrid connectivity options with the microsoft cloud
 
Serverless integrations using Azure Logic Apps (intro)
Serverless integrations using Azure Logic Apps (intro)Serverless integrations using Azure Logic Apps (intro)
Serverless integrations using Azure Logic Apps (intro)
 
Google Cloud Platform Updates
Google Cloud Platform UpdatesGoogle Cloud Platform Updates
Google Cloud Platform Updates
 
Cloud platform comparison
Cloud platform comparison Cloud platform comparison
Cloud platform comparison
 
Azure Spring Cloud
Azure Spring CloudAzure Spring Cloud
Azure Spring Cloud
 
Design - Integration Scenarios for Hybrid Cloud
Design - Integration Scenarios for Hybrid CloudDesign - Integration Scenarios for Hybrid Cloud
Design - Integration Scenarios for Hybrid Cloud
 
How IBM is helping developers win the race to innovate with next-gen cloud se...
How IBM is helping developers win the race to innovate with next-gen cloud se...How IBM is helping developers win the race to innovate with next-gen cloud se...
How IBM is helping developers win the race to innovate with next-gen cloud se...
 
Building serverless integration solutions with Microsoft Azure
Building serverless integration solutions with Microsoft AzureBuilding serverless integration solutions with Microsoft Azure
Building serverless integration solutions with Microsoft Azure
 
Unified Cloud Storage Api
Unified Cloud Storage ApiUnified Cloud Storage Api
Unified Cloud Storage Api
 
Platform-as-a-Service (PaaS) Overview
Platform-as-a-Service (PaaS) OverviewPlatform-as-a-Service (PaaS) Overview
Platform-as-a-Service (PaaS) Overview
 
IBM Bluemix Talk at University College Cork (UCC)
IBM Bluemix Talk at University College Cork (UCC)IBM Bluemix Talk at University College Cork (UCC)
IBM Bluemix Talk at University College Cork (UCC)
 
From Monolith to Serverless
From Monolith to ServerlessFrom Monolith to Serverless
From Monolith to Serverless
 
20150902 v mworld2015-recap
20150902 v mworld2015-recap20150902 v mworld2015-recap
20150902 v mworld2015-recap
 
Corent Slides For Impact
Corent Slides For ImpactCorent Slides For Impact
Corent Slides For Impact
 
An Integration Platform to Support Vision 2025
An Integration Platform to Support Vision 2025An Integration Platform to Support Vision 2025
An Integration Platform to Support Vision 2025
 
Intro to Cloud Computing and Amazon web services(AWS)
Intro to Cloud Computing and Amazon web services(AWS)Intro to Cloud Computing and Amazon web services(AWS)
Intro to Cloud Computing and Amazon web services(AWS)
 
Google Firebase Presentation
Google Firebase PresentationGoogle Firebase Presentation
Google Firebase Presentation
 

Semelhante a Moving from AWS to Atlas - Our Motivation and Journey from Self-Hosted to Managed MongoDB

Building BMW Group's Customer Engagement Platform on AWS (AMT305) - AWS re:In...
Building BMW Group's Customer Engagement Platform on AWS (AMT305) - AWS re:In...Building BMW Group's Customer Engagement Platform on AWS (AMT305) - AWS re:In...
Building BMW Group's Customer Engagement Platform on AWS (AMT305) - AWS re:In...Amazon Web Services
 
The Scout24 Data Platform (A Technical Deep Dive)
The Scout24 Data Platform (A Technical Deep Dive)The Scout24 Data Platform (A Technical Deep Dive)
The Scout24 Data Platform (A Technical Deep Dive)RaffaelDzikowski
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfAmazon Web Services
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfAmazon Web Services
 
IBM Relay 2015: Opening Keynote
IBM Relay 2015: Opening Keynote IBM Relay 2015: Opening Keynote
IBM Relay 2015: Opening Keynote IBM
 
Breaking the Monolith using AWS Container Services
Breaking the Monolith using AWS Container ServicesBreaking the Monolith using AWS Container Services
Breaking the Monolith using AWS Container ServicesAmazon Web Services
 
[AWS Dev Day] 기조연설 – Olivier Klein AWS 신기술 부문 책임자, 정성권 삼성전자 수석
[AWS Dev Day] 기조연설 – Olivier Klein AWS 신기술 부문 책임자, 정성권 삼성전자 수석[AWS Dev Day] 기조연설 – Olivier Klein AWS 신기술 부문 책임자, 정성권 삼성전자 수석
[AWS Dev Day] 기조연설 – Olivier Klein AWS 신기술 부문 책임자, 정성권 삼성전자 수석Amazon Web Services Korea
 
Integration (Application?) Modernization with IBM Garage
Integration (Application?) Modernization with IBM GarageIntegration (Application?) Modernization with IBM Garage
Integration (Application?) Modernization with IBM GarageAndrew Ferrier
 
devworkshop-10_28_1015-amazon-conference-presentation
devworkshop-10_28_1015-amazon-conference-presentationdevworkshop-10_28_1015-amazon-conference-presentation
devworkshop-10_28_1015-amazon-conference-presentationAlex Wu
 
Lessons learned while going serverless in production
Lessons learned while going serverless in productionLessons learned while going serverless in production
Lessons learned while going serverless in productionMohamed Labouardy
 
AWS re:Invent Comes to London 2019 - Database, Analytics, AI &ML
AWS re:Invent Comes to London 2019 - Database, Analytics, AI &MLAWS re:Invent Comes to London 2019 - Database, Analytics, AI &ML
AWS re:Invent Comes to London 2019 - Database, Analytics, AI &MLAmazon Web Services
 
Lessons learned while going serverless in production
Lessons learned while going serverless in productionLessons learned while going serverless in production
Lessons learned while going serverless in productionMohamed Labouardy
 
IBM Hybrid Cloud Integration UCC Talk, 23rd November 2021 - Cloud Application...
IBM Hybrid Cloud Integration UCC Talk, 23rd November 2021 - Cloud Application...IBM Hybrid Cloud Integration UCC Talk, 23rd November 2021 - Cloud Application...
IBM Hybrid Cloud Integration UCC Talk, 23rd November 2021 - Cloud Application...Michael O'Sullivan
 
IBM Bluemix Dedicated – GitHub Enterprise
IBM Bluemix Dedicated – GitHub EnterpriseIBM Bluemix Dedicated – GitHub Enterprise
IBM Bluemix Dedicated – GitHub EnterpriseIBM DevOps
 
Modernizing_your_Enterprise_Applications
Modernizing_your_Enterprise_ApplicationsModernizing_your_Enterprise_Applications
Modernizing_your_Enterprise_ApplicationsAmazon Web Services
 
Modern Applications Development on AWS
Modern Applications Development on AWSModern Applications Development on AWS
Modern Applications Development on AWSBoaz Ziniman
 
Announcing Lambda @ the Edge - December 2016 Monthly Webinar Series
Announcing Lambda @ the Edge - December 2016 Monthly Webinar SeriesAnnouncing Lambda @ the Edge - December 2016 Monthly Webinar Series
Announcing Lambda @ the Edge - December 2016 Monthly Webinar SeriesAmazon Web Services
 
5 Years Of Building SaaS On AWS
5 Years Of Building SaaS On AWS5 Years Of Building SaaS On AWS
5 Years Of Building SaaS On AWSChristian Beedgen
 
AWSome Day Seoul 2013 - Opening Keynote
AWSome Day Seoul 2013 - Opening KeynoteAWSome Day Seoul 2013 - Opening Keynote
AWSome Day Seoul 2013 - Opening KeynoteAmazon Web Services
 

Semelhante a Moving from AWS to Atlas - Our Motivation and Journey from Self-Hosted to Managed MongoDB (20)

Building BMW Group's Customer Engagement Platform on AWS (AMT305) - AWS re:In...
Building BMW Group's Customer Engagement Platform on AWS (AMT305) - AWS re:In...Building BMW Group's Customer Engagement Platform on AWS (AMT305) - AWS re:In...
Building BMW Group's Customer Engagement Platform on AWS (AMT305) - AWS re:In...
 
The Scout24 Data Platform (A Technical Deep Dive)
The Scout24 Data Platform (A Technical Deep Dive)The Scout24 Data Platform (A Technical Deep Dive)
The Scout24 Data Platform (A Technical Deep Dive)
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdf
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdf
 
IBM Relay 2015: Opening Keynote
IBM Relay 2015: Opening Keynote IBM Relay 2015: Opening Keynote
IBM Relay 2015: Opening Keynote
 
Breaking the Monolith using AWS Container Services
Breaking the Monolith using AWS Container ServicesBreaking the Monolith using AWS Container Services
Breaking the Monolith using AWS Container Services
 
[AWS Dev Day] 기조연설 – Olivier Klein AWS 신기술 부문 책임자, 정성권 삼성전자 수석
[AWS Dev Day] 기조연설 – Olivier Klein AWS 신기술 부문 책임자, 정성권 삼성전자 수석[AWS Dev Day] 기조연설 – Olivier Klein AWS 신기술 부문 책임자, 정성권 삼성전자 수석
[AWS Dev Day] 기조연설 – Olivier Klein AWS 신기술 부문 책임자, 정성권 삼성전자 수석
 
Integration (Application?) Modernization with IBM Garage
Integration (Application?) Modernization with IBM GarageIntegration (Application?) Modernization with IBM Garage
Integration (Application?) Modernization with IBM Garage
 
devworkshop-10_28_1015-amazon-conference-presentation
devworkshop-10_28_1015-amazon-conference-presentationdevworkshop-10_28_1015-amazon-conference-presentation
devworkshop-10_28_1015-amazon-conference-presentation
 
Lessons learned while going serverless in production
Lessons learned while going serverless in productionLessons learned while going serverless in production
Lessons learned while going serverless in production
 
AWS re:Invent Comes to London 2019 - Database, Analytics, AI &ML
AWS re:Invent Comes to London 2019 - Database, Analytics, AI &MLAWS re:Invent Comes to London 2019 - Database, Analytics, AI &ML
AWS re:Invent Comes to London 2019 - Database, Analytics, AI &ML
 
Lessons learned while going serverless in production
Lessons learned while going serverless in productionLessons learned while going serverless in production
Lessons learned while going serverless in production
 
IBM Hybrid Cloud Integration UCC Talk, 23rd November 2021 - Cloud Application...
IBM Hybrid Cloud Integration UCC Talk, 23rd November 2021 - Cloud Application...IBM Hybrid Cloud Integration UCC Talk, 23rd November 2021 - Cloud Application...
IBM Hybrid Cloud Integration UCC Talk, 23rd November 2021 - Cloud Application...
 
IBM Bluemix Dedicated – GitHub Enterprise
IBM Bluemix Dedicated – GitHub EnterpriseIBM Bluemix Dedicated – GitHub Enterprise
IBM Bluemix Dedicated – GitHub Enterprise
 
Modernizing_your_Enterprise_Applications
Modernizing_your_Enterprise_ApplicationsModernizing_your_Enterprise_Applications
Modernizing_your_Enterprise_Applications
 
Modern Applications Development on AWS
Modern Applications Development on AWSModern Applications Development on AWS
Modern Applications Development on AWS
 
Announcing Lambda @ the Edge - December 2016 Monthly Webinar Series
Announcing Lambda @ the Edge - December 2016 Monthly Webinar SeriesAnnouncing Lambda @ the Edge - December 2016 Monthly Webinar Series
Announcing Lambda @ the Edge - December 2016 Monthly Webinar Series
 
5 Years Of Building SaaS On AWS
5 Years Of Building SaaS On AWS5 Years Of Building SaaS On AWS
5 Years Of Building SaaS On AWS
 
AWSome Day Seoul 2013 - Opening Keynote
AWSome Day Seoul 2013 - Opening KeynoteAWSome Day Seoul 2013 - Opening Keynote
AWSome Day Seoul 2013 - Opening Keynote
 
[AWSome Day] Opening Keynote
[AWSome Day] Opening Keynote[AWSome Day] Opening Keynote
[AWSome Day] Opening Keynote
 

Último

Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Mater
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf31events.com
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsChristian Birchler
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfDrew Moseley
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commercemanigoyal112
 

Último (20)

Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdf
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commerce
 

Moving from AWS to Atlas - Our Motivation and Journey from Self-Hosted to Managed MongoDB

  • 1. Copyright Valiton GmbH 1 Moving from AWS to Atlas Our Motivation and Journey from Self-Hosted to Managed MongoDB 26th June 2019
  • 2. Copyright Valiton GmbH 2 Personal Background 2011 2009 Web Developer at food IT Consulting 2013 Co-Founder of allergenis UG 2016 now Freelancer Software-Engineer at Valiton GmbH Christoph Caprano Christoph.Caprano@valiton.com
  • 3. Copyright Valiton GmbH 3 Valiton as a Subsidiary of Hubert Burda Media
  • 4. Copyright Valiton GmbH 4 Project Background ... Decreasing Ad Revenue New Markets New Business Models Newsletter E-CommerceTracking
  • 5. Copyright Valiton GmbH 5 New Business Models Newsletter Web-Tracking User-Properties E-Commerce Audience Groups Exclusive Shooting Workshop … Exclusive wine offers
  • 6. Copyright Valiton GmbH 6 System Overview Privacy Agreement, Contact Agreement and Deletion Process userdata LeadGen raffle participations
  • 7. Copyright Valiton GmbH 7 AWS MongoDB Architecture (1) read write Cluster B Secondary Secondary Amazon EC2 Amazon EC2 Amazon EC2 read write Cluster A Secondary Secondary Amazon EC2 Amazon EC2 Amazon EC2 Replica-Set Replica-Set PrimaryPrimary
  • 8. Copyright Valiton GmbH 8 AWS MongoDB Architecture (2) Elastic Load Balancer Cluster Secondary Secondary Amazon EC2 Amazon EC2 Amazon EC2 EBS-Volume EBS-VolumeEBS-Volume Primary
  • 9. Copyright Valiton GmbH 9 Challenges with Self-Hosted Architecture Security Monitoring Maintenance
  • 10. Copyright Valiton GmbH 10 Challenges with Self-Hosted Architecture Security Monitoring Maintenance
  • 11. Copyright Valiton GmbH 11 Security – Authentication Elastic Load Balancer Cluster Secondary Secondary Amazon EC2 Amazon EC2 Amazon EC2 EBS-Volume EBS-VolumeEBS-Volume Primary
  • 12. Copyright Valiton GmbH 12 Security – Jump Host EBS-Volume EBS-Volume Elastic Load Balancer Cluster Secondary Secondary Amazon EC2 Amazon EC2 Amazon EC2 EBS-Volume Jump Host VPN Amazon EC2 Primary
  • 13. Copyright Valiton GmbH 13 Challenges with Self-Hosted Architecture Security Monitoring Maintenance
  • 14. Copyright Valiton GmbH 14 Monitoring CPUonly Memory Disk no Process Database
  • 15. Copyright Valiton GmbH 15 Challenges with Self-Hosted Architecture Security Monitoring Maintenance
  • 16. Copyright Valiton GmbH 16 Maintenance – Mongo Upgrade UPGRADE High Effort 3.0
  • 17. Copyright Valiton GmbH 17 Maintenance - Scaling Seasonal traffic Overprovisioning
  • 18. Copyright Valiton GmbH 18 Maintenance – Agile Development DevOps Scrum-Master Developers Fix MongoDB Problem Try to fulfil sprint goal
  • 19. Copyright Valiton GmbH 19 Solution: Moving to MongoDB Atlas Contracts Migration Preparation Migration Advantages: • Focus on Software Development • Possibility of Cloud-Agnostic Required Steps:
  • 20. Copyright Valiton GmbH 20 Migration Preparation – MongoDB Upgrade 3.0 3.2 UPGRADE UPGRADE 3.2 UPGRADE 3.4 3.6 Followed MongoDB Migration Guide
  • 21. Copyright Valiton GmbH 21 Migration Preparation – Add Authentication Elastic Load Balancer Primary Cluster Secondary Secondary Amazon EC2 Amazon EC2 Amazon EC2 EBS-Volume EBS-VolumeEBS-Volume
  • 22. Copyright Valiton GmbH 22 Migration – MongoDB Atlas Live Migration Elastic Load Balancer Cluster Secondary Secondary Amazon EC2 Amazon EC2 Amazon EC2 EBS-Volume EBS-VolumeEBS-Volume x Live Migration Atlas Cluster Primary
  • 23. Copyright Valiton GmbH 23 Performance Boost via Performance Advisor The number of database objects requested for a query has been drastically reduced. This has caused the API to respond twice as fast on average (~15 ms instead of ~30 ms). This reduces the average query execution time from up to 7 ms to significantly less than 1 ms. Query Targeting Query Executor AVG API Response Time
  • 24. Copyright Valiton GmbH 24 Look back: Challenges with Self-Hosted Architecture Security Monitoring Maintenance Authentication IP Whitelisting In parallel AWS and Atlas Version Upgrade: SaaS Scaling: SaaS
  • 25. Copyright Valiton GmbH 25 How to merge AWS and Atlas logs? Problem: No Grafana integration yet available
  • 26. Copyright Valiton GmbH 26 Solution: Develop and Open-Source Atlas Grafana Plugin Get the plugin: https://github.com/valiton/grafana-mongodb-atlas-datasource
  • 29. Copyright Valiton GmbH 29 What‘s next? ● Participation at MongoDB University ● Use Functions added in MongoDB > 3.0 ● Data and Service Redesign https://www.mongodb.com/blog/post/building-with-patterns-a-summary ● Implementation of Aggregation Pipelines
  • 30. Copyright Valiton GmbH 30 Q & A Security Monitoring Maintenance Authentication IP Whitelisting In parallel AWS and Atlas Version Upgrade: SaaS Scaling: SaaS