get amazon instance by id