working out getEc2InstancesByRegion