title: CloudFront + EC2 + Apache + PHP
body: <p>Would setting up Amazon's CloudFront with a custom origin as an ec2 server have any performance increase to serving PHP with Apache? Basically serving all the dynamic content through CloudFront.</p>
  
  <p>For reference all my static content is already being served through CloudFront on a seperate domain.</p>
  
  <p>IF that is possible and provides a performance increase could you do something like CloudFront which routes to an Elastic LoadBalancer which routes to an EC2 instance which has nginx as a front (still have some static content not on cloudfront) which in turn routes all php to Apache's mod_php.</p>