Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to Keep a Dev Instance from Hibernating Permanently?

ethantaylor555
Giga Contributor

I have a ServiceNow dev instance that I want to keep alive forever , without it going into hibernation. I even tried using an AWS Lambda script that runs every 12 hours to create and delete a ticket to simulate activity, but the instance still hibernated after some days.

Is there any 100% reliable way to prevent hibernation or automatically restart the instance when needed?
Any help or tips from the community would be really appreciated.

Thanks!

3 REPLIES 3

AndersBGS
Tera Patron
Tera Patron

Hi @ethantaylor555 

 

not possible.

 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

GlideFather
Tera Patron

Hi @ethantaylor555,

 

hibernating is basically an essence of PDIs :)) but if you want to never get hibernated, then at least one user must be logged in and active in the instance at all times... after some undefined time of inactivity it goes hibernating.

 

Is there any reason why do you need to have it up permanently? I usually get it awaken within 5-10 minutes.. and if I know I'm going to need it on Monday morning, I log in on Sunday afternoon and then in the next day morning it's usually ready...

_____
This reply is 100 % GlideFather and 0 % AI

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @ethantaylor555 

No, there’s no way to keep the PDI active without a heartbeat. When a PDI is not in use, it goes into hibernation to save or share resources with other PDIs. So, the simple answer is no.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************