Connection is timing out

Have you configured the EC2 instance security group in order to allow ingress traffic on the ports 80/443?