question

ShivayogiHiremath-0324 avatar image
0 Votes"
ShivayogiHiremath-0324 asked ·

azure web app app ip adress

I have a azure storage account with firewall setting enabled to allow only specific ip adress.
now i have azure web app and web job and from these i am connecting to the storage account to create delete blobs using connection string.but since storage account needs IP adress of the web app to access it am not able to do so .
i have tried using inbound and outbound ip adress from web app properties those are not working.

azure-webappsazure-webapps-webjobs
10 |1000 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

Sam-Cogan avatar image
1 Vote"
Sam-Cogan answered ·

Unfortunately using the storage account firewall to allow access from a web does not work when they are both in the same region. Traffic from the web app goes to the storage account over the internal Azure network using IP's that you are not provided with (and that will change).

If you want to secure a storage account for access from a web app you have a few options:



  1. Join your Web App to a virtual network, then create a service endpoint or private link connection to the storage account attached to that virtual network. your web app traffic will be routed via the virtual network.

  2. Use an App Service Environment instead of the PaaS Web App. This will be joined to a vNet and again route traffic that way, but is expensive




· 2 ·
10 |1000 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.

i can try with 2nd option -Use an App Service Environment instead of the PaaS Web App. This will be joined to a vNet and again route traffic that way, but is expensive.
Can you provide me any suggestive links for the same on how to do that.it will be helpful.

0 Votes 0 ·