Connect to EC2 instances

In this step, we will create connections to our EC2 servers, located in both public and private subnets.