microsoft / AzureTRE

An accelerator to help organizations build Trusted Research Environments on Azure.
https://microsoft.github.io/AzureTRE
MIT License
169 stars 133 forks source link

'App Service' Azure Resources Remains Active After `$ make tre-stop` Command #3962

Open BiologyGeek opened 3 weeks ago

BiologyGeek commented 3 weeks ago

Is there any specific reason that 'App Service' Azure resources remain active and consume resources even after running the '$ make tre-stop' command? Will disabling them manually cause an issue?

marrobi commented 3 weeks ago

It's the app service plan that costs, rather than the app service, they can't be stopped AFAIK.

jonnyry commented 3 weeks ago

I did investigate whether it would be possible to reduce the SKU on the App Service Plan on stop and increase it on start... it is possible, though was starting to get a bit messy:

https://github.com/nwsde/nwsde-azuretre/commit/29ba6262f71646985122dae23f4d916029f2158a