if not an ec2 instance use FQDN instead of instance_id