DEV Community

Cover image for Topic: Provide private storage for internal company documents.
Busa Ayim-Odu
Busa Ayim-Odu

Posted on

Topic: Provide private storage for internal company documents.

Providing an Example of Private Document Storage for Internal Company Records

It is assumed that everyone is aware of the many forms of cloud storage.

Important Ideas:

Cloud-Based Data Storage:

a service that enables remote online data management, storage, and access gives enterprises scalability and flexibility.
Cloud Storage Types:

Public Cloud Storage: Multiuser shared storage (like Dropbox and Google Drive).
Private cloud storage: More control and improved security provided by dedicated storage for a single enterprise.
Hybrid cloud storage: a combination of public and private cloud that keeps less important data in the public cloud and sensitive data in private storage.

Step 1: So we begin by creating a storage account for the internal private corporate documents and the following stages will leads through the procedure.

  • In the portal, search for and select Storage accounts.

Storage Accounts

- Select + Create.

Plus Create

- Select the Resource group created in the previous lab.

Resource Group

- Set the Storage account name to private. Add an identifier to the name to ensure the name is unique.

- Select Review, and then Create the storage account.

Private Storage

Created Storage
*- Wait for the storage account to deploy, and then select Go to resource.
*

Resource

Step 2: 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.

- In the storage account, in the Data management section, select the Redundancy blade.
- Ensure Geo-redundant storage (GRS) is selected.

Redundancy Blade
- Refresh the page.
- Review the primary and secondary location information.

Location
- Save your changes.

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

Step 1: Create a private storage container for the corporate data.

- In the storage account, in the Data storage section, select the Containers blade.
- Select + Container.

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.

Private Container
- Select Create.

Created

Step 2: 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.

- Select the container.
- Select Upload.
Upload
- Browse to files and select a file.
- Upload the file.

File
- Select the uploaded file.
- On the Overview tab, copy the URL.
URL
- Paste the URL into a new browser tab.
- Verify the file doesn’t display and you receive an error.

Error

Step 3: 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.

- Select your uploaded blob file and move to the Generate SAS tab.
- In the Permissions drop-down, ensure the partner has only Read permissions.

Generate SAS
- Verify the Start and expiry date/time is for the next 24 hours.
- Select Generate SAS token and URL.
Time
- 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.
Shared file

Configure storage access tiers and content replication.

Step 1: To save on costs, after 30 days, move blobs from the hot tier to the cool tier. Learn more how manage the Azure Blob storage lifecycle.

- Return to the storage account.
**- In the Overview section, notice the Default access tier is set to Hot.
Hot

-In the Data management section, select the Lifecycle management blade.
- Select Add rule.
Add Rule

- Set the Rule name to movetocool.
- Set the Rule scope to Apply rule to all blobs in the storage account.
- Select Next.
Apply rule

- Ensure Last modified is selected.
- Set More than (days ago) to 30.
- In the Then drop-down select Move to cool storage.
- As you have time, review other lifecycle options in the drop-down.
Movetocool
-Add the rule.

Step 2: 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. Refer back to Lab 02a if you need detailed instructions.
Backup

-Navigate to your publicwebsite storage account. This storage account was created in the previous exercise.
- In the Data management section, select the Object replication blade.
- Select Create replication rules.
Public

- 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.
Replication Rule

Conclusion: Providing private storage for internal company documents is critical for protecting data privacy, security, and compliance. Organizations can maintain complete control over their data while shielding confidential information from unwanted access by employing a private cloud storage solution. This method makes it easier for teams to access and manage documents effectively by providing flexibility for internal operations in addition to guaranteeing a safe and dependable storage environment. Private cloud storage becomes an essential tool for protecting sensitive data as long as enterprises prioritize data protection.

Top comments (0)