4 points · by danvoell · 12y ago · 10 comments
You can set up rules in Cloudfront to point to different origins based on URL, so you could point at an S3 bucket for /about or /news pages, or the /images* folder, and to your PHP server for /contact or /blog. That way you have maximum uptime for all the static pages and content, and you only hit your server for stuff that absolutely needs to be dynamic.
If actually static (just html and other static files): S3 might be a better choice.
I'm serving static HTML generated by Octopress.