SlideShare a Scribd company logo
1 of 13
A Sample System Design and Cost
Estimation of Fully Deployed Travel Web
Application At Amazon AWS Cloud
performance
scalability
cloud
cost
resources
Sumit Arora
sumit1234@gmail.com
Date : 26th-Aug-2015
A Sample System Design of Fully
Deployed Travel Web Application At
Amazon AWS Cloud
Sumit Arora | sumit1234@gmail.com
Limit of Liability/Disclaimer of Warranty: Overall explanation presented on this ppts ,are based on my views, my learning, and my language it may differ from your
understanding, as my learning curve still rolling. The author makes no representations or warranties with respect to the accuracy or completeness of the contents of
this work and specifically disclaims all warranties, including without limitation warranties of fitness for a particular purpose. The fact that an organization or web site is
referred to in this work as a citation and/or a potential source of further information does not mean that the author endorses the information the organization or web
site may provide or the recommendations it may make. Furthermore, readers should be aware that Internet web sites listed in this work may have changed or
disappeared between when this work was written and when it is read. So feel free write me your comments to make this better if any : sumit1234@gmail.com
The objective of this document to write cloud infrastructure system design of travel web
application and estimate approximate cost for the deployment in that cloud. This web
application targeted to middle class customers and currently doing X transactions per day.
This web application will start from the basic set of features and expand month by month
with respect to several other feature integration, and also increase its geographical user
base. So this application should work in terms of its performance, scalability and security.
When talked about the performance then it should be able to handle traffic spikes, page
speed, downloading latency, DNS resolution, 99.999% availability and many others. When
talked about the scalability, that means on demand it should be able scale vertically as well
as horizontally. Scaling vertically means to increase the computing ,memory and storage on
demand. While horizontal scaling means adding more computational server or database
server or load balancer on demand. When talked about the security that means when user
enters to the website, then it should be monitored for DDOS Attacks, open ports and
several other parameters relevant to security.
Abstract
Sumit Arora | sumit1234@gmail.com
Design Pattern Cloud infrastructure design will follow the vertical/horizontal/vertical scaling design pattern, that means first
the requisite servers with security group would set up. Once the basic infra got set up, then on demand /prediction basis the
computational, memory or storage power would be increased vertically. When the vertical scale would reach to max then
instances would be added horizontally and repeat the cycle vertical and then horizontal.
Scalability If current setup able to sustain C1 concurrent users with 4 GB RAM, and demand has been seen for C1 + X
concurrent users then first attempt for vertical scalability would be to increase the relative RAM or CPU or Both. The system
design on next slides capable to handle C1+ concurrent users with http server as well as with database. Its capable to handle
R1*1000 request per day, that means ~R1*1000/U1 unique request and ~T1 Transactions (just an example).
Performance It has been assumed that deployment of the server units e.g. database server, http server ,will follow the proper
hardening and best practices to tune the system. The Overall system would be deployed by putting (not limited to) Varnish for
HTTP Accelerator, CDN to statically cache the system e.g. Cloud Front or Akamai. Using Cloud Flare or Route 53 for the
authoritative name server. Database Server stats would be analyzed with average time to execute a data base query, number
of concurrent connections and several other parameters. Based on the analysis further tuning might be performed with the
database design and its query execution. Apache HTTP Server stats, tuning parameters would be analyzed to take proper
action for the traffic spikes, concurrent connections and several other parameters. Continuous monitoring will provide
continuous improvement e.g. when new features got added, traffic spikes in festival seasons.
System Design Principles
Sumit Arora | sumit1234@gmail.com
System Design of Fully Deployed Travel Web Application
Customers
Travel Site -Desktop | Tablet | Mobile | iPad
3rd Party Users
Customer | HTNG | Partners | OTA
Payment Gateway
Edge Services - Firewall | Cache| SSL | Auth
Database Server
Data Storage SQL, Mongo, Hadoop, SOLR
Web/Application Server
Apache HTTP/NGINX,VARNISH
Mail Server
ExternalIntegrationPoints
P
C
I
SaaS
Vendors
Public | Private | Hybrid Cloud| Distributed Infrastructure | Multi-Continent
Infrastructure and Data Services - Configuration | Logging |Search |Monitoring |Queue | Analyzer
Cloud Files - Caching
Backup/Recovery Service
CDN
Consumers
Administrator
AWS Cloud
EMAILS
Infrastructure Monitoring
Sumit Arora | sumit1234@gmail.com
A Sample Cost Estimation of Fully
Deployed Travel Web Application At
Amazon AWS Cloud
Sumit Arora | sumit1234@gmail.com
Limit of Liability/Disclaimer of Warranty: Overall explanation presented on this ppts ,are based on my views, my learning, and my language it may differ from your
understanding, as my learning curve still rolling. The author makes no representations or warranties with respect to the accuracy or completeness of the contents of
this work and specifically disclaims all warranties, including without limitation warranties of fitness for a particular purpose. The fact that an organization or web site is
referred to in this work as a citation and/or a potential source of further information does not mean that the author endorses the information the organization or web
site may provide or the recommendations it may make. Furthermore, readers should be aware that Internet web sites listed in this work may have changed or
disappeared between when this work was written and when it is read. So feel free write me your comments to make this better if any : sumit1234@gmail.com
Cloud Infrastructure Setup
A- Boot Strap Server B- Staging Server C- Production Server Active/Standby
A- Boot Strap Server Research/Test Server to test the configuration, Dev functionality ,
always up with latest code, remotely available. Dev/Test can refer it for many purpose
B- Staging Server It’s a exact replica of production Server, Various benchmarking tests, Pre-
Production tests performed on this server before doing continuous integration with
Production server
C – Production Active/ Standby Server It’s a real production Server used by the Travel
Website’s consumers, Various real time monitoring data collected from this server, On any
situation traffic might be diverted to the Standby Server
Sumit Arora | sumit1234@gmail.com
AWS Infrastructure Cost – BootStrap Server
Region : Asia Pacific (Tokyo) Region
Objective : System tuning and Its effect, Development
environment Tests, Functionality Tests, Same Replica of it to
be used by Dev/Test Team to test the website inhouse
Description :Apache Http Server/MySQL/PHP All would be installed on same machine, To
test the functionality with sample Data, Apache HTTP Server Tuning, Perform tests with
Apache Bench e.g. Apache HTTP Server with Varnish / Nginx with Varnish. Its a Test
Machine which we need initially to test latency, SNS Test and several other tests with
amazon AWS environment.
Machine Type :
Linux on T2 Medium / On Demand / $ 58.56 Per Month
Amazon EC2 EBS - 20 GB – (1)-$2 + (2)$0.50 + (3)$1.50 = ~ $5
(1)-$0.10 per GB-month of provisioned storage - $2.00 for 20 GB
(2)-$0.10 per 1 million I/O requests - $0.50 for 5 Million I/O Requests
(3)-$0.125 per GB-Month of snapshot data stored – 12 GB snapshot
A - Title : Boot-Strap Machine
Use Cases : Development environments, build servers, code repositories, low-traffic web applications, early product experiments, small
databases.
Sumit Arora | sumit1234@gmail.com
Region : Asia Pacific (Tokyo) Region
Objective : Staging environment exact replica of Production
environment
Description : All integration of code, database enhancement or
any new feature integration would be done first on this
environment, benchmarking with real data ( some or all
production data might be replicated to this staging server)
Servers and EBS :
M3.Medium for Database Server - $70.28
Amazon EC2 EBS - 40 GB - $4.03 + $1.00 + $2.88 = ~ $10
M3.Medium for Application Server - $70.28
Amazon EC2 EBS - 40 GB - $4.03 + $1.00 + $2.88 = ~ $10
B – Staging Beta Machines
M3 Medium Machine are General purpose instances provide a balance of compute, memory, and network resources, and are a good
choice for many applications. They are recommended for small and medium databases, data processing tasks that require additional
memory, caching fleets, and for running backend servers for SAP, Microsoft SharePoint, and other enterprise applications.
AWS Infrastructure Cost – Staging Beta Server
Sumit Arora | sumit1234@gmail.com
Region : Asia Pacific (Tokyo) Region
Objective : Production environment
Description : All production ready code, database enhancement or
any new feature integration , Its lively used by the consumers.
Anything first screened in-house team after on Boot Strap Server,
then Staging server and then on Production Server. It has active
and standby mode. Standby would be active on many emergency
or maintenance situations.
Servers and EBS :
M3.Medium for Database Server - $70.28
Amazon EC2 EBS - 40 GB - $4.03 + $1.00 + $2.88 = ~ $10
M3.Medium for Application Server - $70.28
Amazon EC2 EBS - 40 GB - $4.03 + $1.00 + $2.88 = ~ $10
C – Alpha Production Server –Active/Standby
M3 Medium Machine are General purpose instances provide a balance of compute, memory, and network resources, and are a good
choice for many applications. They are recommended for small and medium databases, data processing tasks that require additional
memory, caching fleets, and for running backend servers for SAP, Microsoft SharePoint, and other enterprise applications.
AWS Infrastructure Cost :Active/Standby Production Server
Sumit Arora | sumit1234@gmail.com
Region : Asia Pacific (Tokyo) Region
Amazon Cloud Front ~CDN Pricing
Per GB Transfer - $0.14 Per GB – If Monthly 10 GB Transfer - $1.50
HTTP requests Pricing $0.0075 for 10,000 - $3 for 4 Millions requests
HTTPS Requests Pricing $0.0100 for 10,0000 - $3 for 4 Millions requests
Elastic Load Balancer Fee
$0.025 per hour x 24 hours per day x 30 days x 1 Elastic Load Balance - $19 per month
Elastic Load Balancer Data Transfer Fee : $0.008 per GB x 10 GB
Simple Storage Service
$0.005 per 1,000 PUT, COPY, POST, or LIST requests e.g. 1,397 Requests $0.01 ~ $3 Per Month
Amazon Route 53 Requests
$0.40 per 1,000,000 queries for the first 1 Billion queries | e.g. 844 Queries | 0.01 -~$3 Per Month
$0.50 per Hosted Zone for the first 25 Hosted Zones e.g. Two Hosted Zones ~ $1.00
Miscellaneous Cost
$30 Per Month
AWS Infrastructure Cost – Misc Cost
Sumit Arora | sumit1234@gmail.com
Web
Application
BootStrap Staging Production Misc/Includi
ng SSL
Standby
Production
January $63 $160 NA NA NA
February $63 $160 $160 $20 NA
March $63 $160 $160 $20 NA
April $63 $160 $160 $60 $160
May $63 $160 $160 $60 $160
June $63 $160 $160 $60 $160
July $63 $160 $160 $60 $160
August $63 $160 $160 $60 $160
September $63 $160 $160 $60 $160
October $63 $160 $160 $60 $160
November $63 $160 $160 $60 $160
December $63 $160 $160 $60 $160
$756 $1920 $1760 $580 $1440
*$6456
Yearly Infrastructure Price Prediction
*Given calculated price just an approximation, this price could be reduced or increased based on the exact needs
Sumit Arora | sumit1234@gmail.com
Thanks – sumit1234@gmail.com
Sumit Arora | sumit1234@gmail.com

