SlideShare a Scribd company logo
Selecting the  Right  Cloud Hosting for Your WebSite
Agenda Goal of server-side architecture exploration Traditional single-write and multiple-read DB architecture Cloud Approach Comparison of cloud providers Suggested Architecture Cost References
Our Goal: Design a flexible and scalable architecture
Option 1: Traditional Multiple App and DB Read Instances  Auto Scaling Performance Fail-over Geographical  Fail-over Maintenance Cost and Set-up Backups Multiple Read Instances Self setup DB w/ multiple reads No High  No No Very High Yes Yes
Option 2: Cloud Approach and separate out App and DB layer
Application Cloud Options Performance   Load Balancer Auto Scaling   Geographical  Fail-over Maintenance  Cost and  Set-up Provider  Profile EC2 instances (recommend) High Yes Yes  Yes (set one instance in  East and West coast) Medium High Strong Heroku High Internal Handling No No Low BlueBox High Yes Yes No Low Low Internal  Handling No No Low Medium
Database Cloud Auto Scaling Performance Fail-over Geographical  Fail-over Maintenance Cost and Set-up Backups Master-Master Network Latency Multiple Reads Instances Provider Profile  Amazon RDS (Cloud DB) No Medium-high Yes No High Yes but weekly down time No ~500ms per transaction Manual Strong XeRound (Cloud DB) Yes High Yes Yes Low Yes Yes  ~500 ms per transaction Yes Medium Heruko No High Yes No Low Yes No Low No Medium Self setup DB w/ multiple reads No High  No No High Yes Yes (limited to 2 instances) Not Recommended None Yes  Strong  
Suggested Architecture:  Two (or more) Geographically spread EC2 instances for Application layer with Xeround for Database Layer
More Reasons .. Xeround Database Non-dependent on EC2 (uses RackSpace and other cloud platforms as well alongside EC2) Survived EC2 Ireland outage in Sep-2011 Automatic backups, scalability ZERO scheduled outages   EC2 Hosted Application Layer 2 load-balanced servers can take on *50+ tps load Easy to add a new instance manually (in ~1 hour) *Calculated based on detailed load testing
Cost of this infrastructure Some detailed cost estimations are present for a messaging system we delivered at the following link: http://bit.ly/server_cost_est
References http://xeround.com/cloud-database-comparison/ec2-mysql/ http://www.williambharding.com/blog/rails/ec2-vs-heroku-vs-blue-box-group-for-rails-hosting/    http://heroku.com  http://aws.amazon.com/elasticloadbalancing/

More Related Content

What's hot (13)

PPTX
AWS Public Cloud solution for ABC Corporation
Manpreet Sidhu
 
PPTX
Azure Cosmos DB by Mohammed Gadi AUG April 2019
Mohammed Gadi
 
PPTX
Url rewriting pattern
Artak Kh
 
PDF
Getting Started with EC2, S3 and EMR
Arun Sirimalla
 
PDF
Cohesive Networks Support Docs: VNS3 Configuration for AWS EC2 Classic
Cohesive Networks
 
PPTX
AWS Cost Optimization Strategy
Robert Sell
 
PPTX
Aws day 3
Gourav Varma
 
PPTX
Spark Integration Architecture for restaurant data
David Tung
 
PPTX
Aws day 2
Gourav Varma
 
PPTX
AWS Cost Optimisation - November 2018
James Bromberger
 
PPTX
Aws, an intro to startups
Subramanyam Kasibhat
 
PDF
Terraform Architech
David Hsu
 
PDF
Quixote
ceiparua
 
AWS Public Cloud solution for ABC Corporation
Manpreet Sidhu
 
Azure Cosmos DB by Mohammed Gadi AUG April 2019
Mohammed Gadi
 
Url rewriting pattern
Artak Kh
 
Getting Started with EC2, S3 and EMR
Arun Sirimalla
 
Cohesive Networks Support Docs: VNS3 Configuration for AWS EC2 Classic
Cohesive Networks
 
AWS Cost Optimization Strategy
Robert Sell
 
Aws day 3
Gourav Varma
 
Spark Integration Architecture for restaurant data
David Tung
 
Aws day 2
Gourav Varma
 
AWS Cost Optimisation - November 2018
James Bromberger
 
Aws, an intro to startups
Subramanyam Kasibhat
 
Terraform Architech
David Hsu
 
Quixote
ceiparua
 

Viewers also liked (20)

PPT
Smash hits toc analysis
jessiekeegan
 
PPS
My favorite city
PivarnyikKrisz
 
PPT
Cheap Dolce & Gabbana and Mens Outwear for sale
Trina Card
 
PPT
Pie charts from surveys
jessiekeegan
 
PPT
Презентация НОВИНОК Каталога 16 ORIFLAME
ngespss02
 
PPTX
Location based marketing presentation for tag
Janet Whitehead
 
ODP
That powerpoint i needed
thatguy513
 
PPT
Macabees nme dps analysis
jessiekeegan
 
PPT
12伍佳柔
輝 哲
 
PPT
時間 劉韋誌[1]
輝 哲
 
ODP
Phan5
khacthuong2008
 
