DEV Community

Olalekan Oladiran
Olalekan Oladiran

Posted on

Private Office Storage Solutions: Ensuring Confidentiality and High Availability

Creating a storage account with high availability

  • In the market place search for storage account and select create Image description
  • In the project details, select the resource group you just created Image description
  • Under the instance details, supply the name for your storage account. Image description
  • Click review Image description
  • Once validation is passed, click create Image description
  • Wait for it to deploy Image description
  • After deployment is done, click go to resource Image description

Configuring high availability

  • Select redundancy in the Data management section Image description
  • Change the redundancy to Geo-redundant storage Image description
  • Click save Image description

How to create a private storage container

  • Click containers in the data storage section Image description
  • Create a new container by selecting + container Image description
  • In the new container pane, enter the name for your container, let the anonymous access level be private and click save Image description

How to test if our container is private

  • Click the created container Image description
  • Click upload Image description Click browse for files to select a file Image description
  • Click upload Image description
  • Click the uploaded file Image description
  • Copy the file url Image description
  • Paste the url in a browser and search. It will give an error and file doesn't display Image description

How to set up Shared Access Signature

  • Select the uploaded file and click generate SAS Image description
  • Under permissions, select read Image description
  • Set the start and expiry date/time to 24 hours Image description
  • Click generate SAS token and URL Image description
  • Copy the blob SAS URL Image description
  • Paste it in a browser and search. It will display your uploaded file Image description

How to set up replication of content and storage access tiers.

  • In the storage account overview, notice the default access tiers Image description
  • Select Lifecycle management under Data management Image description
  • Click add rule Image description
  • Choose a rule name and tick apply rule to all blobs in your storage account Image description
  • Tick last modified and Set More than (days ago) to 30 under If Image description
  • Under Then, select Move to cool storage Image description
  • Click add Image description

How to replicate object from a storage account to another storage account

You need to decide which of the accounts will be Destination account and source account

  • From the source storage account, select object replication under Data management Image description
  • Select create replication rules Image description
  • Select Destination storage account Image description
  • Select destination container and source container Image description
  • Click create Image description
  • Test the rule by uploading a file in the source container, the file will be copied automatically in the destination container after few minutes.

Top comments (0)