Connect to ec2 instance