2 Answers
- Newest
- Most votes
- Most comments
1
It depends what you mean with launched. If you mean being brought into service you could probably use Lifecycle Hooks to keep the instance in Pending:wait state, checking the status of the terminating instance, before bringing the instance being launched into service.
https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks-overview.html
0
Would advise you look into using the right Instance Maintenance Policy for your use case and then depending on timing, consider the use of Lifecyle Hooks. https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-maintenance-policy-overview-and-considerations.html
answered 3 months ago
Relevant content
- asked a year ago
- Accepted Answerasked 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
To add on to this: By default, the termination for the healthcheck will start right before the launch, but the ASG won't wait for the termination to finish before the launch starts