100% found this document useful (2 votes)
339 views

Scaling AWSomeTrips

The document discusses the challenges faced by AWSomeTrips in scaling their infrastructure to meet spikes in traffic and expand globally. It needs better performance, availability, and scalability. The proposed AWS architecture would provide elastic compute and storage resources, content delivery, databases, and analytics to meet these needs cost-effectively. The monthly spend on AWS would be $12,857 compared to $22,573 currently, reducing costs as the business grows.

Uploaded by

Deepak Prabhu
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
339 views

Scaling AWSomeTrips

The document discusses the challenges faced by AWSomeTrips in scaling their infrastructure to meet spikes in traffic and expand globally. It needs better performance, availability, and scalability. The proposed AWS architecture would provide elastic compute and storage resources, content delivery, databases, and analytics to meet these needs cost-effectively. The monthly spend on AWS would be $12,857 compared to $22,573 currently, reducing costs as the business grows.

Uploaded by

Deepak Prabhu
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 16

Scaling AWSomeTrips.

Challenges and Needs

Challenges Needs
 Spiky Traffic on season  Better performance and
 High page load time for users availability
 High transaction failures during  Scalability and Elasticity
seasonal peaks
 Reduce spending on
 Losing customer and Business infrastructure
 Takes weeks to provision new
servers  Better customer experience on
platform
 No scalability from Service provider
 Service level degrading  Ease of going global
 Costing  Building Analytical Capabilities
Current Hosted Infrastructure

 30 Servers in total
 12 APPLICATION SERVERS  Web + Application server  Storage – 6TB NAS
config - 6 cores/ 24 GB RAM
 10 WEB SERVERS  Akamai for CDN – 10 TB Data
 Database server config – 12 transfer
 4 DATABSE SERVERS cores/ 64 GB
 Number of Administrators – 5
 2 MANAGEMENT SERVERS  LAMP STACK
 2 CACHEING SERVER
Current Hosted
Architecture

 Web + Application
server config - 6 cores/
24 GB RAM
 Database server config
– 12 cores/ 64 GB
 LAMP STACK
 Storage – 6TB NAS
 Akamai for CDN – 10 TB
Data transfer
 Number of
Administrators – 5
Business Challenges

 Performance and Availability –Need consistent application response time for users
 Loosing Customer because of High page load time and Transaction failures
 Scalability and Elasticity – Need to Operate at any capacity, within 500k users or beyond
5Million Users
 Need Reduced Business Risk with consistent performance and Service availability to users
 Building a global infrastructure – Expanding to Indonesia and Philippines
 Building Data Analytical capabilities to better understand customer insights, user interactions
and user logs – Currently holds 6TB of Unstructured Data
 All servers are in India
 High provisioning time for additional resources
 High Reliability on Apollo Service provider
Why Amazon Web Services?

 Build your Infrastructure for High availability


 Pay-per use model - You are only charged for disk space, CPU time and
bandwidth that you use.
 Reliable/Redundant/Secure - Infrequent outages. Data is redundant in the
cloud. All services have built-in security.
 Scale easily as your business grows from 500k users to 5M users and beyond
 Ease of Deployment – provision additional resources within minutes
 Going Global - AWS Cloud spans 54 Availability Zones within 18
geographic Regions.
Proposed Architecture
Elastic Cloud Compute – EC2 Simple Storage Service – S3 Relational Database Service
 Resizable compute web  Securely collect, store, and  Easy to set up, operate,
service that provides analyze data at a massive and scale a relational
secure, resizable database in the cloud
compute capacity in the scale.
cloud  Reduce manual database
 Store images and Videos administration
 Provides complete control uploaded by Subscribers
of your computing  Cost-efficient and resizable
resources  Provision S3 for Storage capacity while automating
and Backups time-consuming
 Enables you to build administration tasks such
failure resilient  S3 allows you to run Big
as hardware provisioning
applications Data analytics on your and database setup
 Enables you to increase or data without moving the
decrease capacity within data into a separate  Supports
minutes, not hours or days analytics system. PostgreSQL, MySQL, Maria
DB, Oracle, and Microsoft
 Scale compute power up  UNMATCHED DURABILITY, SQL Server
