0

I've got a set of machines which are stopped and started nightly for cost management. They are not in an ASG, because the servers have different purposes/are owned by different users/etc.

I would like to handle the stops more gracefully. Since there are several flavors of machines, I would like to handle this as a callback on each instance itself.

Does Ec2 support anything similar to the termination hooks that are baked into auto-scaling?

1 Answer 1

1

It'll go through a standard Linux shutdown, so you can setup a service with a shutdown script to do whatever you like.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .