Word of warning - the step-by-step deployment of a PHP application is full of errors, and the application itself doesn't work as expected from the document.
http://docs.aws.amazon.com/opsworks/latest/userguide/getting...
It needs some massaging on the web servers in order to actually respond without a 500 error