More Related Content

Viewers also liked

Home Economics Mid-year 2011 exam paper
Home Economics Mid-year 2011 exam paperHome Economics Mid-year 2011 exam paper
Home Economics Mid-year 2011 exam papershahina lalloo
 
LinkedIn Benefits and Features
LinkedIn Benefits and FeaturesLinkedIn Benefits and Features
LinkedIn Benefits and FeaturesMaryam Golabgir
 
LinkedIn and Lynda.com: Connecting People Development, Engagement and Culture...
LinkedIn and Lynda.com: Connecting People Development, Engagement and Culture...LinkedIn and Lynda.com: Connecting People Development, Engagement and Culture...
LinkedIn and Lynda.com: Connecting People Development, Engagement and Culture...LinkedIn Talent Solutions
 
Planning, design and implementation of information systems
Planning, design and implementation of information systemsPlanning, design and implementation of information systems
Planning, design and implementation of information systemsOnline
 
DEVELOPMENT PROCESS OF MIS
DEVELOPMENT PROCESS OF MISDEVELOPMENT PROCESS OF MIS
DEVELOPMENT PROCESS OF MISHiren Selani
 
Software proposal sample_project_1-_web_site_development_by_zx_7_of_november_...
Software proposal sample_project_1-_web_site_development_by_zx_7_of_november_...Software proposal sample_project_1-_web_site_development_by_zx_7_of_november_...
Software proposal sample_project_1-_web_site_development_by_zx_7_of_november_...Oleg Zhuravlev
 
