- The specified instances that are in the same Availability Zone as the protected instance are not terminated.
- The specified instances that are in different Availability Zones, where no other specified instances are protected, are successfully terminated.
-
Instance A:
us-east-1a
; Not protected -
Instance B:
us-east-1a
; Not protected -
Instance C:
us-east-1b
; Protected -
Instance D:
us-east-1b
; not protected
-
Instance A and Instance B are successfully terminated because none of the specified instances in
us-east-1a
are enabled for termination protection. -
Instance C and Instance D fail to terminate because at least one of the specified instances in
us-east-1b
(Instance C) is enabled for termination protection.
DeleteOnTermination
block device mapping parameter set to true
are automatically deleted. For more information about the differences between stopping and terminating instances, see Instance lifecycle in the Amazon EC2 User Guide.
For more information about troubleshooting, see Troubleshooting terminating your instance in the Amazon EC2 User Guide.
External DocumentationTo learn more, visit the AWS documentation.
Basic Parameters
Parameter | Description |
---|---|
AWS Region(s) | Enter the desired AWS Region(s). To execute the action in multiple regions, provide a comma-separated list. For example: us-east-1,eu-west-2 .If you wish to run the action in all available regions, use the asterisk symbol ( * ) instead. |
Instance IDs | The IDs of the instances. Constraints: Up to 1000 instance IDs. We recommend breaking up this request into smaller batches. |
Advanced Parameters
Parameter | Description |
---|---|
Disable XML To JSON Auto Convert | When checked, XML responses are not automatically converted into JSON format. |
Dry Run | Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation . |