官术网_书友最值得收藏!

Creating and configuring storage accounts

Before you can upload any data or files to Azure storage, a storage account needs to be created. This can be done using the Azure portal, PowerShell, the CLI, ARM templates, or Visual Studio.

In this demonstration, we are going to create a storage account with PowerShell:

  1. First, we need to log in to the Azure account:
Connect-AzAccount
  1. If necessary, select the right subscription:
Select-AzSubscription -SubscriptionId "********-****-****-****-***********"
  1. Create a resource group:
New-AzResourceGroup -Name PacktPubStorageAccount -Location EastUS
  1. Create the storage account:
New-AzStorageAccount -ResourceGroupName PacktPubStorageAccount -AccountName packtpubstorage -Location "East US" -SkuName Standard_GRS -Kind StorageV2 -AccessTier Hot
In this demonstration, we created a new storage account using PowerShell. If you are new to storage accounts, I highly recommend creating a storage account from the Azure portal as well. That way, you will see all the available storage account types, storage replication types, access tiers that you can choose from, the different performance tiers (standard or premium), and how this is all connected to each other.

Now that we have created a new storage account, we can install the Azure Storage Explorer tool.

主站蜘蛛池模板: 合水县| 车致| 阿巴嘎旗| 涡阳县| 凤翔县| 斗六市| 北辰区| 安图县| 黎川县| 繁昌县| 洛川县| 夏邑县| 马鞍山市| 阳西县| 石城县| 读书| 奉节县| 临颍县| 保山市| 太保市| 穆棱市| 县级市| 南木林县| 屯昌县| 双江| 阿拉善左旗| 巴南区| 潞西市| 栾城县| 东台市| 南溪县| 文山县| 邮箱| 沂源县| 阜宁县| 精河县| 崇义县| 策勒县| 邵阳市| 普陀区| 永善县|