Skip to content
  • Monday, June 16, 2025
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions

  • Home
  • Artificial Intelligence
  • AI in Healthcare
  • Ai in Robotics
  • ChatGPT
  • Computer Vision
  • More
    • Machine Learning
    • Natural Language Processing
  • Home
  • Machine Learning
  • Demystifying Azure Storage Account Community Entry | by René Bremer | Oct, 2024
Machine Learning

Demystifying Azure Storage Account Community Entry | by René Bremer | Oct, 2024

October 30, 2024
roosho

Service endpoints and personal endpoints hands-on: together with Azure Spine, storage account firewall, DNS, VNET and NSGs

René Bremer

Towards Data Science

Linked Community — picture by Nastya Dulhiier on Unsplash

Storage accounts play a significant position in a medallion structure for establishing an enterprise information lake. They act as a centralized repository, enabling seamless information alternate between producers and customers. This setup empowers customers to carry out information science duties and construct machine studying (ML) fashions. Moreover, customers can use the info for Retrieval Augmented Technology (RAG), facilitating interplay with firm information via Massive Language Fashions (LLMs) like ChatGPT.

Extremely delicate information is often saved within the storage account. Protection in depth measures have to be in place earlier than information scientists and ML pipelines can entry the info. To do protection in depth, a number of measurement shall be in place comparable to 1) superior menace safety to detect malware, 2) authentication utilizing Microsoft Entra, 3) authorization to do high quality grained entry management, 4) audit path to observe entry, 5) information exfiltration prevention, 6) encryption, and final however not least 7) community entry management utilizing service endpoint or personal endpoints.

This text focuses on community entry management of the storage account. Within the subsequent chapter, the totally different ideas are defined (demystified) on storage account community entry. Following that, a hands-on comparability is finished between service endpoint and personal endpoints. Lastly, a conclusion is drawn.

A typical situation is {that a} digital machine must have community entry to a storage account. This digital machine typically acts as a Spark cluster to research information from the storage account. The picture beneath supplies an summary of the obtainable community entry controls.

2.1 Overview of networking between digital machine and storage account — picture by writer

The elements within the picture could be described as follows:

Azure world community — spine: Visitors all the time goes over Azure spine between two areas (except buyer forces to not do it), see additionally Microsoft world community — Azure | Microsoft Be taught. That is no matter what firewall rule is used within the storage account and regardless whether or not service endpoints or personal endpoints are used.

Azure storage firewalls: Firewall guidelines can limit or disable public entry. Frequent guidelines embody whitelisting VNET/subnet, public IP addresses, system-assigned managed identities as useful resource cases, or permitting trusted providers. When a VNET/subnet is whitelisted, the Azure Storage account identifies the site visitors’s origin and its personal IP handle. Nevertheless, the storage account itself shouldn’t be built-in into the VNET/subnet — personal endpoints are wanted for that objective.

Public DNS storage account: Storage accounts will all the time have a public DNS that may be entry by way of community tooling, see additionally Azure Storage Account — Public Entry Disabled — however nonetheless some degree of connectivity — Microsoft Q&A. That’s, even when public entry is disabled within the storage account firewall, the general public DNS will stay.

Digital Community (VNET): Community wherein digital machines are deployed. Whereas a storage account is rarely deployed inside a VNET, the VNET could be whitelisted within the Azure storage firewall. Alternatively, the VNET can create a personal endpoint for safe, personal connectivity.

Service endpoints: When whitelisting a VNET/subnet within the Storage account firewall, the service endpoint have to be turned on for the VNET/subnet. The service endpoint needs to be Microsoft.Storage when the VNET and storage account are in the identical area or Microsoft.Storage.World when the VNET and storage are in several areas. Notice that service endpoints can also be used as an overarching time period, encompassing each the whitelisting of a VNET/subnet on the Azure Storage Firewall and the enabling of the service endpoint on the VNET/subnet.

