Securing and Managing Cloud Storage for Private and Public Data with High Availability

As companies grow, managing storage across offices and departments becomes increasingly important. Ensuring that sensitive company data is kept private, while still being accessible to authorized partners, is crucial. Additionally, backing up public-fa…


This content originally appeared on DEV Community and was authored by Tunmise timothy

As companies grow, managing storage across offices and departments becomes increasingly important. Ensuring that sensitive company data is kept private, while still being accessible to authorized partners, is crucial. Additionally, backing up public-facing content ensures that websites remain secure and operational.

In this article, we’ll walk through creating a cloud storage architecture that provides high availability, secures private corporate data, allows controlled external access, and automates data tiering to reduce costs. We'll also explore how to back up public website data to ensure redundancy.
Assuming The company needs storage for their offices and departments. This content is private to the company and shouldn’t be shared without consent. This storage requires high availability if there’s a regional outage. The company wants to use this storage to back up the public website.

Skilling tasks
Create a storage account for the company private documents.
Configure redundancy for the storage account.
Configure a shared access signature so partners have restricted access to a file.
Back up the public website storage.
Implement lifecycle management to move content to the cool tier.
Exercise instructions
Note: These instruction require you to have completed Lab 02a, Provide storage for internal documents.

Create a storage account and configure high availability.
Create a storage account for the internal private company documents.
In the portal, search for and select Storage accounts.
Select + Create.
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.

Image description
Wait for the storage account to deploy, and then select Go to resource.
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.

Image description
Refresh the page.
Review the primary and secondary location information.
Save your changes.
Create a storage container, upload a file, and restrict access to the file.
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.

Image description
Ensure the Public access level is Private (no anonymous access).
As you have time, review the Advanced settings, but take the defaults.
Select Create.

Image description
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.

Image description
Select the uploaded file.
On the Overview tab, copy the URL.

Image description
Paste the URL into a new browser tab.
Verify the file doesn’t display and you receive an error.
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.

Image description
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.

Image description

Image description
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.
Configure storage access tiers and content replication.
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.

Image description
In the Data management section, select the Lifecycle management blade.
Select Add rule.

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

Image description
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.
Add the rule.

Image description
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.

Image description
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.
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.

Image description
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.

Image description


This content originally appeared on DEV Community and was authored by Tunmise timothy


Print Share Comment Cite Upload Translate Updates
APA

Tunmise timothy | Sciencx (2024-10-03T03:32:02+00:00) Securing and Managing Cloud Storage for Private and Public Data with High Availability. Retrieved from https://www.scien.cx/2024/10/03/securing-and-managing-cloud-storage-for-private-and-public-data-with-high-availability/

MLA
" » Securing and Managing Cloud Storage for Private and Public Data with High Availability." Tunmise timothy | Sciencx - Thursday October 3, 2024, https://www.scien.cx/2024/10/03/securing-and-managing-cloud-storage-for-private-and-public-data-with-high-availability/
HARVARD
Tunmise timothy | Sciencx Thursday October 3, 2024 » Securing and Managing Cloud Storage for Private and Public Data with High Availability., viewed ,<https://www.scien.cx/2024/10/03/securing-and-managing-cloud-storage-for-private-and-public-data-with-high-availability/>
VANCOUVER
Tunmise timothy | Sciencx - » Securing and Managing Cloud Storage for Private and Public Data with High Availability. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/10/03/securing-and-managing-cloud-storage-for-private-and-public-data-with-high-availability/
CHICAGO
" » Securing and Managing Cloud Storage for Private and Public Data with High Availability." Tunmise timothy | Sciencx - Accessed . https://www.scien.cx/2024/10/03/securing-and-managing-cloud-storage-for-private-and-public-data-with-high-availability/
IEEE
" » Securing and Managing Cloud Storage for Private and Public Data with High Availability." Tunmise timothy | Sciencx [Online]. Available: https://www.scien.cx/2024/10/03/securing-and-managing-cloud-storage-for-private-and-public-data-with-high-availability/. [Accessed: ]
rf:citation
» Securing and Managing Cloud Storage for Private and Public Data with High Availability | Tunmise timothy | Sciencx | https://www.scien.cx/2024/10/03/securing-and-managing-cloud-storage-for-private-and-public-data-with-high-availability/ |

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.