question

BeTheCode-5162 avatar image
0 Votes"
BeTheCode-5162 asked MayankBargali-MSFT answered

How to test with non public endpoint using Consumption plan for Azure Functions?

We are needing to use the Consumption plan for cost reasons. There is a note in this link https://docs.microsoft.com/en-us/azure/azure-monitor/app/availability-azure-functions

indicating that Premium plan must be used for non public endpoints. This will make the solution not viable to us because of the increased cost. Is there any way around this?

azure-functions
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered

@BeTheCode-5162 As Consumption tier doesn't support VNET integration or hybrid connection so it would not be possible to call the non public endpoint from your consuption plan function. The endpoint should be publically accessible and it would not be possible to use Consumption function.

You would need a middle services that can send the status to the azure function (i.e. your custom code that is deployed on the same network where your non public endpoint exists and your custom service can send the status i.e. notification/message to eventgrid/servicebus so the function can be triggered) or deploy your own service that can directly communicate with the application insights to send the status.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.