How to provide private storage for internal company documents.

How to provide private storage for internal company documents.

Create a storage account and configure high availability.

In Azure Portal, search for “storage account”

Select “Storage account”

Select “Create”

*Insert Resource Group previously created name
*

*Insert Storage account name
*

Select “Redundancy” to be Geo-redundant storage (GRS)

Select “Review + Create”

Check Validation and select “Create”

Create a storage container, upload a file, and restrict access to the file.

In the storage account, select “Data storage” and select “containers”

Select “+ Container”

Name the container

Ensure access level is private

Select “Create”

Upload File to Container
Select Container

Select “Upload”

Select File and upload

Select the file and copy file URL to check if file will be accessed

Paste URL to a new tab, verify file doesn’t display

An external partner requires read and write access to the file for at least the next 24 hours. Configure and test a shared access signature (SAS)

Select the uploaded blob file and click the “Generate SAS tab”

Ensure the partner has only read permission

Set start/expiry time for the next 24 hours

Select “Generate SAS token and URL”

Copy the Blob SAS URL to a new browser tab to verify accessibility, file should be accessible.

Configure storage access tiers and content replication.
Return to storage account

Notice the default access tier is set to hot

In the Data Management section

Select “Lifecycle management”

Select “Add a rule”

Add Rule name

Select Rule scope to apply rule to all blobs in your storage account

Select “Next”

Select “Last modified”

Set days

Select “Move to cool storage”

Add rule

The public website files need to be backed up to another storage account

Create a new container

Select “Create”

Navigate to another storage account, click on “Data management”

Select “Object replication”

Select “Create replication rules”

Set Destination storage account to the Private storage previously created

Set Source Container as mainpublic and Destination Container as backup

Select “Create”