RStudio VM is running up the bill due to idle time, since Azure charges by the hour.
Looking into ways to automate shutdown and bootup based on CPU usage or idle time.
Using Webbooks:
AUTO-STOP: Enabled based on VM usage gets using the instructions linked above.
AUTO-START: Still seeking a way to trigger the startup process as soon as a user visits the RStudio website (i.e., makes an HTTP[S] request).
From Microsoft Azure Hour Teams - Step 1 Create Action Group
Microsoft Azure Hour Teams - Step 2 - Create A Rule to go with the Action Group
Heroku is example of an app hosting service that can stop a web app (called "Dyno"s) due to idle time and boot up the stopped web app when someone visits the app's homepage (HTTP request). — Joe demo'ed the auto-start process in his Apollo Server app.
Can start up using Docker — whether via docker compose or a pre-built container — or begin in a preset development stack (Node, PHP, ruby, etc.).