use machinename instead of fqdn on amazon