Personal endpoints: Integrating a Community Interface Card (NIC) of a Storage Account throughout the VNET the place the digital machine operates. This integration assigns the storage account a personal IP handle, making it a part of the VNET.

Personal DNS storage account: Inside a VNET, a personal DNS zone could be created wherein the storage account DNS resolves to the personal endpoint. That is to ensure that digital machine can nonetheless connect with the URL of the storage account and the URL of the storage account resolves to a personal IP handle somewhat than a public handle.

Community Safety Group (NSG): Deploy an NSG to restrict inbound and outbound entry of the VNET the place the digital machine runs. This will forestall information exfiltration. Nevertheless, an NSG works solely with IP addresses or tags, not with URLs. For extra superior information exfiltration safety, use an Azure Firewall. For simplicity, the article omits this and makes use of NSG to dam outbound site visitors.

Within the subsequent chapter, service endpoints and personal endpoints are mentioned.

The chapter begins by exploring the situation of unrestricted community entry. Then the small print of service endpoints and personal endpoints are mentioned with sensible examples.

3.1 Not limiting community entry — public entry enabled

Suppose the next situation wherein a digital machine and a storage account is created. The firewall of the storage account has public entry enabled, see picture beneath.

3.1.1 digital machine and storage account with public entry created

Utilizing this configuration, a the digital machine can entry the storage account over the community. Because the digital machine can also be deployed in Azure, site visitors will go over Azure Spine and might be accepted, see picture beneath.

3.1.2 Visitors not blocked — public community entry enabled

Enterprises sometimes set up firewall guidelines to restrict community entry. This entails disabling public entry or permitting solely chosen networks and whitelisting particular ones. The picture beneath illustrates public entry being disabled and site visitors being blocked by the firewall.

3.1.3 Visitors blocked — blocking site visitors in storage account firewall

Within the subsequent paragraph, service endpoints and chosen community firewall guidelines are used to grant community entry to storage account once more.

3.2 Limiting community entry by way of Service endpoints

To allow digital machine VNET entry to the storage account, activate the service endpoint on the VNET. Use Microsoft.Storage for throughout the areas or Microsoft.Storage.World for cross area. Subsequent, whitelist the VNET/subnet within the storage account firewall. Visitors is then blocked once more, see additionally picture beneath.

3.2.1 Visitors not blocked — service endpoint enabled and added to in storage account firewall

Visitors is now accepted. When VNET/subnet is faraway from Azure storage account firewall or public entry is disabled, then site visitors is blocked once more.

In case an NSG is used to dam public outbound IPs within the VNET of the digital machine, then site visitors can also be blocked once more. It’s because the general public DNS of the storage account is used, see additionally picture beneath.

3.2.2 Visitors blocked — NSG of digital machine blocking public outbound site visitors

In that case, personal endpoints shall be used to ensure that site visitors doesn’t go away VNET. That is mentioned within the subsequent chapter.

3.3 Limiting entry by way of Personal endpoints

To reestablish community entry for the digital machine to the storage account, use a personal endpoint. This motion creates a community interface card (NIC) for the storage account throughout the VNET of the digital machine, guaranteeing that site visitors stays throughout the VNET. The picture beneath supplies additional illustration.

3.3.1 Visitors not blocked — Personal endpoint created to Storage account, public entry disabled

Once more, an NSG can be utilized once more to dam all site visitors, see picture beneath.

3.3.2 Visitors blocked — NSG of digital machine blocking all outbound site visitors

That is nevertheless counterintuitive, since first a personal endpoint is created within the VNET after which site visitors is blocked by NSG in the identical VNET.

Enterprise all the time requires community guidelines in place to restrict community entry to their storage account. On this weblog submit, each service endpoints and personal endpoint are thought of to restrict entry.

Each is true for service endpoints and personal endpoints:

For service endpoints, the next maintain:

  • Requires to allow service endpoints on VNET/subnet and whitelisting of VNET/subnet in Azure storage account firewall.
  • Requires that site visitors leaves the VNET of the digital machine that’s connecting to the storage account. See above, the site visitors stays on the Azure spine.

