Taking Web Application Deployment from Infancy to Maturity in AWS

397 views
346 views

Published on

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.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
397
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
10
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Taking Web Application Deployment from Infancy to Maturity in AWS

  1. 1. Sahil Chug @sahil_guitarSoftware Developer@P3Infotech Solutions Pvt P3InfotechLtd. http://p3infotech.in 1
  2. 2. Introduction to cloud computing3 case studiesEverything is in context of AWS (Amazon WebServices)Auto scaling groupsAWS S3 ServiceAWS CloudFront 2
  3. 3. A model for enabling convenient, on-demand network accessto a shared pool of configurable computing resources (e.g.,networks, servers, storage, applications, and services) thatcan be rapidly provisioned and released with minimalmanagement effort or service provider interaction.” Highlighting Points:Pay as you gouse of computing resources (hardware and software) that aredelivered as a service over a network (typically the Internet) Internet)High Availability and Scalability 3
  4. 4. An EBS is a Block storage User An EC2 instance is virtuallevel volume attached to machine, sitting in aan EC2 Instance physical server, together with other virtual machines. machines. Just some 100 users 4
  5. 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 monthEC2 instance linux NA $87.2mediumEBS (Storage+Web 20 $2.20Server)Storage - S3 - Static 10 $1.25Data (photos)Network traffic 10 $1.90(download only)Total $92.95 5
  6. 6. Auto Scaling Groups Simple Shared Storage Some 10000 Users 6
  7. 7. ScalabilityAuto-Scaling GroupsDifferent scenarios for configuring Auto-Scaling groupsWhy use S3?Store static content like images, videos, audios files, documents ,transaction records for an e commerce application, server logsShared storage among EC2 so saves copying of similar datamultiple timesS3 will make multiple copies of your data across availabilityzones hence Highly durableStore transaction logs of few monthsNOTE: S3 is an objects storage not block storage(WORM) Writeonce Read many 7
  8. 8. Item No Storage (GB) Running cost per month($)EC2 Instance-(Medium linux 4 N/A $348.8Web servers)EBS Storage - Webserver (all 4 4 20 each $8.40instances)ec2 instance - Medium (for 1 N/A $87.2database)EBS Storage - Database 1 40 $4.40Storage - S3 - Static Data NA 10 $1.25(photos/Transaction Records)ELB 20 $20.60Total $ 470.85 8
  9. 9. 9
  10. 10. Availability Availability Zone 1 Zone2 10
  11. 11. Content Distribution 39 Edge locations across globe 11
  12. 12. 12
  13. 13. Availability zonesHow to Scale UP and Scale OUTMaster Slave DBAmazon CloudFront:Edge locations caches your content so avoids request to S3 orany other origin of your data.Improves customer experience with faster page loadsespecially for mobile users with limited bandwidthThere are certain SEO benefits also involved: A study at googleshowed that every ½ second of page load time dropped customertraffic by 20%.Google factors in page load times in their qualityscore.CloudFront users: IMDB, Playfish(gaming company) 13
  14. 14. 14

×