An Auto Scaling worker instance must upload local processing checkpoints before termination. The upload can take several minutes, and the termination workflow needs a bounded wait rather than an indefinite delay. Which feature should operations use?

Published
  1. Increase only the Auto Scaling default instance warmup period.
  2. Add a termination lifecycle hook, perform the checkpoint upload, send heartbeats if needed, and complete the lifecycle action.
  3. Increase only the launch health-check grace period.
  4. Use EC2 termination protection as a substitute for an Auto Scaling lifecycle hook.

Comments — 0