add support for an amazon machine image.