For personal endpoints, the next maintain:

  • Public entry could be disabled within the Azure Storage firewall. See above, public DNS entry of storage account will stay.
  • Visitors doesn’t go away the VNET wherein the digital machine additionally runs.

There are loads of different issues to contemplate whether or not to make use of service endpoints or personal endpoints (prices, migration effort since service endpoints have been on the market longer than personal endpoints, networking complexity when utilizing personal endpoints, restricted service endpoint assist of newer Azure providers, exhausting restrict of quantity personal endpoints in storage account of 200).

Nevertheless, in case it’s required (“will need to have”) that 1) site visitors shall by no means go away VNET/subnet of digital machine or 2) it isn’t allowed to create firewall guidelines in Azure storage firewall and have to be locked down, then service endpoint shouldn’t be possible.

In different eventualities, it’s doable to contemplate each options, and one of the best match needs to be decided based mostly on the particular necessities of every situation.

Tags: access, account, Azure, Bremer, Demystifying, Network, Oct, René, storage

Post navigation

Upmetrics Assessment: Producing an AI Enterprise Plan in Seconds
Right here's the place you’ll be able to preorder Apple's new MacBook Professionals with M4 chips

Recent Posts

  • DeepCoder-14B: The Open-Supply AI Mannequin Enhancing Developer Productiveness and Innovation
  • LLM Analysis Papers from 2025 You Ought to Learn
  • Python Coding for Inexperienced persons
  • Breaking the Gross sales Plateau with Agentic AI
  • The Influencer AI Evaluate: This AI Replaces Influencers

Recent Comments

No comments to show.

Archives

  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024

Categories

  • AI in Healthcare
  • Ai in Robotics
  • Artificial Intelligence
  • ChatGPT
  • Computer Vision
  • Machine Learning
  • Natural Language Processing

Recent Posts

Ai in Robotics

DeepCoder-14B: The Open-Supply AI Mannequin Enhancing Developer Productiveness and Innovation

June 15, 2025
roosho
Natural Language Processing

LLM Analysis Papers from 2025 You Ought to Learn

June 15, 2025
roosho
Natural Language Processing

Python Coding for Inexperienced persons

June 14, 2025
roosho
Ai in Robotics

Breaking the Gross sales Plateau with Agentic AI

June 14, 2025
roosho
Ai in Robotics

The Influencer AI Evaluate: This AI Replaces Influencers

June 14, 2025
roosho

Categories

  • AI in Healthcare (167)
  • Ai in Robotics (1,396)
  • Artificial Intelligence (2,000)
  • ChatGPT (2,000)
  • Computer Vision (528)
  • Machine Learning (2,000)
  • Natural Language Processing (1,529)

You may Missed

Ai in Robotics

DeepCoder-14B: The Open-Supply AI Mannequin Enhancing Developer Productiveness and Innovation

June 15, 2025
roosho
Natural Language Processing

LLM Analysis Papers from 2025 You Ought to Learn

June 15, 2025
roosho
Natural Language Processing

Python Coding for Inexperienced persons

June 14, 2025
roosho
Ai in Robotics

Breaking the Gross sales Plateau with Agentic AI

June 14, 2025
roosho

About Us

Bibleofai is your ultimate Ai related blog and news site. We provide info about what happening in Ai world and advancements of Ai. Ai is taking over the world and we are here to give you as many updates we can. So do visit us daily to keep yourself updated with the Ai world.

Categories

  • AI in Healthcare (167)
  • Ai in Robotics (1,396)
  • Artificial Intelligence (2,000)
  • ChatGPT (2,000)
  • Computer Vision (528)
  • Machine Learning (2,000)
  • Natural Language Processing (1,529)

PAGES

  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
Copyright © 2025
Theme by: Theme Horse
Proudly Powered by: WordPress