Example for SDS document in Software engineering
Example for SDS document in Software engineeringExample for SDS document in Software engineering
Example for SDS document in Software engineeringRavi Yasas
 
UX Design Process | Sample Proposal
UX Design Process | Sample Proposal UX Design Process | Sample Proposal
UX Design Process | Sample Proposal Marta Fioni
 
Tourism ppt
Tourism pptTourism ppt
Tourism pptSBrooker
 
The Ultimate Guide To LinkedIn Premium (For Salespeople)
The Ultimate Guide To LinkedIn Premium (For Salespeople)The Ultimate Guide To LinkedIn Premium (For Salespeople)
The Ultimate Guide To LinkedIn Premium (For Salespeople)Fit Small Business
 
Travel and tourism management it project ppt
Travel and tourism management it project pptTravel and tourism management it project ppt
Travel and tourism management it project pptMadhukar Kumar
 
Project Proposal document for Hotel Management System
Project Proposal document for Hotel Management SystemProject Proposal document for Hotel Management System
Project Proposal document for Hotel Management SystemCharitha Gamage
 

Viewers also liked (16)

Home Economics Mid-year 2011 exam paper
Home Economics Mid-year 2011 exam paperHome Economics Mid-year 2011 exam paper
Home Economics Mid-year 2011 exam paper
 
LinkedIn Benefits and Features
LinkedIn Benefits and FeaturesLinkedIn Benefits and Features
LinkedIn Benefits and Features
 
