Distribute Your Content With Amazon CloudFront
aws.typepad.com
aws.typepad.com
[1] 6m 56s
[2] 11m 22s
CloudFront: 8m 37s, 8m 12s, 8m 17s
Cost comparisons run very close using their cost calculators for just CloudFiles vs S3...
In addition to ReST, PHP, Python, Java, and C# API's, there is also a web-interface that makes it easy to sign-up, upload content, and CDN-enable it.
In Apache I just enable mod_deflate or mod_gzip, or serve up a .gz and set the Content-Encoding to gzip.
Do CDNs offer this somehow?
Can I set arbitrary headers like Content-Encoding?
Also, does anyone have stats on which browsers support deflate and gzip encodings? I imagine the vast majority at this point do.
I'm not sure yet whether you can do that with CloudFront.
Something I couldn't find is support for SSL. That's key for CDN services.
FWIW, I always found dealing with Akamai and HTTPS a bear.
The details vary significantly on each scenario. But as a global service I think Amazon will eventually have to add SSL, IMHO.
FAIL (Because of your reply tone, please try to be more civilized next time, shame on your up-voters too.)
If CloudShare used its own "this is Amazon.com's Cloudshare Service" certificate then it might be okay, except (1) they would be using it to sign content that they haven't verified the authenticity of, which is misleading (like notarizing something without any authentication), and (2) you almost always need to mix those static assets with dynamic assets or HTML forms and that all has to happen on the same domain--the domain that receives the POST requests, not the CDN's domain--in order for things to work reliably.
As for tone: the tone with which I wrote my reply is apparently not the same as the tone with which you read it.
Not everyone is interested in making sure your feelings don't get hurt on the internet. The sooner you realize that, the better off you'll be.
I would definitely like to use a CDN with SSL sites. I am happy for the domain to be amazon's (or cloudfront, whatever) signed with their cert, I just don't want the browser security to be broken by having non-SSL content on the page.
Is there something wrong with this?
If you have couple of files in the CDN it will not make sense, because the cost to distribute the files around will be marginal, but if you have many GB of data, distributing them to all unneeded servers might be not cost efficient.
To be frank, I haven't been completely satisfied with S3, so maybe this will help insulate us from those outages as well, assuming the content is already cached at the edge.
Putting multiple boxes hosting that httpd in various geolocations, setting up DNS and BGP to route users optimally, designing failover routes and keeping N nodes in sync is the hard part.