- 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-1aare 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.