question

AnkitRathod-6794 avatar image
0 Votes"
AnkitRathod-6794 asked SaiKishor-MSFT commented

Route API(Hosted on a Azure VM) through App Gateway - WAF || No API Managemennt Service to use

Hi Support team.,

Use Case : I have Host couple of my API's on a Azure VM and now I want to route the inbound and outbound traffic of Accessing API via. Application Gateway WAF., question for the same are as follows.:

  1. Is it possible to achieve above scenario without using API Management Service(as premium tier is very expensive for my production workload), ? if yes please help
    me with the procedure...


  2. Is it possible to achieve above scenario using APP gateway WAF V1 ?




azure-web-application-firewall
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.

SaiKishor-MSFT avatar image
0 Votes"
SaiKishor-MSFT answered SaiKishor-MSFT edited

@AnkitRathod-6794 Thank you for reaching out to us on Q&A. We apologize for the delay in responding to your question.

I understand your concern. You do not need to use APIM if you don’t need to transform inbound/outbound requests going out to/from their APIs. If all you need is WAF, you should be fine with AppGateway => VNET => API on VM scenario.

It should be possible to achieve this using WAFv1 but we highly recommend going with WAFv2 here is a document that explains the difference and why WAFv2 is preferred.

Please let us know if you have any further questions and we will be glad to assist you further. Thank you!

Remember:

Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

Want a reminder to come back and check responses? Here is how to subscribe to a notification.



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.

AnkitRathod-6794 avatar image
0 Votes"
AnkitRathod-6794 answered SaiKishor-MSFT commented

HI @SaiKishor-MSFT,

Thanks for your response.


I have been through the document shared by you, it is very well understood, I'll be definitely be using WAF v2.

On the other hand for traffic traversing in and out Through "AppGateway => VNET => API" on VM scenario, can you help me with some reference documentation Link if possible.

· 1
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.

@AnkitRathod-6794 This document talks about How to use API Management in Virtual Network with Application Gateway. Please let me know if this is helpful or if you are looking for something more and I can assist further. Thank you!


0 Votes 0 ·