- Microsoft Azure Administrator:Exam Guide AZ-103
- Sjoukje Zaal
- 184字
- 2021-06-24 14:02:05
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:
- First, we need to log in to the Azure account:
Connect-AzAccount
- If necessary, select the right subscription:
Select-AzSubscription -SubscriptionId "********-****-****-****-***********"
- Create a resource group:
New-AzResourceGroup -Name PacktPubStorageAccount -Location EastUS
- 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.
推薦閱讀
- 從零開始寫Linux內核:一書學透核心原理與實現
- BPEL and Java Cookbook
- 新手易學:系統安裝與重裝
- SharePoint 2013 應用開發實戰
- Windows Server 2012網絡操作系統企業應用案例詳解
- Linux系統安全基礎:二進制代碼安全性分析基礎與實踐
- 嵌入式實時操作系統:RT-Thread設計與實現
- Windows Server 2012網絡操作系統項目教程(第4版)
- ElasticSearch Cookbook
- Advanced TypeScript Programming Projects
- 鴻蒙操作系統設計原理與架構
- Hadoop Real-World Solutions Cookbook
- Java EE 8 High Performance
- Windows Azure實戰
- Python機器學習系統構建(原書第3版)