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/blobs/storage-blob-create-account-block-blob.md
+65Lines changed: 65 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,69 @@ The BlockBlobStorage account kind lets you create block blobs with premium perfo
17
17
18
18
For more information about BlockBlobStorage accounts, see [Azure storage account overview](https://docs.microsoft.com/azure/storage/common/storage-account-overview).
19
19
20
+
## Prerequisites
21
+
22
+
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/) before you begin.
23
+
24
+
# [Portal](#tab/azure-portal)
25
+
26
+
None.
27
+
28
+
# [PowerShell](#tab/azure-powershell)
29
+
30
+
This how-to article requires the Azure PowerShell module Az version 1.2.0 or later. Run `Get-Module -ListAvailable Az` to find your current version. If you need to install or upgrade, see [Install Azure PowerShell module](/powershell/azure/install-Az-ps).
31
+
32
+
# [Azure CLI](#tab/azure-cli)
33
+
34
+
You can sign in to Azure and run Azure CLI commands in one of two ways:
35
+
36
+
- You can run CLI commands from within the Azure portal, in Azure Cloud Shell.
37
+
- You can install the CLI and run CLI commands locally.
38
+
39
+
### Use Azure Cloud Shell
40
+
41
+
Azure Cloud Shell is a free Bash shell that you can run directly within the Azure portal. The Azure CLI is pre-installed and configured to use with your account. Click the **Cloud Shell** button on the menu in the upper-right section of the Azure portal:
The button launches an interactive shell that you can use to run the steps outlined in this how-to article:
46
+
47
+
[](https://portal.azure.com)
48
+
49
+
### Install the CLI locally
50
+
51
+
You can also install and use the Azure CLI locally. This how-to article requires that you are running the Azure CLI version 2.0.46 or later. Run `az --version` to find the version. If you need to install or upgrade, see [Install the Azure CLI](/cli/azure/install-azure-cli).
52
+
53
+
---
54
+
55
+
## Sign in to Azure
56
+
57
+
# [Portal](#tab/azure-portal)
58
+
59
+
Sign in to the [Azure portal](https://portal.azure.com).
60
+
61
+
# [PowerShell](#tab/azure-powershell)
62
+
63
+
Sign in to your Azure subscription with the `Connect-AzAccount` command and follow the on-screen directions to authenticate.
64
+
65
+
```powershell
66
+
Connect-AzAccount
67
+
```
68
+
69
+
# [Azure CLI](#tab/azure-cli)
70
+
71
+
To launch Azure Cloud Shell, sign in to the [Azure portal](https://portal.azure.com).
72
+
73
+
To log into your local installation of the CLI, run the [az login](/cli/azure/reference-index#az-login) command:
74
+
75
+
```cli
76
+
az login
77
+
```
78
+
79
+
---
80
+
81
+
## Create a BlockBlobStorage account
82
+
20
83
## [Portal](#tab/azure-portal)
21
84
To create a BlockBlobStorage account in the Azure portal, follow these steps:
22
85
@@ -115,6 +178,8 @@ To create a block blob account by using the Azure CLI, you must first install Az
115
178
--sku "Premium_LRS"
116
179
```
117
180
181
+
---
182
+
118
183
## Next steps
119
184
120
185
- For more information about storage accounts, see [Azure storage account overview](https://docs.microsoft.com/azure/storage/common/storage-account-overview).
0 commit comments