LinkedIn and Lynda.com: Connecting People Development, Engagement and Culture...
LinkedIn and Lynda.com: Connecting People Development, Engagement and Culture...LinkedIn and Lynda.com: Connecting People Development, Engagement and Culture...
LinkedIn and Lynda.com: Connecting People Development, Engagement and Culture...
 
A New Year, New Look for Lynda.com
A New Year, New Look for Lynda.comA New Year, New Look for Lynda.com
A New Year, New Look for Lynda.com
 
Planning, design and implementation of information systems
Planning, design and implementation of information systemsPlanning, design and implementation of information systems
Planning, design and implementation of information systems
 
DEVELOPMENT PROCESS OF MIS
DEVELOPMENT PROCESS OF MISDEVELOPMENT PROCESS OF MIS
DEVELOPMENT PROCESS OF MIS
 
Web application architecture
Web application architectureWeb application architecture
Web application architecture
 
Software proposal sample_project_1-_web_site_development_by_zx_7_of_november_...
Software proposal sample_project_1-_web_site_development_by_zx_7_of_november_...Software proposal sample_project_1-_web_site_development_by_zx_7_of_november_...
Software proposal sample_project_1-_web_site_development_by_zx_7_of_november_...
 
Example for SDS document in Software engineering
Example for SDS document in Software engineeringExample for SDS document in Software engineering
Example for SDS document in Software engineering
 
UX Design Process | Sample Proposal
UX Design Process | Sample Proposal UX Design Process | Sample Proposal
UX Design Process | Sample Proposal
 
Analysis of LinkedIn
Analysis of LinkedInAnalysis of LinkedIn
Analysis of LinkedIn
 
Tourism ppt
Tourism pptTourism ppt
Tourism ppt
 
Sample Website Proposal Presentation
Sample Website Proposal PresentationSample Website Proposal Presentation
Sample Website Proposal Presentation
 
The Ultimate Guide To LinkedIn Premium (For Salespeople)
The Ultimate Guide To LinkedIn Premium (For Salespeople)The Ultimate Guide To LinkedIn Premium (For Salespeople)
The Ultimate Guide To LinkedIn Premium (For Salespeople)
 
Travel and tourism management it project ppt
Travel and tourism management it project pptTravel and tourism management it project ppt
Travel and tourism management it project ppt
 
Project Proposal document for Hotel Management System
Project Proposal document for Hotel Management SystemProject Proposal document for Hotel Management System
Project Proposal document for Hotel Management System
 

Similar to AWS Cost Estimation for Fully Deployed Travel Web Application

Best-Practices-for-Running-Windows-Workloads-on-AWS
Best-Practices-for-Running-Windows-Workloads-on-AWSBest-Practices-for-Running-Windows-Workloads-on-AWS
Best-Practices-for-Running-Windows-Workloads-on-AWSAmazon Web Services
 
Sentiment Analysis in R on AWS cloud
Sentiment Analysis in R on AWS cloudSentiment Analysis in R on AWS cloud
Sentiment Analysis in R on AWS cloudIRJET Journal
 
Final Report To Executive ManagersXXXXXCCA 625Un
Final Report To Executive ManagersXXXXXCCA 625UnFinal Report To Executive ManagersXXXXXCCA 625Un
Final Report To Executive ManagersXXXXXCCA 625UnChereCheek752
 
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017Amazon Web Services
 
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017Amazon Web Services
 
利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統Amazon Web Services
 
Overview of Serverless Application Deployment Patterns - AWS Online Tech Talks
Overview of Serverless Application Deployment Patterns - AWS Online Tech TalksOverview of Serverless Application Deployment Patterns - AWS Online Tech Talks
Overview of Serverless Application Deployment Patterns - AWS Online Tech TalksAmazon Web Services
 
Enterprise-Database-Migration-Strategies-and-Options-on-AWS
Enterprise-Database-Migration-Strategies-and-Options-on-AWSEnterprise-Database-Migration-Strategies-and-Options-on-AWS
Enterprise-Database-Migration-Strategies-and-Options-on-AWSAmazon Web Services
 
AWS Meetup Brussels 3rd Sep 2019 Simplify Frontend Apps with Serverless Backends
AWS Meetup Brussels 3rd Sep 2019 Simplify Frontend Apps with Serverless BackendsAWS Meetup Brussels 3rd Sep 2019 Simplify Frontend Apps with Serverless Backends
AWS Meetup Brussels 3rd Sep 2019 Simplify Frontend Apps with Serverless BackendsPatrick Sard
 
Real time service oriented cloud computing
Real time service oriented cloud computingReal time service oriented cloud computing
Real time service oriented cloud computingwww.pixelsolutionbd.com
 
