made the connect method of Provisioner::EC2 a private method