Introduction
In this article, we will learn how to create blobs storage using azure portal. Before creating azure blob storage, I strongly recommend you go through below article to know how to create storage account.
What is blob storage?
Azure Blob storage is Microsoft's object storage solution for the cloud. Blob storage is optimized for storing massive amounts of unstructured data. Unstructured data is data that doesn't adhere to a particular data model or definition, such as text or binary data.
What are uses of blob storage?
- Serving images or documents directly to a browser.
- Storing files for distributed access.
- Streaming video and audio.
- Writing to log files.
- Storing data for backup and restore, disaster recovery, and archiving.
- Storing data for analysis by an on-premises or Azure-hosted service.
Type of Blob storage resources
- The storage account
- A container in the storage account
- A blob in a container
What are the types of Blobs?
- Block blobs store text and binary data. Block blobs are made up of blocks of data that can be managed individually. Block blobs can store up to about 190.7 TiB.
- Append blobs are made up of blocks like block blobs but are optimized for append operations. Append blobs are ideal for scenarios such as logging data from virtual machines.
- Page blobs store random access files up to 8 TiB in size. Page blobs store virtual hard drive (VHD) files and serve as disks for Azure virtual machines. For more information about page blobs.
Create a container
- Navigate to your new storage account in the Azure portal.
- In the left menu for the storage account, scroll to the Data storage 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 Create to create the container.
How to Upload a Blob
- 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. This container is new, so it won't yet contain any blobs.
- Select the Upload button to open the upload blade and browse your local file system to find a file to upload as a block blob. You can optionally expand the Advanced section to configure other settings for the upload operation.
- Select the Upload button to upload the blob.
- Upload as many blobs as you like in this way. You'll see that the new blobs are now listed within the container.
How to Download a blob
You can download a block blob to display in the browser or save to your local file system. To download a block blob, follow these steps:
- Navigate to the list of blobs that you uploaded in the previous section.
- Right-click the blob you want to download and select Download.
How to Delete a blob
To delete one or more blobs in the Azure portal, follow these steps:
- In the Azure portal, navigate to the container.
- Display the list of blobs in the container.
- Use the checkbox to select one or more blobs from the list.
- Select the Delete button to delete the selected blobs.
- In the dialog, confirm the deletion, and indicate whether you also want to delete blob snapshots.
Conclusion
Blob Storage is very advantageous for the business-related forum. Azure blob storage allows them to collect all their contents in one place altogether. These are then made available throughout, across their different departments, both domestically as well as internationally. The speed, durability, scalability, and ease of access, and most significantly, security, from accidents, crimes, and criminals make Blob Storage very attractive cloud storage for all kinds of organizations and firms