AWS re:Invent 2016: Identifying Your Migration Options: the 6 Rs (ENT311)
AWS re:Invent 2016: Identifying Your Migration Options: the 6 Rs (ENT311)AWS re:Invent 2016: Identifying Your Migration Options: the 6 Rs (ENT311)
AWS re:Invent 2016: Identifying Your Migration Options: the 6 Rs (ENT311)Amazon Web Services
 
Re:cap día 1 del Aws Re:Invent 2023 - AWS UG Chile
Re:cap día 1 del Aws Re:Invent 2023 - AWS UG ChileRe:cap día 1 del Aws Re:Invent 2023 - AWS UG Chile
Re:cap día 1 del Aws Re:Invent 2023 - AWS UG ChileAlvaro Garcia
 
利用Fargate無伺服器的容器環境建置高可用的系統
利用Fargate無伺服器的容器環境建置高可用的系統利用Fargate無伺服器的容器環境建置高可用的系統
利用Fargate無伺服器的容器環境建置高可用的系統Amazon Web Services
 
High Performance Computing (HPC) on AWS 101
High Performance Computing (HPC) on AWS 101High Performance Computing (HPC) on AWS 101
High Performance Computing (HPC) on AWS 101Amazon Web Services
 
AWS Interview Questions and Answers -CREDO SYSTEMZ.pdf
AWS Interview Questions and Answers -CREDO SYSTEMZ.pdfAWS Interview Questions and Answers -CREDO SYSTEMZ.pdf
AWS Interview Questions and Answers -CREDO SYSTEMZ.pdfnishajeni1
 
Migrazione di Database e Data Warehouse su AWS
Migrazione di Database e Data Warehouse su AWSMigrazione di Database e Data Warehouse su AWS
Migrazione di Database e Data Warehouse su AWSAmazon Web Services
 
Well-architected Amazon WorkSpaces: Enterprise deployment at scale - SVC304 -...
Well-architected Amazon WorkSpaces: Enterprise deployment at scale - SVC304 -...Well-architected Amazon WorkSpaces: Enterprise deployment at scale - SVC304 -...
Well-architected Amazon WorkSpaces: Enterprise deployment at scale - SVC304 -...Amazon Web Services
 
Migrate and Modernize Your Database
Migrate and Modernize Your DatabaseMigrate and Modernize Your Database
Migrate and Modernize Your DatabaseAmazon Web Services
 

Similar to AWS Cost Estimation for Fully Deployed Travel Web Application (20)

Best-Practices-for-Running-Windows-Workloads-on-AWS
Best-Practices-for-Running-Windows-Workloads-on-AWSBest-Practices-for-Running-Windows-Workloads-on-AWS
Best-Practices-for-Running-Windows-Workloads-on-AWS
 
Sentiment Analysis in R on AWS cloud
Sentiment Analysis in R on AWS cloudSentiment Analysis in R on AWS cloud
Sentiment Analysis in R on AWS cloud
 
Final Report To Executive ManagersXXXXXCCA 625Un
Final Report To Executive ManagersXXXXXCCA 625UnFinal Report To Executive ManagersXXXXXCCA 625Un
Final Report To Executive ManagersXXXXXCCA 625Un
 
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
 
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
 
利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統
 
Overview of Serverless Application Deployment Patterns - AWS Online Tech Talks
Overview of Serverless Application Deployment Patterns - AWS Online Tech TalksOverview of Serverless Application Deployment Patterns - AWS Online Tech Talks
Overview of Serverless Application Deployment Patterns - AWS Online Tech Talks
 
SMS-and-CloudEndure-Module4
SMS-and-CloudEndure-Module4SMS-and-CloudEndure-Module4
SMS-and-CloudEndure-Module4
 
Enterprise-Database-Migration-Strategies-and-Options-on-AWS
Enterprise-Database-Migration-Strategies-and-Options-on-AWSEnterprise-Database-Migration-Strategies-and-Options-on-AWS
Enterprise-Database-Migration-Strategies-and-Options-on-AWS
 
AWS Meetup Brussels 3rd Sep 2019 Simplify Frontend Apps with Serverless Backends
AWS Meetup Brussels 3rd Sep 2019 Simplify Frontend Apps with Serverless BackendsAWS Meetup Brussels 3rd Sep 2019 Simplify Frontend Apps with Serverless Backends
AWS Meetup Brussels 3rd Sep 2019 Simplify Frontend Apps with Serverless Backends
 
Real time service oriented cloud computing
Real time service oriented cloud computingReal time service oriented cloud computing
Real time service oriented cloud computing
 
AWS re:Invent 2016: Identifying Your Migration Options: the 6 Rs (ENT311)
AWS re:Invent 2016: Identifying Your Migration Options: the 6 Rs (ENT311)AWS re:Invent 2016: Identifying Your Migration Options: the 6 Rs (ENT311)
AWS re:Invent 2016: Identifying Your Migration Options: the 6 Rs (ENT311)
 
