These slides discuss a case study of how a Web Application deployment in Amazon Web Services (AWS) may evolve as the application's usage grows. The deployment starts with a very basic initial setup and grows into a highly scalable, reliable and available setup.
P3 InfoTech Solutions Pvt. Ltd. helps organizations achieve business breakthroughs by adopting Cloud Computing through our Outsourced Product Development and Cloud Consulting service offerings. Check out our service offerings at http://www.p3infotech.in.
2. Introduction to cloud computing
3 case studies
Everything is in context of AWS (Amazon Web
Services)
Auto scaling groups
AWS S3 Service
AWS CloudFront
2
3. A model for enabling convenient, on-demand network access
to a shared pool of configurable computing resources (e.g.,
networks, servers, storage, applications, and services) that
can be rapidly provisioned and released with minimal
management effort or service provider interaction.”
Highlighting Points:
Pay as you go
use of computing resources (hardware and software) that are
delivered as a service over a network (typically the Internet)
Internet)
High Availability and Scalability
3
4. An EBS is a Block storage User An EC2 instance is virtual
level volume attached to machine, sitting in a
an EC2 Instance physical server, together
with other virtual
machines.
machines.
Just some 100 users
4
5. Well this was just an introduction scenario
Your Application starts getting more users
And You have to scale up !
Item Usage(GB) Running Cost Per
month
EC2 instance linux NA $87.2
medium
EBS (Storage+Web 20 $2.20
Server)
Storage - S3 - Static 10 $1.25
Data (photos)
Network traffic 10 $1.90
(download only)
Total $92.95
5
6. Auto Scaling
Groups
Simple Shared
Storage
Some 10000
Users
6
7. Scalability
Auto-Scaling Groups
Different scenarios for configuring Auto-Scaling groups
Why use S3?
Store static content like images, videos, audios files, documents ,
transaction records for an e commerce application, server logs
Shared storage among EC2 so saves copying of similar data
multiple times
S3 will make multiple copies of your data across availability
zones hence Highly durable
Store transaction logs of few months
NOTE: S3 is an objects storage not block storage(WORM) Write
once Read many
7
8. Item No Storage (GB) Running cost
per month($)
EC2 Instance-(Medium linux 4 N/A $348.8
Web servers)
EBS Storage - Webserver (all 4 4 20 each $8.40
instances)
ec2 instance - Medium (for 1 N/A $87.2
database)
EBS Storage - Database 1 40 $4.40
Storage - S3 - Static Data NA 10 $1.25
(photos/Transaction Records)
ELB 20 $20.60
Total $ 470.85
8
13. Availability zones
How to Scale UP and Scale OUT
Master Slave DB
Amazon CloudFront:
Edge locations caches your content so avoids request to S3 or
any other origin of your data.
Improves customer experience with faster page loads
especially for mobile users with limited bandwidth
There are certain SEO benefits also involved: A study at google
showed that every ½ second of page load time dropped customer
traffic by 20%.Google factors in page load times in their quality
score.
CloudFront users: IMDB, Playfish(gaming company)
13