use instanceid if in Amazon