1 / 14

Reduce bandwidth and save money with Amazon's S3

Reduce bandwidth and save money with Amazon's S3. Adam Howitt www.adamhowitt.com adam@adamhowitt.com. About Adam Howitt. Over 7 years ColdFusion 1 ½ years at MacKay & Company… 3 years at Biolab in Atlanta 3 years at Duo Consulting in Chicago Independent Consultant for 1 month

shelagh
Download Presentation

Reduce bandwidth and save money with Amazon's S3

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Reduce bandwidth and save money with Amazon's S3 Adam Howitt www.adamhowitt.com adam@adamhowitt.com

  2. About Adam Howitt • Over 7 years ColdFusion • 1 ½ years at MacKay & Company… • 3 years at Biolab in Atlanta • 3 years at Duo Consulting in Chicago • Independent Consultant for 1 month • Load testing – www.poundmyserver.com • Google Analytics, SEO and Optimizer • Google Maps • http://www.walkjogrun.net

  3. CF Hosting • ColdFusion, SQL Server, IIS • Good price, good service • Shared hosting, shared failures • No control

  4. Self Hosted Hardware • BlueDragon, MySQL, Apache, Postfix • 4 x P3s • Static IP address • WRT54g router • Large closet

  5. Self Hosting Practically Speaking • Cheap • Many domains • Full control • Vacuum cleaners • Hairdryers • Whining fans • Closet space

  6. Why is the Internet Slow? • “If you have a problem, • if no one else can help, and • if you can find them, • maybe you can hire... The A-Team”

  7. Overview of Amazon Web Services • E-commerce Service (ECS) • Elastic Compute Cloud (EC2) • Flexible Payments (FPS) • Mechanical Turk • Simple Storage Service (S3) • Simple Queue Service (SQS) • Alexa Site Thumbnail • Alexa Top Sites

  8. Amazon S3 Overview • REST based service • Access Control Lists • Upload static content • Encrypted uploads • Content delivery network

  9. Amazon S3 Pricing • Storage$0.15 per GB-Month of storage used • Data Transfer$0.10 per GB - all data transfer in $0.18 per GB - first 10 TB / month data transfer out$0.16 per GB - next 40 TB / month data transfer out$0.13 per GB - data transfer out / month over 50 TB • Requests$0.01 per 1,000 PUT or LIST requests$0.01 per 10,000 GET and all other requests

  10. Uploading to S3 • Browser plugin - S3fox • https://addons.mozilla.org/en-US/firefox/addon/3247 • ColdFusion S3.cfc • http://www.ajaxcf.com/blog/index.cfm/2006/9/7/Amazon-S3-REST-Wrapper • getBuckets() • getBucket(), putBucket() and deleteBucket() • getObject(), putObject() and deleteObject()

  11. Incorporating S3 to WalkJogRun.net • User creates a route • Overview is saved to a database • Old System • Waypoint XML files saved to file system • XML Files loaded with AJAX • New System • Waypoint XML files sent to S3 • XML Files loaded from S3 with an AJAX proxy • Nothing is saved locally

  12. Results • Load test - 10x faster than my own server • Bandwidth reduced on my network to 33% (178k > 66k) per page • Pricing

  13. Ideas for the Service • Movies • Podcasts • Offsite Backups • All your static files

  14. Questions • Adam Howitt • (312) 714 9229 • adam@adamhowitt.com • http://www.webdevref.com/blog • http://www.walkjogrun.net • http://www.adamhowitt.com

More Related