ListInstances listed only instance groups' instances, so a cluster made
of instance fleets listed none, though its core and task nodes run as
containers named by the private DNS names its instances would have.
- A fleet has an instance for each unit of its capacity, as its nodes
do, its on-demand ones first, each of the first instance type in its
InstanceTypeConfigs, which Floci now keeps, and with its
InstanceFleetId.
- The primary fleet's instance is numbered first, i-00000000000000001
at 10.0.0.1, as MasterPublicDnsName names it, and every other fleet's
are at 10.<fleet>.0.<n>, the names its nodes run under, kept while
another fleet resizes. One helper numbers groups and fleets for both.
- An ended fleet's instances stay listed as TERMINATED for 30 days, as
an ended group's do, from its target capacities, which it can no
longer change.
- InstanceGroupId, InstanceGroupTypes, InstanceFleetId and
InstanceFleetType now narrow the listing, all given ones together;
they were ignored.
A call lists at most 2,000 instances, building only that page, with a
Marker for the rest, so a fleet of any capacity costs one page, counted in longs, as a fleet's
two capacities add up past an int. A
cluster has instance groups or instance fleets, never both, as they
"cannot coexist in a cluster": RunJobFlow with both, AddInstanceGroups
on a cluster with fleets and AddInstanceFleet on one with groups are
refused, and so is a fleet without its required InstanceFleetType or an
InstanceTypeConfigs member without its required InstanceType.