use public-hostname instead of instance-id for private IPs