How To Deploy Yii App On Amzon Ec2

hello everyone

we are developing a web application on yii which we want to host it on amazon Ec2

I did some research on how to deploy yii app in amazon ec2 but surprisingly I couldn’t find any tutorials any where.

I am new to amazon ec2 and this is the first time I am using it so if any one has successfully installed yii app on amazon ec2, it would be very helpful for me if you can provide me a link to some tutorial or documentation on how to deploy yii app on amazon ec2.

and also what is the best os for yii app amazon linux or ubuntu12 /13

Thank you