Re:cap día 1 del Aws Re:Invent 2023 - AWS UG Chile
Re:cap día 1 del Aws Re:Invent 2023 - AWS UG ChileRe:cap día 1 del Aws Re:Invent 2023 - AWS UG Chile
Re:cap día 1 del Aws Re:Invent 2023 - AWS UG Chile
 
利用Fargate無伺服器的容器環境建置高可用的系統
利用Fargate無伺服器的容器環境建置高可用的系統利用Fargate無伺服器的容器環境建置高可用的系統
利用Fargate無伺服器的容器環境建置高可用的系統
 
High Performance Computing (HPC) on AWS 101
High Performance Computing (HPC) on AWS 101High Performance Computing (HPC) on AWS 101
High Performance Computing (HPC) on AWS 101
 
AWS Interview Questions and Answers -CREDO SYSTEMZ.pdf
AWS Interview Questions and Answers -CREDO SYSTEMZ.pdfAWS Interview Questions and Answers -CREDO SYSTEMZ.pdf
AWS Interview Questions and Answers -CREDO SYSTEMZ.pdf
 
TCO
TCO TCO
TCO
 
Migrazione di Database e Data Warehouse su AWS
Migrazione di Database e Data Warehouse su AWSMigrazione di Database e Data Warehouse su AWS
Migrazione di Database e Data Warehouse su AWS
 
Well-architected Amazon WorkSpaces: Enterprise deployment at scale - SVC304 -...
Well-architected Amazon WorkSpaces: Enterprise deployment at scale - SVC304 -...Well-architected Amazon WorkSpaces: Enterprise deployment at scale - SVC304 -...
Well-architected Amazon WorkSpaces: Enterprise deployment at scale - SVC304 -...
 
Migrate and Modernize Your Database
Migrate and Modernize Your DatabaseMigrate and Modernize Your Database
Migrate and Modernize Your Database
 

More from Sumit Arora

Amazon interview questions
Amazon interview questionsAmazon interview questions
Amazon interview questionsSumit Arora
 
Facebook interview questions
Facebook interview questionsFacebook interview questions
Facebook interview questionsSumit Arora
 
Google interview questions
Google interview questionsGoogle interview questions
Google interview questionsSumit Arora
 
Opendaylight SDN Controller
Opendaylight SDN ControllerOpendaylight SDN Controller
Opendaylight SDN ControllerSumit Arora
 
How much time did you spend preparing for google's interviews
How much time did you spend preparing for google's interviewsHow much time did you spend preparing for google's interviews
How much time did you spend preparing for google's interviewsSumit Arora
 

More from Sumit Arora (6)

Amazon interview questions
Amazon interview questionsAmazon interview questions
Amazon interview questions
 
Facebook interview questions
Facebook interview questionsFacebook interview questions
Facebook interview questions
 
Google interview questions
Google interview questionsGoogle interview questions
Google interview questions
 
Opendaylight SDN Controller
Opendaylight SDN ControllerOpendaylight SDN Controller
Opendaylight SDN Controller
 
How much time did you spend preparing for google's interviews
How much time did you spend preparing for google's interviewsHow much time did you spend preparing for google's interviews
How much time did you spend preparing for google's interviews
 
Rtsp
RtspRtsp
Rtsp
 

Recently uploaded

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 

Recently uploaded (20)

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 

