Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arsenvlad/azure-privateendpoint-concurrency
Testing concurrent creation of multiple Azure Private Endpoints in the same subnet
https://github.com/arsenvlad/azure-privateendpoint-concurrency
Last synced: 3 days ago
JSON representation
Testing concurrent creation of multiple Azure Private Endpoints in the same subnet
- Host: GitHub
- URL: https://github.com/arsenvlad/azure-privateendpoint-concurrency
- Owner: arsenvlad
- License: mit
- Created: 2024-05-17T00:25:11.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-17T01:03:30.000Z (6 months ago)
- Last Synced: 2024-05-18T01:36:57.511Z (6 months ago)
- Language: Bicep
- Size: 1.01 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Testing concurrent creation of multiple Private Endpoints in the same subnet
## Create storage accounts to later use as private endpoint targets
Bicep template creates storage accounts in batches of 10 to avoid hitting concurrency limits on storage accounts being created at the same time.
```bash
az group create --name avpe-storage --location eastus2
az deployment group create --resource-group avpe-storage --template-file storage.bicep --parameters storageAccountPrefix=avtesta storageAccountCount=150
```## Create VNet
```bash
az group create --name avpe-vnet --location eastus2
az deployment group create --resource-group avpe-vnet --template-file vnet.bicep --parameters vnetName=avpe-vnet privateDnsZoneName=privatelink.blob.core.windows.net
```## Create Private Endpoints
Varying number of private endpoints being created concurrently by changing the `peCount` parameter and the start index.
```bash
az group create --name avpe-pe --location eastus2az deployment group create --resource-group avpe-pe --template-file pe.bicep --name pe150 --parameters peNamePrefix=avpe subnetId="/subscriptions/c9c8ae57-acdb-48a9-99f8-d57704f18dee/resourceGroups/avpe-vnet/providers/Microsoft.Network/virtualNetworks/avpe-vnet/subnets/subnet-pe" storageAccountResourceIdPrefix=/subscriptions/c9c8ae57-acdb-48a9-99f8-d57704f18dee/resourceGroups/avpe-storage/providers/Microsoft.Storage/storageAccounts/avtesta privateDnsZoneId=/subscriptions/c9c8ae57-acdb-48a9-99f8-d57704f18dee/resourceGroups/avpe-vnet/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net startIndex=1 peCount=150
```## Screenshots
![Private Endpoints](./images/pe-5-time.png)
![Private Endpoints](./images/pe-5.png)
![Private Endpoints](./images/pe-10-time.png)
![Private Endpoints](./images/pe-10.png)
![Private Endpoints](./images/pe-20-time.png)
![Private Endpoints](./images/pe-40-time.png)
![Private Endpoints](./images/pe-80-time.png)
![Private Endpoints](./images/pe-150-time.png)
![Private Endpoints](./images/pe-150.png)
![Private Endpoints](./images/pe-150-dns.png)