How to provide private storage for internal company documents

stippy4real

Ugonna

Posted on May 31, 2024

How to provide private storage for internal company documents

The following are below are steps for the above process
In the Azure portal, search for and select Storage accounts.
Image description
then Select + Create
Image description
Select the Resource group created in the previous lab.
Image description
Set the Storage account name to private and add an identifier to the name to ensure the name is unique (privatestella).
Image description
Select Review, and then Create the storage account
Image description
After validation has pass click create
Image description
Wait for the storage account to deploy, and then select Go to resource.
Image description
In the storage account, in the Data management section, select the Redundancy blade.Image description
Ensured Geo-redundant storage (GRS) is selected.
Image description
Refresh the page and review the primary and secondary location information.
Image description
In the storage account, in the Data storage section, select the Containers blade.
Image description
Select Container
Image description
Ensure the Name of the container is private and make Public access level is Private (no anonymous access)
Image description
In Advanced settings, take the defaults and click create
Image description
For testing, upload a file to the private container
Select the container
Image description
Select Upload
Image description
Browse to files and select a file and then Upload the file
Image description
upload file
Image description
Select the uploaded file.
Image description
On the overview tab of the uploaded
Image description
Copy the URL.
Image description
Paste the url: https://privatestella.blob.core.windows.net/private/advanced.png on a browser to verify the file doesn’t display and you receive an error.
Image description
An external partner requires read and write access to the file for at least the next 24 hours. shared access signature (SAS) should be configured and tested
Select your uploaded blob file and move to the Generate SAS tab
Image description
In the Permissions drop-down, ensure the partner has only Read permissions.
Verify the Start and expiry date/time is for the next 24 hours
Image description
On the bottom center, Select Generate SAS token and URL
Image description
Copy the Blob SAS URL (https://privatestella.blob.core.windows.net/private/advanced.png?sp=r&st=2024-05-29T13:08:46Z&se=2024-05-30T13:08:46Z&spr=https&sv=2022-11-02&sr=b&sig=UJrEZnYxYdINV97Kfeb6nlVDQXaDkw9ZuKpkyD742Jo%3D)
Image description
Then copy the Blob url to a new browser tab
Image description.
Configure storage access tiers and content replication.
Return to the storage account.Image description
in the Overview section, the Default access tier is set to Hot.
Image description
Data management section, select the Lifecycle management blade.
Image description
Select Add rule.
Image description
Set the Rule name to movetocool
Image description
Set the Rule scope to Apply rule to all blobs in the storage account and select Next.
Image description
Ensuring the Last modified is selected and set More than (days ago) to 30. In the Then drop-down select Move to cool storage. then click add
Image description
The public website files need to be backed up to another storage account
In a the storage account, create a container
Image description
Call the container backup and create
Image description
Navigate to the public website storage account (nicolestorage1).In the Data management section, select the Object replication blade
Image description
Select Create replication rules
Image description
Set the destination storage account to the private storage account(privatestella)Image description
Go to the publicwebsitekam storage account created in the previous exercise in the Data management section, select the Object replication blade
Image description
Set the Destination storage account to the private storage account
Image description
Set the Source container to public and the Destination container to backup
Image description
Create the replication rule.
Image description

💖 💪 🙅 🚩
stippy4real
Ugonna

Posted on May 31, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related