Deployment guide: the company website supplies products images, version, marketing literature and customer success stories. Customers are located world-wide and demand is rapidly increasing. The content mission, critical requires low latency load times, it is important to keep track of documents if they are deleted.
Create a storage account with high availability.
1 Create a storage account to support public website
. In Azure portal search for and select storage account
. Select + create
. For resource group select New. Give your resource group a name and select ok.

. Set the storage account name to public website. The storage account name must be globally unique by adding identifier.
Wait for storage account to deploy, and then select Go to resources.

1 this storage account requires high availability if there is a regional outage. Additionally enable access to the secondary Region.
In the storage account, in the data management section, select the redundancy blade.
. Ensure Read access Geo-Redundant storage is selected.
. Review the primary and secondary location information.
1.Information on the public website should be accessible without requiring customers login.
. In the storage account, in the settings selection, select the configuration blade

. Ensure that blob anonymous access settings is Enabled

. Be sure to save your changes
Create a blob storage container with anonymous read access
- The public website has various images and documents. Create a blob storage container for the content. . In your storage account in the data section select the containers blade
. Select + container
. Ensure the name of the container is public
. Select + create
- customers should be able to view the images without being authenticated. Configure anonymous read access for the public container blobs
. Select your public container
. On the overview blade, select change access
. Ensure the public level is blob anonymous read access for blobs.
. select ok
Practice uploading files and testing Access
1 for testing, upload a file to the public container. The type of file doesn't matter. A small image of text file is a nice choice
. Ensure you are viewing your container
. Select upload
Browse files to select a file. Browse for a file of your choice
. Browse file to upload
. Select upload
. Close the upload window refresh the page and ensure your file was uploaded.
1.Determine the URL for uploaded file. Open a browser and test the URL
. Select your uploaded file
. on the overview tab copy the URL
. paste the URL into a browser tab
. If you have uploaded an image file, it will display in the browser
Configure soft delete
1.it is important that the website document can be restored, if they are deleted. Configure blob soft delete for 21 days.
. Go to the overview page of the storage account
. on the properties page locate the blob service section.
. Select blob soft delete caption
. ensure the enabled soft delete for blob is checked
. change the keep deleted blobs for in days setting is 21
Observe you can also enable soft delete for containers
. Don't forget to save your changes
If something gets deleted, you need to apply soft delete to restore files.
. navigate to your container where you uploaded a file
Select the file you upload and then delete
. See your deleted files and use the eclipse on the far right to undelete the file.
.
configure blob versioning
. Enable blob versioning
. Notice your options keep all version or delete version after.
. Don't forget to make changes





































Top comments (0)