Can the IoT Hub Service Endpoint be placed on a private virtual network with a public ingress endpoint?

mikefinch87 115 Reputation points
2024-08-02T15:17:42.28+00:00

Is it possible to put the service endpoint (Create, Disable, Send C2D messages) on a virtual net with private endpoint, and still have the ingress endpoint for D2C messages, twin updates etc exposed to the public internet.
The documentation isn't clear.
https://video2.skills-academy.com/en-us/azure/iot-hub/virtual-network-support

QA Assist Answer is wrong, provide how to secure ingress. My devices are public, but I want to keep control traffic to hub on private network.

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,176 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2024-08-02T15:17:42.3166667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    It is possible to put the IoT Hub service endpoint on a virtual network with a private endpoint while still having the ingress endpoint for D2C messages, twin updates, etc. exposed to the public internet. This can be achieved using Azure Private Link for ingress connectivity to IoT Hub and using trusted Microsoft services exception for egress connectivity from IoT Hub to other Azure resources. Private endpoints can be set up for IoT Hub to allow services inside your VNet to reach IoT Hub without requiring traffic to be sent to IoT Hub's public endpoint. Similarly, your on-premises devices can use Virtual Private Network (VPN) or ExpressRoute peering to gain connectivity to your VNet and your IoT hub (via its private endpoint). As a result, you can restrict or completely block off connectivity to your IoT hub's public endpoints by using IoT Hub IP filter or the public network access toggle. This approach keeps connectivity to your hub using the private endpoint for devices. The main focus of this setup is for devices inside an on-premises network. This setup isn't advised for devices deployed in a wide-area network.

    Answer: Yes, it is possible to put the IoT Hub service endpoint on a virtual network with a private endpoint while still having the ingress endpoint for D2C messages, twin updates, etc. exposed to the public internet using Azure Private Link for ingress connectivity to IoT Hub and using trusted Microsoft services exception for egress connectivity from IoT Hub to other Azure resources.


    References:

    0 comments No comments

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.