DEV Community

Cover image for PROVIDE PRIVATE STORAGE FOR INTERNAL COMPANY
Ajayi Daniel
Ajayi Daniel

Posted on

PROVIDE PRIVATE STORAGE FOR INTERNAL COMPANY

What is a private storage in cloud computing is a secure, access-controlled environment used by companies to store internal documents, ensuring confidentiality, integrity, and compliance with regulatory requirements.
For example, a company might use private storage to:
Store HR records, financial documents, or confidential contracts.
Ensure only specific departments (e.g., Legal, Finance) can access certain folders. Prevent external access or data leakage.

****I BREAKDOWN IN CREATING A PRIVATE STORAGE ACCOUNT FOR INTERNAL COMPANY

STEP1:In the portal, search for and select Storage accounts

storage
CLICK ON IT

  • STEP2 Select + Create.

plus create
click on the plus create

  • Step 3 Select the Resource group created in the previous lab.

Resource group
The resource group name was taken from previous storage account created

  • Step 4 Set the Storage account name to private. Add an identifier to the name to ensure the name is unique

private name
ensure you add private to the name on the storage account with a unique name

  • Step 5: Select Review, and then Create the storage account.

REVIEWPLUSCREATE
CLICK ON THE REVIEW IT WILL CREATE A STORAGE ACCOUNT

STORAGE
CLICK ON CREATE IT WILL BRING INITIALING DEPLOYMENT

Step5:Wait for the storage account to deploy, and then select Go to resource.

deployment
CLICK ON THE RESOURCE

II This storage requires high availability if there’s a regional outage. Read access in the secondary region is not required. Configure the appropriate level of redundancy.

  • Step 1 In the storage account, in the Data management section, select the Redundancy blade. the select the Geo-redundant storage (GRS) is selected. naviagte to Refresh page, there after Review the primary and secondary location information.then you Save your changes.

III:Create a storage container, upload a file, and restrict access to the file
Step1 : In the storage account, in the Data storage section, select the Containers blade.
naviagte to Select + Container.
Ensure the Name of the container is private.
Ensure the Public access level is Private (no anonymous access).
As you have time, review the Advanced settings, but take the defaults.
then
containSelect Create.
Iv: For testing, upload a file to the private container. he type of file doesn’t matter. A small image or text file is a good choice. Test to ensure the file isn’t publically accessible.
STEP 1
Select the container. Then you navigate and Select Upload, there after you Browse to files and select a file, Upload the file and Select the uploaded file.On the Overview tab, copy the URL. Paste the URL into a new browser tab, the you Verify the file doesn’t display and you receive an error.
upload image

This show the overview of the document i upload
OVER

ERROR
Paste the URL into a new browser tab, then you Verify the file doesn’t display and you receive an error.

v: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). Learn more about Shared Access Signatures.
Step 1
Select your uploaded blob file and move to the Generate SAS tab.
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.
Select Generate SAS token and URL.
Copy the Blob SAS URL to a new browser tab.
Verify you can access the file. If you have uploaded an image file it will display in the browser. Other file types will be downloaded.

Generate Sas
Copy the Blob SAS URL to a new browser tab.
Verify you can access the file. If you have uploaded an image file it will display in the browser. Other file types will be downloade

vi:The public website files need to be backed up to another storage account.[Learn more about object replication.

In your storage account, create a new container called backup, Use the default values.
thereafter Navigate to your publicwebsite storage account, This will lead to the storage account was created in the previous exercise.
go to the Data management section, select the Object replication blade.
Select Create replication rules.
then Set the Destination storage account to the private storage account.
Set the Source container to public and the Destination container to backup.
Create the replication rule.
Optionally, as you have time, upload a file to the public container. Return to the private storage account and refresh the backup container. Within a few minutes your public website file will appear in the backup folder.

back up
Backup

datamangement
Go to the Data management section, select the Object replication blade.
Select Create replication rules

REPLICATION
Select Create replication rules.
then Set the Destination storage account to the private storage account.
Set the Source container to public and the Destination container to backup.

Top comments (0)