Re:How I serve my site using only CloudFront, S3, and a few ...
by jasonkester on Friday November 19, 2010 @09:59AM
(#1921544)
You can do that, but it's a pretty bad idea.
Cloudfront will server your content anywhere in the world with a latency of 43ms. S3 latencies range between 200 and 800ms, which is not particularly suitable for delivering web content.
For the privilege of this faster delivery, it will take you 30 seconds in your AWS tool of choice, and will roughly double your monthly bill (thus potentially pushing you above the $1/month barrier.)
I'm sure there are levels of laziness and thriftiness for which serving straight from s3 seems attractive, but off the top of my head I can't think of any.
Re:How I serve my site using only CloudFront, S3, and a few ...
by MicahWedemeyer on Friday November 19, 2010 @10:05AM
(#1921561)
In the past, S3 was required for SSL, but I hear they've fixed that now. CloudFront is pretty sweet...
However, S3 doesn't have default root object support, so you do need CloudFront if you want http://mydomain.com/ (vs http://mydomain.com/index.html) to return an object instead of an error.