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

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.

主站蜘蛛池模板: 德昌县| 九寨沟县| 班玛县| 台东县| 哈巴河县| 南宫市| 青铜峡市| 韶山市| 蛟河市| 明水县| 凤翔县| 诏安县| 博乐市| 胶南市| 孟村| 葫芦岛市| 西乌| 洮南市| 博白县| 肇庆市| 柞水县| 建昌县| 岳阳市| 开远市| 张家口市| 甘孜县| 林西县| 大新县| 昌江| 邢台市| 赤城县| 五指山市| 潍坊市| 郑州市| 阿拉善右旗| 依安县| 大洼县| 伊宁县| 崇义县| 蕲春县| 平邑县|