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

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.

主站蜘蛛池模板: 邓州市| 天等县| 巢湖市| 建水县| 内乡县| 土默特左旗| 营口市| 井陉县| 左贡县| 汉沽区| 淮滨县| 永寿县| 卢湾区| 皮山县| 南充市| 新乡县| 湄潭县| 搜索| 钟山县| 泸西县| 蛟河市| 西畴县| 淮北市| 临夏市| 宁阳县| 英吉沙县| 余干县| 鹤山市| 武汉市| 基隆市| 闸北区| 朝阳区| 泗洪县| 铜陵市| 云和县| 罗甸县| 元朗区| 珠海市| 太和县| 高唐县| 桦南县|