SlideShare a Scribd company logo
Running Your Database in the Cloud
Eran Levin
VP R&D - Xeround
Agenda
• The paradigm shift
• Real life use case
• Challenges running a database in the cloud
• Available solutions
• Q&A
The Paradigm Shift
From
 Dedicated
 On premise
 Over provisioned
 Self managed
• Without compromising functionality, performance,
availability, …
To
 Shared resources
 Cloud hosted
 Pay-per-use
 Managed service
The Paradigm Shift
• The Cloud
 Availability issues
 Stateless
 Limited control (HW, Virtualization, Networking)
 Expectations (reduce capital and operational costs)
• Databases
 Mission critical, lossless
 Statefull
 Usage patterns (data and throughput)
Use Case
eCommerce Application
Architectural Evolution - Rollout
• You are ready to roll your new eCommerce app
• Will deploy in the cloud (price, time to market, flexibility, “cool”)
Arch. Evolution - Failover
ActivePassive
Arch. Evolution – Traffic Increase
Load Balancer
Arch. Evolution – Application Scaling
Load Balancer
Arch. Evolution – Database Failover
ActivePassive
Load Balancer
Arch. Evolution – DB Read Scaling
Master
R
RR
Load Balancer
Architectural Evolution – DB Write Scaling
Master
R
RR
Load Balancer
Arch. Evolution – Anticipating the Peak
Master
R
RR
Load Balancer
R
R
Arch. Evolution – Scaling Down
Master
R
RR
Load Balancer
Arch. Evolution – Version Upgrade
Master
R
RR
Load Balancer
Master
R
RR
Load Balancer
Running Your Database in the Cloud
The Challenges
The Challenges
• Availability
• Elasticity
• Manageability
• Cost
Solved for the Web and application levels
Imagine an equivalent solution for your database…
Meeting the Challenges
• Build your own
 For example - MySQL on EC2, Postgres on Rackspace, …
 Acquire instances
 Install the database according to your architecture
 Self manage your database
• Database-as-a-Service
 For example - Amazon RDS,
Xeround, Database.com, …
The Challenges
Availability
Availability
• Standby machine
• Replication
• Failover mechanism
Source:
Cloud Availability Solutions
• Amazon RDS Multi Zone
 Master – Slave configuration
 Up to 3 minutes recovery
 Double the cost
 Maintenance window
• Xeround
 “Master-Master” configuration
 Multiple replicas of the data
 Always-on
The Challenges
Scalability
Scalability – Scale Up vs. Scale Out
• Scale Up
 Select next available configuration (EC2, RDS)
 Relatively simple but limited scalability
• Scale Out
 Add additional resources
 Complicated but high scalability
 RDS Read replicas
Source:
Shared Everything vs. Shared Nothing
• Shared Everything
 Scale throughput but limited due to shared resources
 Storage and networking limitations in the cloud
 ScaleDB
• Shared Nothing
 Horizontal data partition / sharding
 Unlimited scalability
 Many design and implementation
challenges
Shared Nothing in the Cloud
• Xeround
 Virtual partitioning – decoupling of data and resources
 Linear scalability for both reads and writes
 Automatic balancing and repartition following changes in data and /
or resources with no downtime
• ScaleBase / dbShards
 Automatically partition the data and direct queries to right
databases
 Original databases deployment, management and cost
 Partitioning events
• MySQL Cluster
 NOT supported on virtual environments
Elasticity
• Scaling out/up AND in/down
• One of the Cloud justifications (but what about databases)
The Challenges
Manageability
Manageability
• Self-serve is a fundamental characteristic of cloud computing
• DBaaS should provide
 User management
 DB management
 Control and Monitoring
 Backup and restore
 …
 API to enable extendibility and interaction with the cloud ecosystem
• Solutions: Amazon RDS, Xeround, FathomDB
Build Your Own
Source:
Database as a Service
The Challenges
Cost
Cost
• Pay-per-use is another fundamental characteristic of cloud
computing
• Achieving this model requires:
 Elasticity – scale resources according to actual usage
 No over provisioning
 No idle standby machines
 Sharing resources to share cost
 Measuring exact usage
Q & A
Running Your Database in the Cloud
Thank You
eran.levin@xeround.com
www.xeround.com
Visit us in Booth 407

More Related Content

What's hot (8)

PPTX
Building a highly scalable and available cloud application
Noam Sheffer
 
PDF
How to Find and Fix Waste to Optimize Your Cloud Spend
RightScale
 
PDF
[DEISER Talks] "Atlassian Data Center: Deployment Tips & Tricks"- Carlos Apar...
Deiser
 
PPTX
Beyond EBS Stroage Alternatives in the Cloud
NetApp
 