PDF
Sem 7 conteo de figuras
Jose Cecilio Cordova
 
PPTX
Infinity investimentos
Geraldo Souza
 
ODP
Joanna masiubanska podrozni festival
Joanna Masiubańska
 
PPTX
Interview presentation1
Kiran Kabir
 
PPT
沈欣儒8號二醫技三a[1]
輝 哲
 
PPT
10 號 王念庭
輝 哲
 
PPTX
The Start-up League
Natalie Bodrova
 
PPTX
黑瓦與老樹
輝 哲
 
PPTX
Photosynthesis
wong1m
 
Smash hits toc analysis
jessiekeegan
 
My favorite city
PivarnyikKrisz
 
Cheap Dolce & Gabbana and Mens Outwear for sale
Trina Card
 
Pie charts from surveys
jessiekeegan
 
Презентация НОВИНОК Каталога 16 ORIFLAME
ngespss02
 
Location based marketing presentation for tag
Janet Whitehead
 
That powerpoint i needed
thatguy513
 
Macabees nme dps analysis
jessiekeegan
 
12伍佳柔
輝 哲
 
時間 劉韋誌[1]
輝 哲
 
Sem 7 conteo de figuras
Jose Cecilio Cordova
 
Infinity investimentos
Geraldo Souza
 
Joanna masiubanska podrozni festival
Joanna Masiubańska
 
Interview presentation1
Kiran Kabir
 
沈欣儒8號二醫技三a[1]
輝 哲
 
10 號 王念庭
輝 哲
 
The Start-up League
Natalie Bodrova
 
黑瓦與老樹
輝 哲
 
Photosynthesis
wong1m
 
Ad

Similar to Selecting the Right Cloud Host (20)

PPT
Running your database in the cloud presentation
Manish Singh
 
PDF
Databases in the hosted cloud
Colin Charles
 
ODP
Shootout at the PAAS Corral
PostgreSQL Experts, Inc.
 
PPT
Running your database in the cloud presentation
Aravindharamanan S
 
PPT
Running your database in the cloud presentation
Aravindharamanan S
 
PPTX
Scaling on AWS to the First 10 Million Users
mauerbac
 
PDF
Scaling MySQL in Amazon Web Services
Laine Campbell
 
PDF
Databases in the Hosted Cloud
Colin Charles
 
PPTX
Nuts and bolts of running a popular site in the aws cloud
David Veksler
 
DOCX
Aws cloud infrastructure and cost estimation for angular site
Le Kien Truc
 
PPTX
Stacktrace Berlin RC.2
Oliver Seemann
 
PDF
Spring in the Cloud
Eberhard Wolff
 
PPTX
Scalable Application Development on AWS
Mikalai Alimenkou
 
PDF
Idi2017 - Cloud DB: strengths and weaknesses
Linuxaria.com
 
PDF
Scalable Architecture on Amazon AWS Cloud - Indicthreads cloud computing conf...
IndicThreads
 
PPT
The Future is Now: Leveraging the Cloud with Ruby
Robert Dempsey
 
PDF
CloudCamp Athens presentation: Introduction to cloud computing
Fotis Stamatelopoulos
 
PPTX
Microservices Architecture for Content Management Systems using AWS Lambda an...
Mitoc Group
 
PDF
Cloud costs: my 2 cents
RightScale
 
PDF
MySQL in the Hosted Cloud
Colin Charles
 
Running your database in the cloud presentation
Manish Singh
 
Databases in the hosted cloud
Colin Charles
 
Shootout at the PAAS Corral
PostgreSQL Experts, Inc.
 
Running your database in the cloud presentation
Aravindharamanan S
 
Running your database in the cloud presentation
Aravindharamanan S
 
Scaling on AWS to the First 10 Million Users
mauerbac
 
Scaling MySQL in Amazon Web Services
Laine Campbell
 
Databases in the Hosted Cloud
Colin Charles
 
Nuts and bolts of running a popular site in the aws cloud
David Veksler
 
Aws cloud infrastructure and cost estimation for angular site
Le Kien Truc
 
Stacktrace Berlin RC.2
Oliver Seemann
 
Spring in the Cloud
Eberhard Wolff
 
Scalable Application Development on AWS
Mikalai Alimenkou
 
Idi2017 - Cloud DB: strengths and weaknesses
Linuxaria.com
 
Scalable Architecture on Amazon AWS Cloud - Indicthreads cloud computing conf...
IndicThreads
 
The Future is Now: Leveraging the Cloud with Ruby
Robert Dempsey
 
CloudCamp Athens presentation: Introduction to cloud computing
Fotis Stamatelopoulos
 
Microservices Architecture for Content Management Systems using AWS Lambda an...
Mitoc Group
 
Cloud costs: my 2 cents
RightScale
 
MySQL in the Hosted Cloud
Colin Charles
 
Ad

More from Ahsan Saleem (7)

PPTX
Being financially smart employee
Ahsan Saleem
 
PDF
10 Rules of Work Life
Ahsan Saleem
 
PPTX
'Saved by PowerPoint'
Ahsan Saleem
 
PDF
Video Content Handling for Rich Content Web Sites
Ahsan Saleem
 
