connect to ec2 database