PDF
Migrating to Cassandra
Instaclustr
 
PPTX
Almacenamiento en la nube con AWS
Amazon Web Services LATAM
 
PDF
Cloud Migration
Susanne Tedrick
 
PDF
Migrating Oracle Databases to AWS
AWS Germany
 
Building a highly scalable and available cloud application
Noam Sheffer
 
How to Find and Fix Waste to Optimize Your Cloud Spend
RightScale
 
[DEISER Talks] "Atlassian Data Center: Deployment Tips & Tricks"- Carlos Apar...
Deiser
 
Beyond EBS Stroage Alternatives in the Cloud
NetApp
 
Migrating to Cassandra
Instaclustr
 
Almacenamiento en la nube con AWS
Amazon Web Services LATAM
 
Cloud Migration
Susanne Tedrick
 
Migrating Oracle Databases to AWS
AWS Germany
 

Viewers also liked (6)

PPTX
Scaling Your Database in the Cloud
RightScale
 
PPTX
Need-driven-design-Bulut V2
Bulut Nesim
 
PPTX
Облачные вычисления
Jaroslav Khorishenko
 
PDF
Best Practices: Migrating a Postgres Production Database to the Cloud
EDB
 
PDF
Scaling Your Database In The Cloud
Cory Isaacson
 
PPTX
Extend Your Application to the Cloud with SQL Azure Database
Kyle Cressman
 
Scaling Your Database in the Cloud
RightScale
 
Need-driven-design-Bulut V2
Bulut Nesim
 
Облачные вычисления
Jaroslav Khorishenko
 
Best Practices: Migrating a Postgres Production Database to the Cloud
EDB
 
Scaling Your Database In The Cloud
Cory Isaacson
 
Extend Your Application to the Cloud with SQL Azure Database
Kyle Cressman
 
Ad

Similar to Running your database in the cloud presentation (20)

PPT
Running your database in the cloud presentation
Aravindharamanan S
 
PPT
Selecting the Right Cloud Host
Ahsan Saleem
 
PDF
Idi2017 - Cloud DB: strengths and weaknesses
Linuxaria.com
 
KEY
Cto cloud
Sean Hull
 
PDF
Databases in the hosted cloud
Colin Charles
 
PPTX
Beyond Jurassic NoSQL: New Designs for a New World
ScyllaDB
 
PPTX
갑작스러운 유저의 수요 증가에 현명하게 대처하는 방법
Amazon Web Services Korea
 
PPT
Cloud computing skepticism - But i'm sure
Nguyen Duong
 
PDF
SpringPeople - Introduction to Cloud Computing
SpringPeople
 
PDF
New york-breakfast-seminar
NuoDB
 
PDF
YugabyteDB - Distributed SQL Database on Kubernetes
DoKC
 
PPTX
Scaling on AWS to the First 10 Million Users
mauerbac
 
PPTX
An Introduction to Cloud Computing (2009)
Robert Grossman
 
PPTX
Tech Talk Series, Part 3: Why is your CFO right to demand you scale down MySQL?
Clustrix
 
PPTX
Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterpr...
Vladi Vexler
 
PDF
Percona Live 2014 - Scaling MySQL in AWS
Pythian
 
PDF
What is Amazon Web Services & How to Start to deploy your apps ?
Sébastien ☁ Stormacq
 
PDF
AMAZON CLOUD Course Content
Varnaaz Technologies
 
PPTX
Migrating On-Premises DBs to Cloud Systems
Christopher Foot
 
PDF
Scaling RDBMS on AWS- ClustrixDB @AWS Meetup 20160711
Dave Anselmi
 
Running your database in the cloud presentation
Aravindharamanan S
 
Selecting the Right Cloud Host
Ahsan Saleem
 
Idi2017 - Cloud DB: strengths and weaknesses
Linuxaria.com
 
Cto cloud
Sean Hull
 
Databases in the hosted cloud
Colin Charles
 
Beyond Jurassic NoSQL: New Designs for a New World
ScyllaDB
 
갑작스러운 유저의 수요 증가에 현명하게 대처하는 방법
Amazon Web Services Korea
 
Cloud computing skepticism - But i'm sure
Nguyen Duong
 
SpringPeople - Introduction to Cloud Computing
SpringPeople
 
New york-breakfast-seminar
NuoDB
 
YugabyteDB - Distributed SQL Database on Kubernetes
DoKC
 
Scaling on AWS to the First 10 Million Users
mauerbac
 
An Introduction to Cloud Computing (2009)
Robert Grossman
 
Tech Talk Series, Part 3: Why is your CFO right to demand you scale down MySQL?
Clustrix
 
Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterpr...
Vladi Vexler
 
Percona Live 2014 - Scaling MySQL in AWS
Pythian
 
