To access Azure Storage, you'll need an Azure subscription. All access to Azure Storage takes place through a storage account.
For this quickstart, create a storage account using the Azure portal,
To create a container in the Azure portal, follow these steps:
-
Navigate to your new storage account in the Azure portal.
-
In the left menu for the storage account, scroll to the Blob service section, then select Containers.
-
Select the + Container button.
-
Type a name for your new container. The container name must be lowercase, must start with a letter or number, and can include only letters, numbers, and the dash (-) character.
-
Set the level of public access to the container. The default level is Private (no anonymous access).
-
Select OK to create the container.
Upload a block blob
Block blobs consist of blocks of data assembled to make a blob. Most scenarios using Blob storage employ block blobs. Block blobs are ideal for storing text and binary data in the cloud, like files, images, and videos.
To upload a block blob to your new container in the Azure portal, follow these steps:
-
In the Azure portal, navigate to the container you created in the previous section.
-
Select the container to show a list of blobs it contains. Since this container is new, it won't yet contain any blobs.
-
Select the Upload button to upload a blob to the container.
-
Browse your local file system to find a file to upload as a block blob, and select Upload.
-
Select the Authentication type. The default is SAS.
-
Upload as many blobs as you like in this way. You'll see that the new blobs are now listed within the container.
There you go your files are uploaded to Azure storage!
Hope this helps!!
To know more about Azure, enroll today with our Azure certification course.
Thanks!!