Simple php application that connects to ec2 instance and uses mongodb