Skip to content

erikgraa/azure-local-endpoints

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Local Endpoints Codified as JSON

This PowerShell script enumerates the list of required firewall endpoints/URLs for Azure Local and codifies it as JSON. Everything is retrieved from Microsoft documentation.

🚀 Features

  • List of Azure Local endpoints as JSON for supported regions.
  • The URL of the json\azure-local-endpoints.json file can be used as an evergreen link to the various Azure Local regions'required firewall endpoints/URLs.

🗺️ Regions and endpoints

The current regions supporting Azure Local are documented in the table below, along with the number of required endpoints to open.

Region Updated by Microsoft Endpoint count Azure Arc gateway support
eastus 2025-01-23 98 66
westeurope 2025-01-23 103 70
australiaeast 2025-01-23 103 70
canadacentral 2025-01-23 103 70
indiacentral 2025-01-23 102 68
southeastasia 2025-01-23 102 69
japaneast 2025-01-23 103 68
southcentralus 2025-01-23 103 68

📄 Howto

1️⃣ Run as workflow GitHub

Fork the https://github.com/erikgraa/azure-local-endpoints repository in GitHub and allow the scheduled workflow to run. Updates (if any) are retrieved every morning at 6am - or at your preferred cadence.

2️⃣ Run PowerShell cmdlet locally

Clone the repository and run the script. Updated lists of endpoints codified as JSON will be available in the json folder.

git clone https://github.com/erikgraa/azure-local-endpoints.git
cd azure-local-endpoints
. .\scripts\Export-AzureLocalEndpoints.ps1
Export-AzureLocalEndpoints

⚡ Use cases and making sense of the output

The JSON-formatted lists of endpoints can be used for automation, documentation or compliance purposes. See the related blog post at https://blog.graa.dev/AzureLocal-Endpoints for use cases. Example

🌳 Repository

The repository structure is as follows. Each region gets its own folder.

│   LICENSE
│   README.md
│
├───.github
│   └───workflows
│           update.yml
│
├───assets
│       json.png
│
├───json
│   │   azure-local-endpoints.json 🍏
│   │
│   │
│   └───region
│           azure-local-endpoints-region-compressed.json
│           azure-local-endpoints-region.json
│
└───scripts
        Export-AzureLocalEndpoints.ps1

👏 Contributions

Any contributions are welcome and appreciated!