Connecting a custom container azure function to a custom container azure web app.

Michelle 0 Reputation points
2023-11-13T18:59:13.61+00:00

Screenshot 2023-10-29 at 12.46.56

I have a containerized frontend deployed as an azure web app and a containerized api deployed as an azure function. Both are R-based, hence the decision on deploying them in such way.

I want to connect my frontend to my api, meaning making requests to that api from my frontend application. For that, I created a VPN and a subnet so they can be under the same network.

However, the frontend seems not to be able to reach the api. I have no errors from neither of the logs, so I really have no clue what could be wrong.

One thing I was wondering is if they are somehow not under the same bridge network, but I would expect they are, since in theory Docker creates a bridge virtual network by default, and connects the containers to it.

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
445 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,873 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,643 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.