Setting Up a Private Storage account for a Company

Step-to-step guide on how to create private storage for internal use

The company requires storage for its offices and departments. This information is confidential to the company and should not be shared without permission. This storage requires hi…


This content originally appeared on DEV Community and was authored by oluoma stella onyeukwa

Step-to-step guide on how to create private storage for internal use

The company requires storage for its offices and departments. This information is confidential to the company and should not be shared without permission. This storage requires high availability in the event of a regional outage. The company intends to use this storage to back up its public website.

Skilling tasks

  • 1: Create a storage account for the company private documents.
  • 2 : Configure redundancy for the storage account.
  • 3 : Configure a shared access signature so partners have restricted access to a file.
  • 4 : Back up the public website storage.
  • 5 : Implement lifecycle management to move content to the cool tier.

cover picture

Step 1: Create a storage account and configure high availability.

1.Create a storage account for the internal private company documents.

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

step 01

  • Select + Create.

21

  • Select the Resource group created in the previous lab.

  • 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.

1

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

2

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.

3

Refresh the page.

Review the primary and secondary location information.

Save your changes.

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

  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.

  • 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

4
Select Create.

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.

  • Browse to files and select a file.

  • Upload the file.

5

  • Select the uploaded file.

  • On the Overview tab, copy the URL.

6

  • Paste the URL into a new browser tab.

  • Verify the file doesn’t display and you receive an error.

7

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).

  • Select your uploaded blob file and move to the Generate SAS tab.

8

  • 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.

9

  • Copy the Blob SAS URL to a new browser tab.

10

  • 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

11

Step 3 : Configure storage access tiers and content replication.

  1. To save on costs, after 30 days, move blobs from the hot tier to the cool tier.
  • Return to the storage account.

  • In the Overview section, notice the Default access tier is set to Hot.

12

  • In the Data management section, select the Lifecycle management blade.

  • Select Add rule.

13

  • Set the Rule name to movetocool.

  • Set the Rule scope to Apply rule to all blobs in the storage account.

14

  • Select Next.

  • 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.

15

  • Add the rule.

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

  • In your storage account, create a new container called backup. Use the default values. Refer back to Lab 02a if you need detailed instructions.

16

  • 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.
    17

  • Set the Destination storage account to the private storage account.

  • Set the Source container to public and the Destination container to backup.

18

  • Create the replication rule.
  • Optionally, as you have time, upload a file to the **public **container.

19

  • 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.

20

Back to top


This content originally appeared on DEV Community and was authored by oluoma stella onyeukwa


Print Share Comment Cite Upload Translate Updates
APA

oluoma stella onyeukwa | Sciencx (2024-10-26T22:24:03+00:00) Setting Up a Private Storage account for a Company. Retrieved from https://www.scien.cx/2024/10/26/setting-up-a-private-storage-account-for-a-company/

MLA
" » Setting Up a Private Storage account for a Company." oluoma stella onyeukwa | Sciencx - Saturday October 26, 2024, https://www.scien.cx/2024/10/26/setting-up-a-private-storage-account-for-a-company/
HARVARD
oluoma stella onyeukwa | Sciencx Saturday October 26, 2024 » Setting Up a Private Storage account for a Company., viewed ,<https://www.scien.cx/2024/10/26/setting-up-a-private-storage-account-for-a-company/>
VANCOUVER
oluoma stella onyeukwa | Sciencx - » Setting Up a Private Storage account for a Company. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/10/26/setting-up-a-private-storage-account-for-a-company/
CHICAGO
" » Setting Up a Private Storage account for a Company." oluoma stella onyeukwa | Sciencx - Accessed . https://www.scien.cx/2024/10/26/setting-up-a-private-storage-account-for-a-company/
IEEE
" » Setting Up a Private Storage account for a Company." oluoma stella onyeukwa | Sciencx [Online]. Available: https://www.scien.cx/2024/10/26/setting-up-a-private-storage-account-for-a-company/. [Accessed: ]
rf:citation
» Setting Up a Private Storage account for a Company | oluoma stella onyeukwa | Sciencx | https://www.scien.cx/2024/10/26/setting-up-a-private-storage-account-for-a-company/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.