Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Question about termination on reboot #125

Closed
paulocheque opened this issue Aug 3, 2013 · 4 comments
Closed

Question about termination on reboot #125

paulocheque opened this issue Aug 3, 2013 · 4 comments

Comments

@paulocheque
Copy link

Is is possible to create a EC2 instance with the 'terminate on reboot' option?

Or should I execute the following command manually?

ec2-modify-instance-attribute instance_id --instance-initiated-shutdown-behavior terminate

thanks in advance

@tralamazza
Copy link
Collaborator

Not yet implemented, but fairly simple.

@tralamazza
Copy link
Collaborator

Btw is not exactly "terminate on reboot" but terminate (or stop) on system shutdown.

@tralamazza
Copy link
Collaborator

use aws.shutdown_behavior = "terminate"

tralamazza added a commit that referenced this issue Aug 30, 2013
@FlorinAndrei
Copy link

What happened to the shutdown_behavior setting? I see this issue was closed 8 months ago, but the setting does not appear to work in the main code. Was it removed at some point?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants