Added the option to use private IPs on EC2