Create a storage account Azure

Configurare noua (How To)

Situatie

Solutie

Pasi de urmat

To create an Azure storage account with the Azure portal, follow these steps:

  • From the left portal menu, select Storage accounts to display a list of your storage accounts. If the portal menu isn’t visible, select the menu button to toggle it on.
  • Image of the Azure portal homepage showing the location of the Menu button near the top left corner of the browser.
  • On the Storage accounts page, select Create
  • Image showing the location of the create button within the Azure portal Storage Accounts page.

Options for your new storage account are organized into tabs in the Create a storage account page. The following sections describe each of the tabs and their options.

To create a general-purpose v2 storage account with PowerShell, first create a new resource group by calling the New-AzResourceGroup command:

Azure PowerShell

$resourceGroup = "<resource-group>"
$location = "<location>"
New-AzResourceGroup -Name $resourceGroup -Location $location

If you’re not sure which region to specify for the -Location parameter, you can retrieve a list of supported regions for your subscription with the Get-AzLocation command:

Azure PowerShell

Get-AzLocation | select Location

Next, create a standard general-purpose v2 storage account with read-access geo-redundant storage (RA-GRS) by using the New-AzStorageAccount command. Remember that the name of your storage account must be unique across Azure, so replace the placeholder value in brackets with your own unique value:

Azure PowerShell

New-AzStorageAccount -ResourceGroupName $resourceGroup `
  -Name <account-name> `
  -Location $location `
  -SkuName Standard_RAGRS `
  -Kind StorageV2

Tip solutie

Permanent

Voteaza

(5 din 11 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?