Page 1 of 1

Is there a way to automatically shutdown the VM if IDLE?

Posted: Tue Jan 18, 2022 3:32 pm
by luisitocomunica
I would like to make the VM automatically shutdown if it has been IDLE for a certain amount of time. I have been trying by changing the sleep timeout setting and sleep action to "shutdown" but nothings happens. I am using Ubuntu Desktop 20.04

Re: Is there a way to automatically shutdown the VM if IDLE?

Posted: Tue Jan 18, 2022 4:12 pm
by jsun
The built-in power management is disabled for AWS. Rather, you can use external monitoring feature to shut down an idle instance.

See an example article below.

https://successengineer.medium.com/how- ... 3374e51090