Files
floci/docs/services
Priamo Germosen 5a912d5263 fix(emr): keep instance groups' volumes, AMI and shrink policy, and list instances' volumes and public address (#9163)
An instance group dropped the EbsConfiguration and CustomAmiId that
RunJobFlow and AddInstanceGroups gave it, and ModifyInstanceGroups its
ShrinkPolicy, and ListInstances gave no instance an EbsVolumes or a
PublicIpAddress.

- A group keeps its EbsConfiguration and CustomAmiId, and
  ListInstanceGroups gives them back as its EbsBlockDevices, one per
  volume named /dev/sdb on as a fleet's are, its EbsOptimized and its
  CustomAmiId, under the same limit of 25 volumes per instance.
- ModifyInstanceGroups keeps a group's ShrinkPolicy, which
  ListInstanceGroups gives back, and a shrink it comes with follows its
  InstanceResizePolicy: the instances it names to terminate end first,
  then the group's last instances, passing the protected ones. They end
  as EC2InstanceIdsToTerminate ends them, so their ids are not taken
  again, and a later entry for the same group counts from what an
  earlier one leaves. An id to terminate that is not a running instance
  of the group is refused, as EC2InstanceIdsToTerminate refuses it, and
  so is a shrink the protected instances leave short.
- ListInstances gives each instance the PublicIpAddress its
  PublicDnsName names, in 203.0.113.0/24 for a cluster's first 254
  instances and in 100.64.0.0/10 past them, and an EbsVolumes entry for
  each device its group or instance type config gives it, with volume
  ids that differ between clusters. A group's instances' EC2
  descriptions give its CustomAmiId as their image.
- AWS::EMR::Cluster no longer warns that a group's EbsConfiguration and
  CustomAmiId are not stored.
2026-11-21 19:32:36 -04:00
..