Amazon Elastic Compute Cloud

2025/02/26 - Amazon Elastic Compute Cloud - 3 updated api methods

Changes  Amazon EC2 Fleet customers can now override the Block Device Mapping specified in the Launch Template when creating a new Fleet request, saving the effort of creating and associating new Launch Templates to customize the Block Device Mapping.

CreateFleet (updated) Link ¶
Changes (request, response)
Request
{'LaunchTemplateConfigs': {'Overrides': {'BlockDeviceMappings': [{'DeviceName': 'string',
                                                                  'Ebs': {'DeleteOnTermination': 'boolean',
                                                                          'Encrypted': 'boolean',
                                                                          'Iops': 'integer',
                                                                          'KmsKeyId': 'string',
                                                                          'SnapshotId': 'string',
                                                                          'Throughput': 'integer',
                                                                          'VolumeSize': 'integer',
                                                                          'VolumeType': 'standard '
                                                                                        '| '
                                                                                        'io1 '
                                                                                        '| '
                                                                                        'io2 '
                                                                                        '| '
                                                                                        'gp2 '
                                                                                        '| '
                                                                                        'sc1 '
                                                                                        '| '
                                                                                        'st1 '
                                                                                        '| '
                                                                                        'gp3'},
                                                                  'NoDevice': 'string',
                                                                  'VirtualName': 'string'}]}}}
Response
{'Errors': {'LaunchTemplateAndOverrides': {'Overrides': {'BlockDeviceMappings': [{'DeviceName': 'string',
                                                                                  'Ebs': {'DeleteOnTermination': 'boolean',
                                                                                          'Encrypted': 'boolean',
                                                                                          'Iops': 'integer',
                                                                                          'KmsKeyId': 'string',
                                                                                          'SnapshotId': 'string',
                                                                                          'Throughput': 'integer',
                                                                                          'VolumeSize': 'integer',
                                                                                          'VolumeType': 'standard '
                                                                                                        '| '
                                                                                                        'io1 '
                                                                                                        '| '
                                                                                                        'io2 '
                                                                                                        '| '
                                                                                                        'gp2 '
                                                                                                        '| '
                                                                                                        'sc1 '
                                                                                                        '| '
                                                                                                        'st1 '
                                                                                                        '| '
                                                                                                        'gp3'},
                                                                                  'NoDevice': 'string',
                                                                                  'VirtualName': 'string'}]}}},
 'Instances': {'LaunchTemplateAndOverrides': {'Overrides': {'BlockDeviceMappings': [{'DeviceName': 'string',
                                                                                     'Ebs': {'DeleteOnTermination': 'boolean',
                                                                                             'Encrypted': 'boolean',
                                                                                             'Iops': 'integer',
                                                                                             'KmsKeyId': 'string',
                                                                                             'SnapshotId': 'string',
                                                                                             'Throughput': 'integer',
                                                                                             'VolumeSize': 'integer',
                                                                                             'VolumeType': 'standard '
                                                                                                           '| '
                                                                                                           'io1 '
                                                                                                           '| '
                                                                                                           'io2 '
                                                                                                           '| '
                                                                                                           'gp2 '
                                                                                                           '| '
                                                                                                           'sc1 '
                                                                                                           '| '
                                                                                                           'st1 '
                                                                                                           '| '
                                                                                                           'gp3'},
                                                                                     'NoDevice': 'string',
                                                                                     'VirtualName': 'string'}]}}}}
DescribeFleets (updated) Link ¶
Changes (response)
{'Fleets': {'Errors': {'LaunchTemplateAndOverrides': {'Overrides': {'BlockDeviceMappings': [{'DeviceName': 'string',
                                                                                             'Ebs': {'DeleteOnTermination': 'boolean',
                                                                                                     'Encrypted': 'boolean',
                                                                                                     'Iops': 'integer',
                                                                                                     'KmsKeyId': 'string',
                                                                                                     'SnapshotId': 'string',
                                                                                                     'Throughput': 'integer',
                                                                                                     'VolumeSize': 'integer',
                                                                                                     'VolumeType': 'standard '
                                                                                                                   '| '
                                                                                                                   'io1 '
                                                                                                                   '| '
                                                                                                                   'io2 '
                                                                                                                   '| '
                                                                                                                   'gp2 '
                                                                                                                   '| '
                                                                                                                   'sc1 '
                                                                                                                   '| '
                                                                                                                   'st1 '
                                                                                                                   '| '
                                                                                                                   'gp3'},
                                                                                             'NoDevice': 'string',
                                                                                             'VirtualName': 'string'}]}}},
            'Instances': {'LaunchTemplateAndOverrides': {'Overrides': {'BlockDeviceMappings': [{'DeviceName': 'string',
                                                                                                'Ebs': {'DeleteOnTermination': 'boolean',
                                                                                                        'Encrypted': 'boolean',
                                                                                                        'Iops': 'integer',
                                                                                                        'KmsKeyId': 'string',
                                                                                                        'SnapshotId': 'string',
                                                                                                        'Throughput': 'integer',
                                                                                                        'VolumeSize': 'integer',
                                                                                                        'VolumeType': 'standard '
                                                                                                                      '| '
                                                                                                                      'io1 '
                                                                                                                      '| '
                                                                                                                      'io2 '
                                                                                                                      '| '
                                                                                                                      'gp2 '
                                                                                                                      '| '
                                                                                                                      'sc1 '
                                                                                                                      '| '
                                                                                                                      'st1 '
                                                                                                                      '| '
                                                                                                                      'gp3'},
                                                                                                'NoDevice': 'string',
                                                                                                'VirtualName': 'string'}]}}},
            'LaunchTemplateConfigs': {'Overrides': {'BlockDeviceMappings': [{'DeviceName': 'string',
                                                                             'Ebs': {'DeleteOnTermination': 'boolean',
                                                                                     'Encrypted': 'boolean',
                                                                                     'Iops': 'integer',
                                                                                     'KmsKeyId': 'string',
                                                                                     'SnapshotId': 'string',
                                                                                     'Throughput': 'integer',
                                                                                     'VolumeSize': 'integer',
                                                                                     'VolumeType': 'standard '
                                                                                                   '| '
                                                                                                   'io1 '
                                                                                                   '| '
                                                                                                   'io2 '
                                                                                                   '| '
                                                                                                   'gp2 '
                                                                                                   '| '
                                                                                                   'sc1 '
                                                                                                   '| '
                                                                                                   'st1 '
                                                                                                   '| '
                                                                                                   'gp3'},
                                                                             'NoDevice': 'string',
                                                                             'VirtualName': 'string'}]}}}}
ModifyFleet (updated) Link ¶
Changes (request)
{'LaunchTemplateConfigs': {'Overrides': {'BlockDeviceMappings': [{'DeviceName': 'string',
                                                                  'Ebs': {'DeleteOnTermination': 'boolean',
                                                                          'Encrypted': 'boolean',
                                                                          'Iops': 'integer',
                                                                          'KmsKeyId': 'string',
                                                                          'SnapshotId': 'string',
                                                                          'Throughput': 'integer',
                                                                          'VolumeSize': 'integer',
                                                                          'VolumeType': 'standard '
                                                                                        '| '
                                                                                        'io1 '
                                                                                        '| '
                                                                                        'io2 '
                                                                                        '| '
                                                                                        'gp2 '
                                                                                        '| '
                                                                                        'sc1 '
                                                                                        '| '
                                                                                        'st1 '
                                                                                        '| '
                                                                                        'gp3'},
                                                                  'NoDevice': 'string',
                                                                  'VirtualName': 'string'}]}}}