- 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開發技術
- 鴻蒙生態:開啟萬物互聯的智慧新時代
- 白話區塊鏈
- Mobile First Design with HTML5 and CSS3
- AWS Development Essentials
- OpenStack系統架構設計實戰
- Distributed Computing with Go
- Windows 7實戰從入門到精通(超值版)
- Linux應用大全 基礎與管理
- 電腦辦公(Windows 7+Office 2016)入門與提高
- iOS Programming Cookbook
- Gradle Effective Implementations Guide(Second Edition)
- Responsive Web Design by Example:Beginner's Guide(Second Edition)
- PrimeFaces Beginner's Guide
- 跟阿銘學Linux(第4版)