I've a private Azure Container instance running that is part of a Virtual network. I need to connect to that ACI from a public Azure App Service app, which I also added to the same Virtual network.
I am indeed able to connect from the App Service to the ACI via the private ip address, but this ip address changes every time the ACI is redeployed. I've searched and tried stuff like Private DNS but I still need to change the ip manually in that DNS after every redeploy of the ACI. I've searched and tried stuff like Private DNS but I still need to change the ip manually in that DNS after every redeploy of the ACI.
I just need an IP or URL to connect to the private ACI that always works without me manually editing the private ip address when it's changed because of a redeploy. I can't seem to find a solution.