Skip to content

Commit ea5e8af

Browse files
committed
Add security warning and move article to security folder and TOC
1 parent a1df4c5 commit ea5e8af

File tree

3 files changed

+65
-52
lines changed

3 files changed

+65
-52
lines changed

articles/cloud-shell/TOC.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ items:
77
href: features.md
88
- name: Release notes
99
href: release-notes.md
10-
- name: Get started with Cloud Shell
10+
- name: Get started with Azure Cloud Shell
1111
items:
1212
- name: Get started (Classic)
1313
href: get-started/classic.md
@@ -17,7 +17,7 @@ items:
1717
href: get-started/new-storage.md
1818
- name: Get started with existing storage account (New UI)
1919
href: get-started/existing-storage.md
20-
- name: How to use Cloud Shell
20+
- name: How to use Azure Cloud Shell
2121
items:
2222
- name: Use the window (Classic UI)
2323
href: using-the-shell-window.md
@@ -31,28 +31,28 @@ items:
3131
href: cloud-shell-predictive-intellisense.md
3232
- name: FAQ & Troubleshooting
3333
href: faq-troubleshooting.md
34-
- name: Deploy Cloud Shell in a virtual network
34+
- name: Deploy Azure Cloud Shell in a virtual network
3535
items:
3636
- name: Overview
3737
href: vnet/overview.md
3838
- name: Deploy using quickstart templates
3939
href: vnet/deployment.md
4040
- name: Connect to storage using a private endpoint
4141
href: vnet/how-to-use-private-endpoint-storage.md
42-
- name: Support multiple users of Cloud Shell in a private virtual network
43-
href: vnet/how-to-support-multiple-users.md
4442
- name: Troubleshoot Azure Cloud Shell in a virtual network
4543
href: vnet/troubleshooting.md
44+
- name: Security
45+
items:
46+
- name: Allow multiple users to use a single storage account and file share
47+
href: security/how-to-support-multiple-users.md
48+
- name: Security baseline
49+
href: /security/benchmark/azure/baselines/cloud-shell-security-baseline?bc=%2fazure%2fbread%2ftoc.json&toc=%2fazure%2fcloud-shell%2ftoc.json
4650
- name: Pricing
4751
items:
48-
- name: Cloud Shell pricing
52+
- name: Azure Cloud Shell pricing
4953
href: pricing.md
5054
- name: Pricing calculator
5155
href: https://azure.microsoft.com/pricing/calculator/
52-
- name: Security
53-
items:
54-
- name: Security baseline
55-
href: /security/benchmark/azure/baselines/cloud-shell-security-baseline?bc=%2fazure%2fbread%2ftoc.json&toc=%2fazure%2fcloud-shell%2ftoc.json
5656
- name: Reference
5757
items:
5858
- name: Azure CLI

articles/cloud-shell/vnet/how-to-support-multiple-users.md renamed to articles/cloud-shell/security/how-to-support-multiple-users.md

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,32 @@
11
---
2-
title: Support multiple users of Cloud Shell in a private virtual network
3-
description: This article explains changes required to support multiple users for a Cloud Shell instance deployed in a private virtual network.
2+
title: Allow multiple users to use a single storage account and file share
3+
description: This article explains changes required to allow multiple Azure Cloud Shell users to use a single storage account and file share.
44
ms.topic: how-to
55
ms.date: 02/04/2025
66
---
7-
# Support multiple users of Cloud Shell in a private virtual network
7+
# Allow multiple users to use a single storage account and file share
88

9-
The instructions and ARM templates used to deploy Cloud Shell in a private virtual network create an
10-
environment designed to be used by a single user. A single-user deployment is the most secure
11-
configuration because each user can only access their own file share. However, you might have a need
12-
to allow multiple users access to a single deployment. To support access for multiple users, you
13-
need to make the following changes:
9+
By default, the storage resources created by Azure Cloud Shell are designed to be used by a single
10+
user. A single-user deployment is the most secure configuration because each user can only access
11+
their own file share. However, you might have a need to allow multiple users access to a single
12+
deployment. To support access for multiple users, you need to make the following changes:
1413

1514
- Increase File Share quota
1615
- Assign roles to the users that allow access to the storage resources
1716

17+
> [!WARNING]
18+
> While it's possible to allow multiple users to share a single storage account and file share, it's
19+
> not recommended. Using the configuration steps in this article grants each of the configured users
20+
> access to the all the files in the file share. If you need to support multiple users, consider
21+
> creating a separate storage account and file share for each user.
22+
1823
## Increase File Share quota
1924

