catching exception for non existent aws vms