You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/files/storage-files-how-to-create-large-file-share.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ When you enable large file shares on your storage account, your file shares can
19
19
20
20
- If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/) before you begin.
21
21
- If you intend to use the Azure CLI, [install the latest version](https://docs.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest).
22
-
- If you intend to use Azure PowerShell, [install the latest version](https://docs.microsoft.com/powershell/azure/install-az-ps?view=azps-3.0.0).
22
+
- If you intend to use the Azure PowerShell module, [install the latest version](https://docs.microsoft.com/powershell/azure/install-az-ps?view=azps-4.6.0).
Copy file name to clipboardExpand all lines: articles/storage/files/storage-how-to-create-premium-fileshare.md
+70-73Lines changed: 70 additions & 73 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,37 +1,39 @@
1
1
---
2
2
title: Create a premium Azure file share
3
-
description: In this article, learn how to create a premium Azure file share using the Azure portal, PowerShell, or the Azure CLI.
3
+
description: Learn how to create an Azure premium file share using the Azure portal, Azure PowerShell module, or the Azure CLI.
4
4
author: roygara
5
5
ms.service: storage
6
6
ms.topic: how-to
7
-
ms.date: 05/05/2019
7
+
ms.date: 08/26/2020
8
8
ms.author: rogarana
9
9
ms.subservice: files
10
10
ms.custom: devx-track-azurecli
11
-
#Customer intent: As a < type of user >, I want < what? > so that < why? >.
12
11
---
13
12
14
-
# How to create an premium Azure file share
13
+
# How to create an Azure premium file share
14
+
15
15
Premium file shares are offered on solid-state disk (SSD) storage media and are useful for IO-intensive workloads, including hosting databases and high-performance computing (HPC). Premium file shares are hosted in a special purpose storage account kind, called a FileStorage account. Premium file shares are designed for high performance and enterprise scale applications, providing consistent low latency, high IOPS, and high throughput shares.
16
16
17
-
This article shows you how to create this new account type using [Azure portal](https://portal.azure.com/), Azure PowerShell, and Azure CLI.
17
+
This article shows you how to create this new account type using the [Azure portal](https://portal.azure.com/), Azure PowerShell module, and the Azure CLI.
18
18
19
19
## Prerequisites
20
20
21
-
To access Azure resources including premium Azure file shares, you'll need an Azure subscription. If you don't already have a subscription, then create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
21
+
- If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/) before you begin.
22
+
- If you intend to use the Azure CLI, [install the latest version](https://docs.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest).
23
+
- If you intend to use the Azure PowerShell module, [install the latest version](https://docs.microsoft.com/powershell/azure/install-az-ps?view=azps-4.6.0).
24
+
25
+
## Create a FileStorage storage account
26
+
27
+
Every storage account must belong to an Azure resource group. A resource group is a logical container for grouping your Azure services. When you create a storage account, you have the option to either create a new resource group, or use an existing resource group. Premium file shares require a FileStorage account.
22
28
23
-
## Create a premium file share using the Azure portal
29
+
#[Portal](#tab/azure-portal)
24
30
25
31
### Sign in to Azure
26
32
27
33
Sign in to the [Azure portal](https://portal.azure.com/).
28
34
29
-
### Create a filestorage storage account
30
-
31
35
Now you're ready to create your storage account.
32
36
33
-
Every storage account must belong to an Azure resource group. A resource group is a logical container for grouping your Azure services. When you create a storage account, you have the option to either create a new resource group, or use an existing resource group. This article shows how to create a new resource group.
34
-
35
37
1. In the Azure portal, select **Storage Accounts** on the left menu.
36
38
37
39

@@ -56,42 +58,9 @@ Every storage account must belong to an Azure resource group. A resource group i
56
58
57
59
Once your storage account resource has been created, navigate to it.
58
60
59
-
### Create a premium file share
60
-
61
-
1. In the left menu for the storage account, scroll to the **File service** section, then select **Files**.
62
-
1. Select **File share** to create a premium file share.
63
-
1. Enter a name and a desired quota for your file share, then select **Create**.
64
-
65
-
> [!NOTE]
66
-
> Provisioned share sizes is specified by the share quota, file shares are billed on the provisioned size, refer to the [pricing page](https://azure.microsoft.com/pricing/details/storage/files/) for more details.
67
-
68
-

69
-
70
-
### Clean up resources
71
-
72
-
If you would like to clean up the resources created in this article, you can simply delete the resource group. Deleting the resource group also deletes the associated storage account as well as any other resources associated with the resource group.
73
-
74
-
## Create a premium file share using PowerShell
75
-
76
-
### Create an account using PowerShell
77
-
78
-
First, install the latest version of the [PowerShellGet](/powershell/scripting/gallery/installing-psget) module.
79
-
80
-
Then, upgrade your PowerShell module, sign in to your Azure subscription, create a resource group, and then create a storage account.
81
-
82
-
### Upgrade your PowerShell module
61
+
# [PowerShell](#tab/azure-powershell)
83
62
84
-
To interact with a premium file share from with PowerShell, you'll need to install an Az.Storage module version 1.4.0, or the latest Az.Storage module.
85
-
86
-
Start by opening a PowerShell session with elevated permissions.
Now that you have a FileStorage account, you can create a premium file share. Use the [New-AzStorageShare](/powershell/module/az.storage/New-AzStorageShare) cmdlet to create one.
125
-
126
-
> [!NOTE]
127
-
> Provisioned share sizes is specified by the share quota, file shares are billed on the provisioned size, refer to the [pricing page](https://azure.microsoft.com/pricing/details/storage/files/) for more details.
128
-
129
-
```powershell
130
-
New-AzStorageShare `
131
-
-Name myshare `
132
-
-Context $storageAcct.Context
133
-
```
134
-
135
-
### Clean up resources
136
-
137
-
To remove the resource group and its associated resources, including the new storage account, use the [Remove-AzResourceGroup](/powershell/module/az.resources/remove-azresourcegroup) command:
138
-
139
-
```powershell
140
-
Remove-AzResourceGroup -Name $resourceGroup
141
-
```
142
-
143
-
## Create a premium file share using Azure CLI
91
+
# [Azure CLI](#tab/azure-cli)
144
92
145
93
To start Azure Cloud Shell, sign in to the [Azure portal](https://portal.azure.com).
146
94
147
-
If you want to log into your local installation of the CLI, first make sure you have the latest version, then run the login command:
95
+
If you want to log into your local installation of the CLI, make sure you have the latest version, then sign in:
148
96
149
97
```azurecli
150
98
az login
@@ -183,28 +131,77 @@ STORAGEKEY=$(az storage account keys list \
183
131
--account-name $STORAGEACCT \
184
132
--query "[0].value" | tr -d '"')
185
133
```
134
+
---
135
+
136
+
## Create a premium file share
137
+
138
+
Now that you've created a FileStorage account, you can create a premium file share within that storage account.
139
+
140
+
# [Portal](#tab/azure-portal)
141
+
142
+
1. In the left menu for the storage account, scroll to the **File service** section, then select **Files**.
143
+
1. Select **File share** to create a premium file share.
144
+
1. Enter a name and a desired quota for your file share, then select **Create**.
145
+
146
+
> [!NOTE]
147
+
> Provisioned share sizes is specified by the share quota, file shares are billed on the provisioned size. For more information, see the [pricing page](https://azure.microsoft.com/pricing/details/storage/files/).
148
+
149
+

150
+
151
+
# [PowerShell](#tab/azure-powershell)
152
+
153
+
To create a premium file share with the Azure PowerShell module, use the [New-AzStorageShare](/powershell/module/az.storage/New-AzStorageShare) cmdlet.
154
+
155
+
> [!NOTE]
156
+
> Provisioned share sizes is specified by the share quota, file shares are billed on the provisioned size. For more information, see the [pricing page](https://azure.microsoft.com/pricing/details/storage/files/).
157
+
158
+
```powershell
159
+
New-AzStorageShare `
160
+
-Name myshare `
161
+
-Context $storageAcct.Context
162
+
```
186
163
187
-
### Create a premium file share
164
+
#[Azure CLI](#tab/azure-cli)
188
165
189
-
Now that you have a filestorage account, you can create a premium file share. Use the [az storage share create](/cli/azure/storage/share) command to create one.
166
+
To create a premium file share with the Azure CLI, use the [az storage share create](/cli/azure/storage/share) command.
190
167
191
168
> [!NOTE]
192
-
> Provisioned share sizes is specified by the share quota, file shares are billed on the provisioned size, refer to the [pricing page](https://azure.microsoft.com/pricing/details/storage/files/) for more details.
169
+
> Provisioned share sizes is specified by the share quota, file shares are billed on the provisioned size. For more information, see the [pricing page](https://azure.microsoft.com/pricing/details/storage/files/).
193
170
194
171
```azurecli-interactive
195
172
az storage share create \
196
173
--account-name $STORAGEACCT \
197
174
--account-key $STORAGEKEY \
198
175
--name "myshare"
199
176
```
177
+
---
178
+
179
+
## Clean up resources
180
+
181
+
# [Portal](#tab/azure-portal)
182
+
183
+
If you would like to clean up the resources created in this article, delete the resource group. Deleting the resource group also deletes the associated storage account as well as any other resources associated with the resource group.
184
+
185
+
# [PowerShell](#tab/azure-powershell)
186
+
187
+
If you would like to clean up the resources created in this article, delete the resource group. Deleting the resource group also deletes the associated storage account as well as any other resources associated with the resource group.
188
+
189
+
To remove the resource group and its associated resources, including the new storage account, use the [Remove-AzResourceGroup](/powershell/module/az.resources/remove-azresourcegroup) command:
190
+
191
+
```powershell
192
+
Remove-AzResourceGroup -Name $resourceGroup
193
+
```
200
194
201
-
### Clean up resources
195
+
# [Azure CLI](#tab/azure-cli)
196
+
197
+
If you would like to clean up the resources created in this article, delete the resource group. Deleting the resource group also deletes the associated storage account as well as any other resources associated with the resource group.
202
198
203
199
To remove the resource group and its associated resources, including the new storage account, use the [az group delete](/cli/azure/group) command.
0 commit comments