20-
The initial deployment of Cloud Shell in a private virtual network creates a file share with a 6-GiB
21-
quota limit. When a new user starts their first session, Cloud Shell creates a 5-GiB image file in
22-
the file share. The first user uses up the quota limit. When a second user starts their session,
23-
they receive the 'ephemeral storage' error message because Cloud Shell is unable to create another
24-
5-GiB image file. Also, notice that Cloud Shell created a 0-byte image file for the failed attempt.
25+
The file share created by Cloud Shell has a 6-GiB quota limit. When a new user starts their first
26+
session, Cloud Shell creates a 5-GiB image (`*.img`) file in the file share. The first user uses up
27+
the quota limit. When a second user starts their session, they receive the 'ephemeral storage' error
28+
message because Cloud Shell is unable to create another 5-GiB image (`*.img`) file. Also, notice
29+
that Cloud Shell created a 0-byte image (`*.img`) file for the failed attempt.
2530

2631
To support multiple users, you need to increase the file share quota to accommodate the number of
2732
users that share the same storage account. Increase the quota by 5-GiB per user.

articles/cloud-shell/vnet/deployment.md

Lines changed: 37 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
description: This article provides step-by-step instructions to deploy Azure Cloud Shell in a private virtual network.
33
ms.contributor: jahelmic
4-
ms.date: 01/28/2025
4+
ms.date: 02/05/2025
55
ms.topic: how-to
66
ms.custom: devx-track-arm-template
77
title: Deploy Azure Cloud Shell in a virtual network with quickstart templates
88
---
99

10-
# Deploy Cloud Shell in a virtual network by using quickstart templates
10+
# Deploy Azure Cloud Shell in a virtual network by using quickstart templates
1111

1212
Before you run quickstart templates to deploy Azure Cloud Shell in a virtual network (VNet), there
1313
are several prerequisites to complete. You must have the **Owner** role assignment on the
14-
subscription. To view and assign roles, see [List Owners of a Subscription][10].
14+
subscription. To view and assign roles, see [List Owners of a Subscription][05].
1515

1616
This article walks you through the following steps to configure and deploy Cloud Shell in a virtual
1717
network:
@@ -37,7 +37,7 @@ Depending on when your tenant was created, some of these providers might already
3737

3838
To see all resource providers and the registration status for your subscription:
3939

40-
1. Sign in to the [Azure portal][11].
40+
1. Sign in to the [Azure portal][14].
4141
1. On the Azure portal menu, search for **Subscriptions**. Select it from the available options.
4242
1. Select the subscription that you want to view.
4343
1. On the left menu, under **Settings**, select **Resource providers**.
@@ -80,34 +80,34 @@ Fill in the following values:
8080
You can create the resource group by using the Azure portal, the Azure CLI, or Azure PowerShell. For
8181
more information, see the following articles:
8282

83-
- [Manage Azure resource groups by using the Azure portal][02]
84-
- [Manage Azure resource groups by using Azure CLI][01]
85-
- [Manage Azure resource groups by using Azure PowerShell][03]
83+
- [Manage Azure resource groups by using the Azure portal][03]
84+
- [Manage Azure resource groups by using Azure CLI][02]
85+
- [Manage Azure resource groups by using Azure PowerShell][04]
8686

8787
### Create a virtual network
8888

8989
You can create the virtual network by using the Azure portal, the Azure CLI, or Azure PowerShell.
9090
For more information, see the following articles:
9191

92-
- [Use the Azure portal to create a virtual network][05]
93-
- [Use Azure PowerShell to create a virtual network][06]
94-
- [Use Azure CLI to create a virtual network][04]
92+
- [Use the Azure portal to create a virtual network][07]
93+
- [Use Azure PowerShell to create a virtual network][08]
94+
- [Use Azure CLI to create a virtual network][06]
9595

9696
> [!NOTE]
9797
> When you're setting the container subnet address prefix for the Cloud Shell subnet, it's important
9898
> to consider the number of Cloud Shell sessions that you need to run concurrently. If the number of
9999
> Cloud Shell sessions exceeds the available IP addresses in the container subnet, users of those
100100
> sessions can't connect to Cloud Shell. Increase the container subnet range to accommodate your
101101
> specific needs. For more information, see the "Change subnet settings" section of
102-
> [Add, change, or delete a virtual network subnet][07].
102+
> [Add, change, or delete a virtual network subnet][09].
103103
104104
### Get the Azure container instance ID
105105

106106
The Azure container instance ID is a unique value for every tenant. You use this identifier in the
107-
[quickstart templates][08] to configure a virtual network for Cloud Shell. To get the Id from the
108-
command line, see [Alternate way to get the Azure Container Instance ID][12].
107+
[quickstart templates][12] to configure a virtual network for Cloud Shell. To get the Id from the
108+
command line, see [Alternate way to get the Azure Container Instance ID][10].
109109