PPTX
Closed loop - Software Estimation to Delivery
Ahsan Saleem
 
PPTX
Project Management @ Confiz - An Overview
Ahsan Saleem
 
PPTX
How to Enchant clients?
Ahsan Saleem
 
Being financially smart employee
Ahsan Saleem
 
10 Rules of Work Life
Ahsan Saleem
 
'Saved by PowerPoint'
Ahsan Saleem
 
Video Content Handling for Rich Content Web Sites
Ahsan Saleem
 
Closed loop - Software Estimation to Delivery
Ahsan Saleem
 
Project Management @ Confiz - An Overview
Ahsan Saleem
 
How to Enchant clients?
Ahsan Saleem
 

Recently uploaded (20)

PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
July Patch Tuesday
Ivanti
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Python basic programing language for automation
DanialHabibi2
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
July Patch Tuesday
Ivanti
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Python basic programing language for automation
DanialHabibi2
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 

Selecting the Right Cloud Host

  • 1. Selecting the Right Cloud Hosting for Your WebSite
  • 2. Agenda Goal of server-side architecture exploration Traditional single-write and multiple-read DB architecture Cloud Approach Comparison of cloud providers Suggested Architecture Cost References
  • 3. Our Goal: Design a flexible and scalable architecture
  • 4. Option 1: Traditional Multiple App and DB Read Instances Auto Scaling Performance Fail-over Geographical  Fail-over Maintenance Cost and Set-up Backups Multiple Read Instances Self setup DB w/ multiple reads No High No No Very High Yes Yes
  • 5. Option 2: Cloud Approach and separate out App and DB layer
  • 6. Application Cloud Options Performance   Load Balancer Auto Scaling   Geographical  Fail-over Maintenance Cost and Set-up Provider Profile EC2 instances (recommend) High Yes Yes Yes (set one instance in East and West coast) Medium High Strong Heroku High Internal Handling No No Low BlueBox High Yes Yes No Low Low Internal Handling No No Low Medium
  • 7. Database Cloud Auto Scaling Performance Fail-over Geographical  Fail-over Maintenance Cost and Set-up Backups Master-Master Network Latency Multiple Reads Instances Provider Profile Amazon RDS (Cloud DB) No Medium-high Yes No High Yes but weekly down time No ~500ms per transaction Manual Strong XeRound (Cloud DB) Yes High Yes Yes Low Yes Yes ~500 ms per transaction Yes Medium Heruko No High Yes No Low Yes No Low No Medium Self setup DB w/ multiple reads No High No No High Yes Yes (limited to 2 instances) Not Recommended None Yes Strong  
  • 8. Suggested Architecture: Two (or more) Geographically spread EC2 instances for Application layer with Xeround for Database Layer
  • 9. More Reasons .. Xeround Database Non-dependent on EC2 (uses RackSpace and other cloud platforms as well alongside EC2) Survived EC2 Ireland outage in Sep-2011 Automatic backups, scalability ZERO scheduled outages   EC2 Hosted Application Layer 2 load-balanced servers can take on *50+ tps load Easy to add a new instance manually (in ~1 hour) *Calculated based on detailed load testing
  • 10. Cost of this infrastructure Some detailed cost estimations are present for a messaging system we delivered at the following link: http://bit.ly/server_cost_est

Editor's Notes

  • #4: We worked with following priorities High: a) Scalability - especially on DB layer b) Easy maintenance as we do not want to keep an admin team /guy for server side c) Geographical fail-over - high availability Medium: a) Network latency  - we think about 500 ms is acceptable) Auto Scaling on app layer processing on application layer is less than DB. 2 large servers should be enough with buffer in computing power for load spikes c) Cost - while we want to be efficient but we do not want to optimize scaling too much so we loose grip on it But let's discuss!
  • #6: Why Amazon-RDS is here: While we did not recommend Amazon RDS at first place, the idea was to discuss different options we studied for knowledge sharing reasons
  • #7: Why Two Amazon EC2 Large Instances: a) Large instance comes with 7.5 G memory. The cheaper option is only a small instance with 1.7GB of memory and that is not recommended for enterprise Ruby to work b) 2 Large instances will suffice for spikes of load to us. Current production is an Extra Large instance. It holds DB and Ruby and so far have not reached 10% resource utilization till today. c) If DB is externalized, large instances will be good enough to handle Ruby with a cache mechanism enabled
  • #8: We worked with following priorities High: a) Scalability - especially on DB layer i.e. performance and failover b) Easy maintenance as we do not want to keep an admin team /guy for server side c) Geographical fail-over - high availability d) Backups: e) Auto Scaling Medium: a) Network latency  - we think about 500 ms is acceptable) c) Master-Master: d) Multiple Read instances Low:- Provider Profile But let's discuss!
  • #9: No Autoscaling on Ruby level here, why? We can look towards adding a third server launch based on auto-scale policies.    However  a) EC2 auto-scale launches an instance based on AMI. There is additional maintenance to keep an updated AMI as server code enhances over time. b) Sometimes (not often) instance launch based on AMI fails on EC2   Heroku provides failover in this case.