user60679
user60679

Reputation: 729

Run a script which down scale the instance during autoscaling

I want to run a script when the instances got terminated during autoscaling. basically, I want to do this for two reason. 1. Remove from the monitoring (Third party tool via API) 2. Delete the record set.

Upvotes: 0

Views: 670

Answers (1)

Chris Franklin
Chris Franklin

Reputation: 3984

You want to use an Autoscaling Lifecycle Hook. Check out the documentation here.

Upvotes: 2

Related Questions