IDX VM within Firebase Studio keeps closing during sessions

Hello Firebase Studio / Google Cloud‘s IDX Support Team,

I’m currently working on a project that requires long-running sessions in Google Cloud’s IDX (Cloud IDE) for AI development tasks, such as training and fine-tuning models using Google’s AI services . However, I noticed that IDX sessions automatically disconnect after 4 hours of inactivity . Since some AI workflows (e.g., model training, batch processing) may take longer than 12-24 hours, I’d like to ask:

Is there a way to extend the IDX session timeout beyond 4 hours?
Are there recommended configurations or workarounds (e.g., persistent compute instances, background tasks) to avoid interruptions?
Any guidance on this would be greatly appreciated. Thank you for your support! @kirupa @kirupac

Hey @vimky, welcome to the forums.

I suggest using Firebase Studio as your dev environment and shell server for managing Cloud Run rather than relying on the small VMs Firebase uses.