Connect to upload files to blob container in storage account using private IP

아롬 황 236 Reputation points
2022-04-10T12:46:06.807+00:00

hello.

I created a private IP by connecting a private endpoint to the storage account for private connection.
Users who want to connect via this private IP are on-premises connected by VPN.

That user has a hard time connecting through the domain.
So I'm using private IP and I was wondering if there is any way to connect.
It is also difficult to provide connections by modifying the user's Hosts file.
And you can't even configure a domain connection using a DNS forwarder.
Only IP addresses must be used for file upload and download.
(ex. https://test.blob.core.windows.net/testcontainer) -> (ex. https://10.0.0.10/testcontainer)

Is there a possible way in Java, Python or C#?

thank you.

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,721 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SaiKishor-MSFT 17,201 Reputation points
    2022-04-12T18:59:45.867+00:00

    @아롬 황 Thank you for reaching out to Microsoft Q&A. I understand that you are having issues with accessing your storage account using their domain name via the Private endpoint. Please correct me otherwise.

    The FQDN of the services resolves automatically to a public IP address. To resolve to the private IP address of the private endpoint, change your DNS configuration. You can use the following options to configure your DNS settings for private endpoints:

    • Use the host file (only recommended for testing). You can use the host file on a virtual machine to override the DNS.
    • Use a private DNS zone. You can use private DNS zones to override the DNS resolution for a private endpoint. A private DNS zone can be linked to your virtual network to resolve specific domains.
    • Use your DNS forwarder (optional). You can use your DNS forwarder to override the DNS resolution for a private link resource. Create a DNS forwarding rule to use a private DNS zone on your DNS server hosted in a virtual network.

    Regarding your question i.e., Is there a possible way in Java, Python or C#?

    Are you looking for ways to connect to the storage account using the private IP in Java, Python or C#? Please let us know. Thank you!