Reputation: 59
I am trying to make Azure Container Apps (ACA) internal and allow them to communicate with an Azure Function App that is using Gateway-based VNET Integration.
Any guidance or insights would be greatly appreciated!
Upvotes: 0
Views: 58
Reputation: 2401
Azure Container Apps Internal communicates with Function App
Instead of communicating to the function app behind a gateway this approach you mentioned is tricky as this works only when the Function App is not using Gateway-based VNET Integration.
As Thomas mentioned there might be multiple reasons for the cause of blocking like NSG preventing the connection between the subnets.
Instead of this NatGateway approach since the communication is from the container app to the function app you can try using Private Endpoint for Function App + Private DNS.
Create both the Container apps and function apps with in same VNet but in different subnets.
Enable a Private Endpoint for the Function App using DNS zone using the same VNet and in other subnets.
Test and validate the communication from the Container App to Function App
Test HTTP Communication:
curl -v https://<your-function-app-name>.azurewebsites.net
Refer:
https://learn.microsoft.com/en-us/azure/azure-functions/functions-create-vnet
https://learn.microsoft.com/en-us/azure/container-apps/how-to-use-private-endpoint
Upvotes: 0