Provide Storage for the IT department Testing and Training.

samakindev

Makinde Samuel Olugbenga

Posted on September 24, 2024

Provide Storage for the IT department Testing and Training.

What is Azure Storage.

Azure Storage is a cloud-based service offered by Microsoft Azure that provides scalable, durable, and secure storage solutions. It supports a variety of data storage needs, including:

  1. Blob Storage: For storing large amounts of unstructured data, such as text, images, videos, and backups. Blobs are organized into containers within storage accounts.
  2. File Storage: Managed file shares that can be accessed via the Server Message Block (SMB) protocol. This is useful for scenarios where you need a file system with shared access across multiple machines.
  3. Queue Storage: Provides reliable messaging between applications or components, facilitating communication and workflow management.
  4. Table Storage: A NoSQL key-value store that allows for quick and scalable storage of structured data, such as application metadata, user data, and other datasets.
  5. Disk Storage: Virtual hard disks (VHDs) used with Azure Virtual Machines. These disks come in different performance tiers, such as Standard HDD, Standard SSD, and Premium SSD.
  6. Azure Data Lake Storage: Optimized for big data analytics, it provides hierarchical namespace and fine-grained access control. It integrates well with Azure analytics services. Azure Storage is designed to be highly available and resilient, offering features like data replication across regions, encryption, and access control. It’s used in a wide range of scenarios from web and mobile applications to big data analytics and backup solutions.

Here are the steps to accomplish the task of providing a Storage account for IT department:
Step1.
Create a resource group and a storage account.

  • In the Azure portal, search for and select Resource groups.

Search for Resource group

  • Click Plus Create.

Select +Create

  • Give your resource group a name. For example, storagerg.

Name the storage

  • Select a region. Use this region throughout the project.

Select a Region.

  • Select Review and create to validate the resource group.

Review & Create

  • Select Create to deploy the resource group.

Validation

Step2. Create and deploy a storage account to support testing and training.

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

Storage account Name

  • Select Plus Create

Select Plus Create

  • On the Basics tab, select your Resource group.

Resource group selected

  • Provide a Storage account name. The storage account name must be unique in Azure.

Storage account name

  • Set the Performance to Standard.

Performance set to standard

  • Select Review, and then Create.

Storage successfully created

  • Go to resource.

Go to resource

**Configure simple settings in the storage account.

**

  • In your storage account, in the Data management section, select the Redundancy blade.

Image description

  • Select Locally-redundant storage (LRS) in the Redundancy drop-down.

Local Redundancy Selected

  • Be sure to save the changes

Save Chages
Step2. The storage account should only accept requests from secure connections.

  • In the Settings section, select the Configuration blade.

Settings and Configuration

  • Ensure Secure transfer required is Enabled.

Secure transfer required enabled
Step3. Developers would like the storage account to use at least TLS version 1.2.

  • In the Settings section, select the Configuration blade.

Select Configuration blade

  • Ensure the Minimal TLS version is set to Version 1.2

Minimal TLS version set to 1.2
Step4. Until the storage is needed again, disable requests to the storage account

  • In the Settings section, select the Configuration blade

Setting configuration

  • Ensure Allow storage account key access is Disabled

Storage Key Access dissable

  • Be sure to Save your changes.

Ensure save
Step5. Ensure the storage account allows public access from all networks.

  • In the Security + networking section, select the Networking blade.

Network and Security

  • Ensure Public network access is set to Enabled from all networks.

Enable Public Access

  • Save Changes.

Save Changes

Here are the steps required to Provide storage for the public website

Step1. Create a storage account to support the public website.

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

Select Storage accounts

  • Select Plus Create

select + create

  • For resource group select new. Give your resource group a name and select OK.

resource group

  • Set the Storage account name to publicwebsite. Make sure the storage account name is unique by adding an identifier.

Public website

  • Select Review and then Create.

Review and Create

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

complete deployment
Step2. This storage requires high availability if there’s a regional outage. Additionally, enable read access to the secondary region

  • In the storage account, in the Data management section, select the Redundancy blade.

Storage account redundancy blade

  • Ensure Read-access Geo-redundant storage is selected.

Read Access geo-redundant storage

  • Review the primary and secondary location information.

Primary and Secondary Location
Step3. Information on the public website should be accessible without requiring customers to login.

  • In the storage account, in the Settings section, select the Configuration blade.

Setting configuration

  • Ensure the Allow blob anonymous access setting is Enabled.

Blob Anonymous

  • Be sure to Save your changes.

save

**Create a blob storage container with anonymous read access

**
Step1. The public website has various images and documents. Create a blob storage container for the content

  • In your storage account, in the Data storage section, select the Containers blade.

Data Container

  • Ensure the Name of the container is public.

Container named Public

  • Select Create.

Public Created
Step2. Customers should be able to view the images without being authenticated. Configure anonymous read access for the public container blobs.

  • Select your public container.

select public

  • On the Overview blade, select Change access level.

Change Access level

  • Ensure the Public access level is Blob (anonymous read access for blobs only).

Blob

Practice uploading files and testing access.

  • For testing, upload a file to the public container. The type of file doesn’t matter. Step1. Testing upload.

Testing upload with refresh
Step 2

  • Determine the URL for your uploaded file. Open a browser and test the URL

URL copied and uploaded

  • Configure soft delete

How to configure soft delete

  • How to use soft delete to restore files.

Restore deleted file

  • How to configure blob versioning. Go to the Overview blade of the storage account. In the Properties section, locate the Blob service section. Select the Versioning setting. Ensure the Enable versioning for blobs checkbox is checked. Notice your options to keep all versions or delete versions after. Don’t forget to Save your changes. Blob Versioning

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

Serach for storage account

Plus Create

💖 💪 🙅 🚩
samakindev
Makinde Samuel Olugbenga

Posted on September 24, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related