We are trying to set up a PoC for running Caddy to generate certs on demand with an ASK endpoint hosted on one of our other app services.
So far I’ve looked at Azure Container Instances (but no static IP), and Azure Web App Containers (seems like it only exposes port 80 - App Service on Linux FAQ - Azure App Service | Microsoft Docs)
Trying to find a reliable cloud hosting method for Caddy within a container using Azure
So far Azure Container Instances do not have static IPs for our clients custom domain A record
And Azure Web App Containers do not appear to expose port 443 and this is an overall limitation of Linux Containers here
So I’m very open to suggestions on hosting here
I’ve realised the approach detailed by MS won’t quite work, Application Gateway operates at Level 7 so no good for Caddy, Azure Load Balancer at Level 4 doesn’t support Container Instances
Looks like VMs in an availability set with a load balancer is the way to go, I haven’t been able to automate mounting the Azure File Share to bring in the Caddyfile but that’s all good
If AWS is your thing then a Fargate cluster with a Network Load Balancer should be doable if you want to go the PaaS route