AWS Cost Estimation for Fully Deployed Travel Web Application

  • 1. A Sample System Design and Cost Estimation of Fully Deployed Travel Web Application At Amazon AWS Cloud performance scalability cloud cost resources Sumit Arora sumit1234@gmail.com Date : 26th-Aug-2015
  • 2. A Sample System Design of Fully Deployed Travel Web Application At Amazon AWS Cloud Sumit Arora | sumit1234@gmail.com Limit of Liability/Disclaimer of Warranty: Overall explanation presented on this ppts ,are based on my views, my learning, and my language it may differ from your understanding, as my learning curve still rolling. The author makes no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaims all warranties, including without limitation warranties of fitness for a particular purpose. The fact that an organization or web site is referred to in this work as a citation and/or a potential source of further information does not mean that the author endorses the information the organization or web site may provide or the recommendations it may make. Furthermore, readers should be aware that Internet web sites listed in this work may have changed or disappeared between when this work was written and when it is read. So feel free write me your comments to make this better if any : sumit1234@gmail.com
  • 3. The objective of this document to write cloud infrastructure system design of travel web application and estimate approximate cost for the deployment in that cloud. This web application targeted to middle class customers and currently doing X transactions per day. This web application will start from the basic set of features and expand month by month with respect to several other feature integration, and also increase its geographical user base. So this application should work in terms of its performance, scalability and security. When talked about the performance then it should be able to handle traffic spikes, page speed, downloading latency, DNS resolution, 99.999% availability and many others. When talked about the scalability, that means on demand it should be able scale vertically as well as horizontally. Scaling vertically means to increase the computing ,memory and storage on demand. While horizontal scaling means adding more computational server or database server or load balancer on demand. When talked about the security that means when user enters to the website, then it should be monitored for DDOS Attacks, open ports and several other parameters relevant to security. Abstract Sumit Arora | sumit1234@gmail.com
  • 4. Design Pattern Cloud infrastructure design will follow the vertical/horizontal/vertical scaling design pattern, that means first the requisite servers with security group would set up. Once the basic infra got set up, then on demand /prediction basis the computational, memory or storage power would be increased vertically. When the vertical scale would reach to max then instances would be added horizontally and repeat the cycle vertical and then horizontal. Scalability If current setup able to sustain C1 concurrent users with 4 GB RAM, and demand has been seen for C1 + X concurrent users then first attempt for vertical scalability would be to increase the relative RAM or CPU or Both. The system design on next slides capable to handle C1+ concurrent users with http server as well as with database. Its capable to handle R1*1000 request per day, that means ~R1*1000/U1 unique request and ~T1 Transactions (just an example). Performance It has been assumed that deployment of the server units e.g. database server, http server ,will follow the proper hardening and best practices to tune the system. The Overall system would be deployed by putting (not limited to) Varnish for HTTP Accelerator, CDN to statically cache the system e.g. Cloud Front or Akamai. Using Cloud Flare or Route 53 for the authoritative name server. Database Server stats would be analyzed with average time to execute a data base query, number of concurrent connections and several other parameters. Based on the analysis further tuning might be performed with the database design and its query execution. Apache HTTP Server stats, tuning parameters would be analyzed to take proper action for the traffic spikes, concurrent connections and several other parameters. Continuous monitoring will provide continuous improvement e.g. when new features got added, traffic spikes in festival seasons. System Design Principles Sumit Arora | sumit1234@gmail.com
  • 5. System Design of Fully Deployed Travel Web Application Customers Travel Site -Desktop | Tablet | Mobile | iPad 3rd Party Users Customer | HTNG | Partners | OTA Payment Gateway Edge Services - Firewall | Cache| SSL | Auth Database Server Data Storage SQL, Mongo, Hadoop, SOLR Web/Application Server Apache HTTP/NGINX,VARNISH Mail Server ExternalIntegrationPoints P C I SaaS Vendors Public | Private | Hybrid Cloud| Distributed Infrastructure | Multi-Continent Infrastructure and Data Services - Configuration | Logging |Search |Monitoring |Queue | Analyzer Cloud Files - Caching Backup/Recovery Service CDN Consumers Administrator AWS Cloud EMAILS Infrastructure Monitoring Sumit Arora | sumit1234@gmail.com
  • 6. A Sample Cost Estimation of Fully Deployed Travel Web Application At Amazon AWS Cloud Sumit Arora | sumit1234@gmail.com Limit of Liability/Disclaimer of Warranty: Overall explanation presented on this ppts ,are based on my views, my learning, and my language it may differ from your understanding, as my learning curve still rolling. The author makes no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaims all warranties, including without limitation warranties of fitness for a particular purpose. The fact that an organization or web site is referred to in this work as a citation and/or a potential source of further information does not mean that the author endorses the information the organization or web site may provide or the recommendations it may make. Furthermore, readers should be aware that Internet web sites listed in this work may have changed or disappeared between when this work was written and when it is read. So feel free write me your comments to make this better if any : sumit1234@gmail.com
  • 7. Cloud Infrastructure Setup A- Boot Strap Server B- Staging Server C- Production Server Active/Standby A- Boot Strap Server Research/Test Server to test the configuration, Dev functionality , always up with latest code, remotely available. Dev/Test can refer it for many purpose B- Staging Server It’s a exact replica of production Server, Various benchmarking tests, Pre- Production tests performed on this server before doing continuous integration with Production server C – Production Active/ Standby Server It’s a real production Server used by the Travel Website’s consumers, Various real time monitoring data collected from this server, On any situation traffic might be diverted to the Standby Server Sumit Arora | sumit1234@gmail.com
  • 8. AWS Infrastructure Cost – BootStrap Server Region : Asia Pacific (Tokyo) Region Objective : System tuning and Its effect, Development environment Tests, Functionality Tests, Same Replica of it to be used by Dev/Test Team to test the website inhouse Description :Apache Http Server/MySQL/PHP All would be installed on same machine, To test the functionality with sample Data, Apache HTTP Server Tuning, Perform tests with Apache Bench e.g. Apache HTTP Server with Varnish / Nginx with Varnish. Its a Test Machine which we need initially to test latency, SNS Test and several other tests with amazon AWS environment. Machine Type : Linux on T2 Medium / On Demand / $ 58.56 Per Month Amazon EC2 EBS - 20 GB – (1)-$2 + (2)$0.50 + (3)$1.50 = ~ $5 (1)-$0.10 per GB-month of provisioned storage - $2.00 for 20 GB (2)-$0.10 per 1 million I/O requests - $0.50 for 5 Million I/O Requests (3)-$0.125 per GB-Month of snapshot data stored – 12 GB snapshot A - Title : Boot-Strap Machine Use Cases : Development environments, build servers, code repositories, low-traffic web applications, early product experiments, small databases. Sumit Arora | sumit1234@gmail.com
  • 9. Region : Asia Pacific (Tokyo) Region Objective : Staging environment exact replica of Production environment Description : All integration of code, database enhancement or any new feature integration would be done first on this environment, benchmarking with real data ( some or all production data might be replicated to this staging server) Servers and EBS : M3.Medium for Database Server - $70.28 Amazon EC2 EBS - 40 GB - $4.03 + $1.00 + $2.88 = ~ $10 M3.Medium for Application Server - $70.28 Amazon EC2 EBS - 40 GB - $4.03 + $1.00 + $2.88 = ~ $10 B – Staging Beta Machines M3 Medium Machine are General purpose instances provide a balance of compute, memory, and network resources, and are a good choice for many applications. They are recommended for small and medium databases, data processing tasks that require additional memory, caching fleets, and for running backend servers for SAP, Microsoft SharePoint, and other enterprise applications. AWS Infrastructure Cost – Staging Beta Server Sumit Arora | sumit1234@gmail.com
  • 10. Region : Asia Pacific (Tokyo) Region Objective : Production environment Description : All production ready code, database enhancement or any new feature integration , Its lively used by the consumers. Anything first screened in-house team after on Boot Strap Server, then Staging server and then on Production Server. It has active and standby mode. Standby would be active on many emergency or maintenance situations. Servers and EBS : M3.Medium for Database Server - $70.28 Amazon EC2 EBS - 40 GB - $4.03 + $1.00 + $2.88 = ~ $10 M3.Medium for Application Server - $70.28 Amazon EC2 EBS - 40 GB - $4.03 + $1.00 + $2.88 = ~ $10 C – Alpha Production Server –Active/Standby M3 Medium Machine are General purpose instances provide a balance of compute, memory, and network resources, and are a good choice for many applications. They are recommended for small and medium databases, data processing tasks that require additional memory, caching fleets, and for running backend servers for SAP, Microsoft SharePoint, and other enterprise applications. AWS Infrastructure Cost :Active/Standby Production Server Sumit Arora | sumit1234@gmail.com
  • 11. Region : Asia Pacific (Tokyo) Region Amazon Cloud Front ~CDN Pricing Per GB Transfer - $0.14 Per GB – If Monthly 10 GB Transfer - $1.50 HTTP requests Pricing $0.0075 for 10,000 - $3 for 4 Millions requests HTTPS Requests Pricing $0.0100 for 10,0000 - $3 for 4 Millions requests Elastic Load Balancer Fee $0.025 per hour x 24 hours per day x 30 days x 1 Elastic Load Balance - $19 per month Elastic Load Balancer Data Transfer Fee : $0.008 per GB x 10 GB Simple Storage Service $0.005 per 1,000 PUT, COPY, POST, or LIST requests e.g. 1,397 Requests $0.01 ~ $3 Per Month Amazon Route 53 Requests $0.40 per 1,000,000 queries for the first 1 Billion queries | e.g. 844 Queries | 0.01 -~$3 Per Month $0.50 per Hosted Zone for the first 25 Hosted Zones e.g. Two Hosted Zones ~ $1.00 Miscellaneous Cost $30 Per Month AWS Infrastructure Cost – Misc Cost Sumit Arora | sumit1234@gmail.com
  • 12. Web Application BootStrap Staging Production Misc/Includi ng SSL Standby Production January $63 $160 NA NA NA February $63 $160 $160 $20 NA March $63 $160 $160 $20 NA April $63 $160 $160 $60 $160 May $63 $160 $160 $60 $160 June $63 $160 $160 $60 $160 July $63 $160 $160 $60 $160 August $63 $160 $160 $60 $160 September $63 $160 $160 $60 $160 October $63 $160 $160 $60 $160 November $63 $160 $160 $60 $160 December $63 $160 $160 $60 $160 $756 $1920 $1760 $580 $1440 *$6456 Yearly Infrastructure Price Prediction *Given calculated price just an approximation, this price could be reduced or increased based on the exact needs Sumit Arora | sumit1234@gmail.com
  • 13. Thanks – sumit1234@gmail.com Sumit Arora | sumit1234@gmail.com