getting a list of the instance id,name and region