How can I solve this issue and configure the IoT Hub accordingly?
Hey guys please I’m encountering a challenge with my Azure IoT Hub configuration. I need to allow incoming traffic from IoT devices through public endpoints, but I’m struggling to restrict outbound traffic to only private networks. Basically, I want the IoT Hub to send data privately to a Stream Analytics job for processing and then to a SQL database. How can I solve this issue and configure the IoT Hub accordingly?
@IoT Cloud
4 Replies
Hey @Daniel kalu ,
I think these resources would help you configure private endpoint
Stream Analytics privates endpoint: https://learn.microsoft.com/en-us/azure/stream-analytics/
SQL Database private endpoint: https://learn.microsoft.com/en-us/azure/azure-sql/database/private-endpoint-overview?view=azuresql
I don't know if your IoT devices and Azure services (Stream Analytics, SQL database) are located in the same region for optimal performance. Ensure it is .
And again try to double-check your firewall rules on the Stream Analytics job and SQL database to ensure they allow inbound traffic from your IoT Hub's private endpoint.
Azure Stream Analytics documentation - Azure Stream Analytics
Azure Stream Analytics is a fully managed, real-time analytics service designed to help you analyze and process fast moving streams of data that can be used to get insights, build reports or trigger alerts and actions. Learn how to use Azure Stream Analytics with our quickstarts, tutorials, and samples.
Azure Private Link - Azure SQL Database & Azure Synapse Analytics
Overview of private endpoint feature.
Use Azure Firewall to control what goes out and Network Security Groups to control what comes in, keeping your resources safe and secure.
Let me check it out now thanks @Marvee Amasi
Okay 👍