or down to manage peak
AVAILABILITY, & Allows Replication and
loads with Autoscaling 
and Elastic Load SCALABILITY Scaling
Balancing
Cloud Front - CF Amazon Athena*
 Global Content delivery  Interactive query service that
network makes it easy to analyze
Unstructured data in Amazon
 54 Availability Zones within 18
S3 using standard SQL
geographic regions.
 Serverless - No infrastructure to
 Accelerate data delivery,
manage, pay only for the
Images and Video streaming
queries that you run.
for APAC Users
 Athena can process
 APIs to your Uses with low
unstructured, semi-structured,
latency and high transfer
and structured data sets. Ex
speeds
CSV, Json
 With CloudFront, there are no
upfront payments or fixed
platform fees
Additional Services
API Gateway Elastic Map Reduce* Simple Email Service
 Fully managed service  Managed Hadoop  Cloud-based email
that makes it easy for framework that makes it sending service designed
developers to create, easy, fast, and cost- to help digital marketers
publish, maintain, effective to process vast and application
monitor, and secure APIs amounts of data. developers send
at any scale. marketing, notification,
 Analyze and process
handles all the tasks and transactional emails..
 streams of data coming
involved in accepting from Awsometrips
and processing up to website.
hundreds of thousands of
 Analyze user interaction,
concurrent API calls
and supply data, which is
 No minimum fees or stored on Amazon S3)
startup costs. You pay
only for the API calls you
receive and the amount
of data transferred out.
Current Infrastructure Expenditure

Managed hosting $ PER MONTH $ PER ANNUM


22 web+ app 6 core/ 24 GB 5139 $ 61668 $
servers
MySQL – 4 DB 12 core/ 64 GB 16,819 $ 201828 $
Servers
Load balancers 2 25 $ 300 $
Storage 6 TB 590 $ 7080 $
TOTAL 22573 $ 270876 $

AKAMAI CDN USAGE Price per GB $ PER MONTH $ PER ANNUM


10 TB Per Month 0.40 $ 4000 $ 48000 $
AWS pricing and Comparison

Service Type Type Unit Price per Month


EC2 Service Linux m4 Large 22 Instance 3381 $
S3 Service Storage 6 TB 153 $
Cloud Front Service CDN 10 TB 1587 $
RDS Service MySQL m4.4x large 4 Instance 6202 $
SES Service Email Service 10000 emails/day 24 $
Elastic Map Reduce Big Data Analysis 1 Instance 398 $
AWS Support 1132 $
Total Per Month Spend 12857 $

Reference Calculator - https://calculator.s3.amazonaws.com/index.html#r=BOM&key=calc-38ACA0E2-


74F4-40F9-9BDE-EA52207F3C9E
Cost of Replication Services across SEA -
https://calculator.s3.amazonaws.com/index.html#r=BOM&key=calc-38ACA0E2-74F4-40F9-9BDE-
EA52207F3C9E
Apollo vs AWS Cost Comparison

25000
22573 Apollo Provider vs AWS
20000
Dollars Per Month

15000
11270

10000

4000
5000
1587

0
Apollo vs AWS per month Akamai CDN vs CloudFront
Apollo AWS

* Per Month spend


Cost at Scale – Subscriber Growth and Going Global

 Growth projected to 5 million users by end of Q4


 Linear growth of Subscriber growth from Q1 to Q4
 Data transfer to multiply 10x of 500k users – from 10 TB TO 100 TB Per Month
 Peak instances required only on Weekends and Season
 MySQL DB to grow in linear manner – 10x by Q4
 Replicate EC2 across regions to Go Global
 Awsometrips can Leverage availability Zones across every regions to
expand business

AWS Infrastructure cost translates to 11200 $ per month or ~50% of the current spend
with Apollo Providers 22573$ per month.
Security and Compliance

 Identity and Access Management


 Multi factor authentication
 VPC to connect your corporate offices across regions to AWS resources
 Server-Side Encryption (SSE) option to encrypt data stored at rest in S3
 IS0 – 27001 Compliant
Migrate
Migrate non
Identify Service to Business
use POC mission critical
critical
Applications
Applications

Next
Steps

You might also like