110-
1. Sign in to the [Azure portal][11]. From the home page, select **Microsoft Entra ID**. If the icon
110+
1. Sign in to the [Azure portal][14]. From the home page, select **Microsoft Entra ID**. If the icon
111111
isn't displayed, enter `Microsoft Entra ID` in the top search bar.
112112
1. On the left menu, select **Overview**. Then enter `azure container instance service` in the
113113
search bar.
@@ -124,7 +124,7 @@ command line, see [Alternate way to get the Azure Container Instance ID][12].
124124

125125
## 3. Create the required network resources by using the ARM template
126126

127-
Use the [Azure Cloud Shell - VNet][08] template to create Cloud Shell resources in a virtual
127+
Use the [Azure Cloud Shell - VNet][12] template to create Cloud Shell resources in a virtual
128128
network. The template creates three subnets under the virtual network that you created earlier. You
129129
might choose to change the supplied names of the subnets or use the defaults.
130130

@@ -176,7 +176,7 @@ subscription.
176176

177177
## 4. Create the virtual network storage by using the ARM template
178178

179-
Use the [Azure Cloud Shell - VNet storage][09] template to create Cloud Shell resources in a virtual
179+
Use the [Azure Cloud Shell - VNet storage][13] template to create Cloud Shell resources in a virtual
180180
network. The template creates the storage account and assigns it to the private virtual network.
181181

182182
The ARM template requires specific information about the resources that you created earlier, along
@@ -275,21 +275,29 @@ az ad sp list --display-name 'Azure Container Instance' --query "[].id"
275275
## Next steps
276276

277277
You must complete the Cloud Shell configuration steps for each user who needs to use the new private
278-
Cloud Shell instance.
278+
Cloud Shell instance. Alternatively, you can configure your Cloud Shell instance to allow multiple
279+
users to use the same storage resources. For more information, see
280+
[Allow multiple users to use a single storage account and file share][01].
281+
282+
For improved security, you can configure your storage account to use a private endpoint. For more
283+
information, see [Connect to a storage account using an Azure private endpoint][11].
279284

280285
<!-- link references -->
281-
[01]: /azure/azure-resource-manager/management/manage-resource-groups-cli
282-
[02]: /azure/azure-resource-manager/management/manage-resource-groups-portal
283-
[03]: /azure/azure-resource-manager/management/manage-resource-groups-powershell
284-
[04]: /azure/virtual-network/quick-create-cli
285-
[05]: /azure/virtual-network/quick-create-portal
286-
[06]: /azure/virtual-network/quick-create-powershell
287-
[07]: /azure/virtual-network/virtual-network-manage-subnet?tabs=azure-portal#change-subnet-settings
288-
[08]: https://aka.ms/cloudshell/docs/vnet/template
289-
[09]: https://azure.microsoft.com/resources/templates/cloud-shell-vnet-storage/
290-
[10]: /azure/role-based-access-control/role-assignments-list-portal#list-owners-of-a-subscription
291-
[11]: https://portal.azure.com
292-
[12]: #alternate-way-to-get-the-azure-container-instance-id
286+
[01]: ../security/how-to-support-multiple-users.md
287+
[02]: /azure/azure-resource-manager/management/manage-resource-groups-cli
288+
[03]: /azure/azure-resource-manager/management/manage-resource-groups-portal
289+
[04]: /azure/azure-resource-manager/management/manage-resource-groups-powershell
290+
[05]: /azure/role-based-access-control/role-assignments-list-portal#list-owners-of-a-subscription
291+
[06]: /azure/virtual-network/quick-create-cli
292+
[07]: /azure/virtual-network/quick-create-portal
293+
[08]: /azure/virtual-network/quick-create-powershell
294+
[09]: /azure/virtual-network/virtual-network-manage-subnet?tabs=azure-portal#change-subnet-settings
295+
[10]: #alternate-way-to-get-the-azure-container-instance-id
296+
[11]: how-to-use-private-endpoint-storage.md
297+
[12]: https://aka.ms/cloudshell/docs/vnet/template
298+
[13]: https://azure.microsoft.com/resources/templates/cloud-shell-vnet-storage/
299+
[14]: https://portal.azure.com
300+
293301
[95a]: media/deployment/container-service-search.png
294302
[95b]: media/deployment/container-service-search.png#lightbox
295303
[96a]: media/deployment/container-service-details.png

0 commit comments

Comments
 (0)