azure-docs
azure-docs copied to clipboard
Cloud Shell Integration - why 3 subnet we can merge it into 2 is this supported and what's min addr sizes for each subnet
CloudShell VNET Integration is a little puzzling:
a) Why do we need 3 subnets (the diagram only shows 1 subnet) it doesn't state that both storage and relay need its own subnet.
b) If I amended the sample JSON template we can merge this to use 2 subnets e.g. (merge Relay and Storage Subnet) in one, just have to enable the Service Endpoint for MS.Storage to allow this to work, is there any reason why we cant use this set up, is it supported ?
c) Also as we have 3 subnets what is the minimum addr space size of each of these subnet, for example when we launch multiple cloud shell instances we only ever see 1 IP being used from the Relay Subnet, so why do we need and waste IPs from the other subnets, e.g. what's the smallest size subnet we can use on each of the 3 default subnets.
Thanks
Eilz
Document details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 4be300e5-3323-269f-bb5a-f75fc68576b2
- Version Independent ID: 64685f46-c1f7-f195-4bb3-be96ec621193
- Content: Cloud Shell in an Azure Virtual Network
- Content Source: articles/cloud-shell/private-vnet.md
- Service: azure-resource-manager
- GitHub Login: @maertendMSFT
- Microsoft Alias: damaerte
@eilz Thanks for your feedback! We will investigate and update as appropriate.
@theJasonHelmick Please review. This issue was routed to Azure Resource Manager.
#label:"cloud-shell/svc"
@SwathiDhanwada-MSFT please remove the label azure-resource-manager/svc
because this issue is for a Cloud Shell article. Thanks!
cc: @theJasonHelmick @maertendMSFT
#reassign:theJasonHelmick
Hi @eilz - Thank you for the question and reporting this. You are correct that you may be able to use fewer subnets, however this is not recommended and not supported. We support three subnets. You need at least 1 IP address for the Relay subnet and enough IP address in the container subnet to support the number of concurrent sessions you expect to use for Cloud Shell.
We will update the docs with this information - thank you for your help and questions