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

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.

主站蜘蛛池模板: 呼伦贝尔市| 江陵县| 丹棱县| 安泽县| 彩票| 紫云| SHOW| 镇巴县| 邢台市| 吐鲁番市| 德昌县| 奉贤区| 宽城| 普宁市| 当阳市| 高尔夫| 云安县| 娱乐| 沂水县| 香格里拉县| 定陶县| 萍乡市| 奇台县| 乌兰浩特市| 玉树县| 松江区| 淮滨县| 皮山县| 宜兴市| 黎川县| 尼木县| 新和县| 临潭县| 临汾市| 瑞安市| 福州市| 嘉禾县| 黄龙县| 汪清县| 五原县| 肇源县|