This content originally appeared on DEV Community and was authored by Otitoju Mercy
Azure Blob Storage is a service for storing large amount of unstructured object data in the cloud that doesn't adhere to a particular data model or definition, such as text or binary data. Blob stands for Binary Large Object. Blob storage is also referred to as object storage or container storage.
Task 1: Create a storage account.
- Create a storage account in your region with locally redundant storage.
- Verify the storage account was created.
Task 2: Work with blob storage:
- Create a private blob container.
- Upload a file to the container.
Task 3: Monitor the storage container.
- Review common storage problems and troubleshooting guides.
- Review insights for performance, availability, and capacity.
**Azure **Blob Storage uses a container resource to group a set of blobs. A blob can't exist by itself in Blob Storage. A blob must be stored in a container resource.
Task 1: Create a storage account.
- We would first create a new Storage Account.
From the Azure portal home page, click the Menu button in the upper left corner.
On the Basics tab of the Create A Storage Account blade, under Resource group, click Create New.
Scroll down to continue.
Fill in the instance details as shown to on your screen. Leave the defaults for everything else.
Storage account name:> storageaccountxxx(use your Deployment ID)
Performance: Standard
Redundancy: Locally redundant storage (LRS)
Click *Review + Create *
Important note: Most Azure resources requires unique names. Throughout these steps, you will see placeholder words such as > "DeploymentId"
as part of resource names. In a real world scenario ,you would replace these words with your unique ID or use the naming convention determined by your organization .For the purpose of this guide ,we are using deployment ID 507268.
- When you see the notification that validation passed, click Create to create the storage account.
- The new storage account is now listed.
Task 2: Work with Blob Storage.
Click** Container** and give the new container a name. When done, click Create
Click on the name box.
Browse to a file in my Local computer.
Note: You can create an empty . txt file or use the existing file. Consider choosing a file of a small size to minimize the upload time.Once the file are uploaded, right click a file and notice the options, including View/edit, Download, Properties and Delete.
Review the properties and the available actions ,and then close the window.
Return to the storage account page.
Storage account can be used for other purposes, such as file shares, queues and tables .From the left menu, click File shares.
Review the options ,and then do the same for Queues and Tables.
## Task 3: Monitor the storage account
- Click Diagnose and solve problems.
Here you can explore some of the most common storage problems and find tools. Notice there are multiple trouble shooters.
Click Troubleshoot to look at an example.
Close the window.
Next, scroll down to the Monitoring section and click Insights
Notice there is information on Failures, Performance, Availability and Capacity. Your information will be different.
Hosting a static website on Azure Blob Storage offers a scalable, secure, and cost-effective solution. By following these steps, you can deploy your static website and take advantage of Azure's global infrastructure. With Azure Blob Storage, you can focus on developing your website without worrying about the underlying infrastructure.
Additional Tips and Best Practices
- Use Azure Storage Explorer to manage your containers and blobs.
- Use Azure Pipelines to automate your deployment process.
- Use custom domains and SSL certificates for a professional touch.
- Monitor your website's performance using Azure Monitor.
By following this comprehensive guide, you can successfully host your static website on Azure Blob Storage and enjoy the benefits of a scalable and secure online presence.
This content originally appeared on DEV Community and was authored by Otitoju Mercy
Otitoju Mercy | Sciencx (2024-07-03T03:16:39+00:00) Azure Blob Storage.. Retrieved from https://www.scien.cx/2024/07/03/azure-blob-storage/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.