Fix connection to custom EC2 endpoint

Fill connection parameters.. how could this ever work?