Hacker News new | ask | show | jobs
by rrjamie 5076 days ago
Using S3 as an origin isn't a terrible idea, especially if you want very high availability for a low ops overhead.

We use S3 behind Edgecast, and it works great.

We also have a standby server and CDN in case we need to failover at the DNS level in the unlikely case either of those go down. This may be overkill for other sites, who probably should spend time planning for far more likely interruptions to availability (EC2 interruptions, etc).

CloudFront invalidation is definitely a pain, since they have no global purge or prefix purge (/bar/foo/*). CloudFront also won't handle Content-Encoding negotiation for you, though it will Vary on it if you ask it to. We used CF in the past, and had a bunch of machinery to purge just those assets that changed.

S3 is wonderful, but CloudFront is missing a few bits, despite having a great price at a low volume.