I would like to IP restrict access to the Azure AI Hub with a public IP address.

清水 英虎 45 Reputation points
2024-12-13T05:26:15.2333333+00:00

I am currently using Azure AI Hub.

So I would like to be able to access this Azure AI Hub from home only.

Can I restrict this using a public IP address?

If you know of a way to do this, please let me know.

If you have any other good ideas, please let me know.

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,572 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,993 questions
0 comments No comments
{count} votes

Accepted answer
  1. Shikha Ghildiyal 1,170 Reputation points Microsoft Employee
    2024-12-13T06:21:10.7366667+00:00

    Hi,

    Thanks for reaching out to Microsoft Q&A.

    There are two mechanisms for restricting access to the public endpoint:

    • Inbound rules listing the IP addresses, ranges, or subnets from which requests are admitted
    • Exceptions to network rules, where requests are admitted with no checks, as long as the request originates from a trusted service

    Network rules aren't required, but it's a security best practice to add them if you use Azure AI Search for surfacing private or internal corporate content.

    Network rules are scoped to data plane operations against the search service's public endpoint. Data plane operations include creating or querying indexes, and all other actions described by the Search REST APIs. Control plane operations target service administration. Those operations specify resource provider endpoints, which are subject to the network protections supported by Azure Resource Manager.

    Limitations

    There are a few drawbacks to locking down the public endpoint.

    • It takes time to fully identify IP ranges and set up firewalls, and if you're in early stages of proof-of-concept testing and investigation and using sample data, you might want to defer network access controls until you actually need them.
    • Some workflows require access to a public endpoint. Specifically, the import wizards in the Azure portal connect to built-in (hosted) sample data and embedding models over the public endpoint. You can switch to code or script to complete the same tasks when firewall rules in place, but if you want to run the wizards, the public endpoint must be available. For more information, see Secure connections in the import wizards.There are two mechanisms for restricting access to the public endpoint:
      • Inbound rules listing the IP addresses, ranges, or subnets from which requests are admitted
      • Exceptions to network rules, where requests are admitted with no checks, as long as the request originates from a trusted service
      Network rules aren't required, but it's a security best practice to add them if you use Azure AI Search for surfacing private or internal corporate content. Network rules are scoped to data plane operations against the search service's public endpoint. Data plane operations include creating or querying indexes, and all other actions described by the Search REST APIs. Control plane operations target service administration. Those operations specify resource provider endpoints, which are subject to the network protections supported by Azure Resource Manager. Limitations There are a few drawbacks to locking down the public endpoint.
      • It takes time to fully identify IP ranges and set up firewalls, and if you're in early stages of proof-of-concept testing and investigation and using sample data, you might want to defer network access controls until you actually need them.
      • Some workflows require access to a public endpoint. Specifically, the import wizards in the Azure portal connect to built-in (hosted) sample data and embedding models over the public endpoint. You can switch to code or script to complete the same tasks when firewall rules in place, but if you want to run the wizards, the public endpoint must be available. For more information, see Secure connections in the import wizards.

    Please follow this document for step by step guidance: https://learn.microsoft.com/en-us/azure/search/service-configure-firewall

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.

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.