Wednesday, March 26, 2014

Managing Assets on Amazon CloudFront

Martin Streicher provides a practical example of how to use Amazon CloudFront and Amazon S3 to manage files for a sample Rails application.

If your web site is flourishing, you've probably realized that success is both a blessing and a curse. On the one hand, a growing audience and increased traffic furthers your goal—be it communication, commerce, or community. On the other hand, the additional page views and the incumbent demands on bandwidth, processor cycles, and storage may seem daunting. Ironically, mushrooming traffic can torpedo a burgeoning site.

But before you run off to lease more bandwidth or purchase additional rack-mount servers, consider delegating some of the busy work your servers currently contend with to Amazon Simple Storage Service (Amazon S3) and the Amazon CloudFront content-delivery network. In particular, Amazon S3 and Amazon CloudFront can unburden your servers from the chore of serving static content. Delivering assets from a specialized network reserves compute power for computation.

Source: https://aws.amazon.com/articles/Ruby/2331

No comments: