Is it really necessary a https endpoint for Azure Event Grid even if my endpoint is a VM inside Azure?

Roberto Araujo Filho 115 Reputation points
2024-06-07T19:49:36.8966667+00:00

Hi there,

I have an API (uvicorn) running as a 'webhook' in an Azure VM. I am trying to use 'Azure Event Grid' to route Blob storage events to this API. Do I really need to obtain a SSL certificate and cofigure uvicorn to use the certificate in order to make it work? Does Event Grid really need a https endpoint even if this endpoint is a VM inside Azure?

Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
382 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sander van de Velde | MVP 32,726 Reputation points MVP
    2024-06-10T06:52:32.4366667+00:00

    Hello @Roberto Araujo Filho,

    welcome to this moderated Azure community forum.

    The EventGrid consumes a API server as client so your API is in control of the TLS security.

    Technically, this means your API should secure the endpoint so the data communicates is not readable for others (mostly public cloud).

    Because this is cloud-to-cloud (in Azure) communicate, perhaps you can use VNETs to prevent access from the public internet or other Azure services?


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.