adding ec2 connection