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

Ankit Rathod 371 Reputation points
2021-03-29T10:44:08.117+00:00

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
0 comments No comments
{count} votes

Accepted answer
  1. SaiKishor-MSFT 17,181 Reputation points
    2021-04-05T20:29:37.54+00:00

    @Ankit Rathod 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.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Ankit Rathod 371 Reputation points
    2021-04-06T07:18:19.533+00:00

    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.