See here
http://www.chrishjorth.com/blog/free-aws-ec2-ubuntu-apache-php-mysql-setup/
Opening Port 80 or http on ec2
1. Click security group in left bar
2. then select security group for instance
3. then select inbound rule
4 add rule for http and done