ohadschn / letsencrypt-webapp-renewer

[PLEASE USE FREE MS MANAGED CERTS INSTEAD] Simple WebJob-ready console application for renewing Azure Web App SSL certificates
https://www.ohadsoft.com/
Apache License 2.0
282 stars 51 forks source link

Implement renewer as Azure Function to save money #49

Closed Ciantic closed 6 years ago

Ciantic commented 6 years ago

If this only needs to be called e.g. once in 90 days it's wasteful to do this as an app service.

Instead figuring out how to do this same thing as a Azure Function would be beneficial.

ohadschn commented 6 years ago

I don't think it's that wasteful seeing as you already have a web app running, so you could just use the same web app for the renewal site:. I suppose you do have to use "always on" which may take up some memory but I don't think it's significant.

At any rate, for an equivalent Azure Function look here: http://wp.sjkp.dk/lets-encrypt-on-azure-web-apps-using-a-function-app-for-automated-renewal/.