What is Amazon Web Services & How to Start to deploy your apps ?
Sébastien ☁ Stormacq
 
AMAZON CLOUD Course Content
Varnaaz Technologies
 
Migrating On-Premises DBs to Cloud Systems
Christopher Foot
 
Scaling RDBMS on AWS- ClustrixDB @AWS Meetup 20160711
Dave Anselmi
 
Ad

Recently uploaded (20)

PDF
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PDF
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PPTX
Human Resources Information System (HRIS)
Amity University, Patna
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PDF
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
PDF
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
Human Resources Information System (HRIS)
Amity University, Patna
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 

Running your database in the cloud presentation

  • 1. Running Your Database in the Cloud Eran Levin VP R&D - Xeround
  • 2. Agenda • The paradigm shift • Real life use case • Challenges running a database in the cloud • Available solutions • Q&A
  • 3. The Paradigm Shift From  Dedicated  On premise  Over provisioned  Self managed • Without compromising functionality, performance, availability, … To  Shared resources  Cloud hosted  Pay-per-use  Managed service
  • 4. The Paradigm Shift • The Cloud  Availability issues  Stateless  Limited control (HW, Virtualization, Networking)  Expectations (reduce capital and operational costs) • Databases  Mission critical, lossless  Statefull  Usage patterns (data and throughput)
  • 6. Architectural Evolution - Rollout • You are ready to roll your new eCommerce app • Will deploy in the cloud (price, time to market, flexibility, “cool”)
  • 7. Arch. Evolution - Failover ActivePassive
  • 8. Arch. Evolution – Traffic Increase Load Balancer
  • 9. Arch. Evolution – Application Scaling Load Balancer
  • 10. Arch. Evolution – Database Failover ActivePassive Load Balancer
  • 11. Arch. Evolution – DB Read Scaling Master R RR Load Balancer
  • 12. Architectural Evolution – DB Write Scaling Master R RR Load Balancer
  • 13. Arch. Evolution – Anticipating the Peak Master R RR Load Balancer R R
  • 14. Arch. Evolution – Scaling Down Master R RR Load Balancer
  • 15. Arch. Evolution – Version Upgrade Master R RR Load Balancer Master R RR Load Balancer
  • 16. Running Your Database in the Cloud The Challenges
  • 17. The Challenges • Availability • Elasticity • Manageability • Cost Solved for the Web and application levels Imagine an equivalent solution for your database…
  • 18. Meeting the Challenges • Build your own  For example - MySQL on EC2, Postgres on Rackspace, …  Acquire instances  Install the database according to your architecture  Self manage your database • Database-as-a-Service  For example - Amazon RDS, Xeround, Database.com, …
  • 20. Availability • Standby machine • Replication • Failover mechanism Source:
  • 21. Cloud Availability Solutions • Amazon RDS Multi Zone  Master – Slave configuration  Up to 3 minutes recovery  Double the cost  Maintenance window • Xeround  “Master-Master” configuration  Multiple replicas of the data  Always-on
  • 23. Scalability – Scale Up vs. Scale Out • Scale Up  Select next available configuration (EC2, RDS)  Relatively simple but limited scalability • Scale Out  Add additional resources  Complicated but high scalability  RDS Read replicas Source:
  • 24. Shared Everything vs. Shared Nothing • Shared Everything  Scale throughput but limited due to shared resources  Storage and networking limitations in the cloud  ScaleDB • Shared Nothing  Horizontal data partition / sharding  Unlimited scalability  Many design and implementation challenges
  • 25. Shared Nothing in the Cloud • Xeround  Virtual partitioning – decoupling of data and resources  Linear scalability for both reads and writes  Automatic balancing and repartition following changes in data and / or resources with no downtime • ScaleBase / dbShards  Automatically partition the data and direct queries to right databases  Original databases deployment, management and cost  Partitioning events • MySQL Cluster  NOT supported on virtual environments
  • 26. Elasticity • Scaling out/up AND in/down • One of the Cloud justifications (but what about databases)
  • 28. Manageability • Self-serve is a fundamental characteristic of cloud computing • DBaaS should provide  User management  DB management  Control and Monitoring  Backup and restore  …  API to enable extendibility and interaction with the cloud ecosystem • Solutions: Amazon RDS, Xeround, FathomDB
  • 30. Database as a Service
  • 32. Cost • Pay-per-use is another fundamental characteristic of cloud computing • Achieving this model requires:  Elasticity – scale resources according to actual usage  No over provisioning  No idle standby machines  Sharing resources to share cost  Measuring exact usage
  • 33. Q & A
  • 34. Running Your Database in the Cloud Thank You [email protected] www.xeround.com Visit us in Booth 407