DEV Community

Cover image for How to Create a Resource Group and Storage Account on Azure
Kelvin Obua
Kelvin Obua

Posted on

How to Create a Resource Group and Storage Account on Azure

What is a Resource group

A resource group is a container that holds related resources utilizing cloud infrastructure and storage facilities for an Azure solution. It allows you to organize and manage resources together. You can include all the resources for your solution in a single resource group, or only those resources that you want to manage as a group. Let’s look at how we can create one.

First of all, You need to sign up on Azure and search for resource groups on the home page.

Image description

The next thing you need to do is select resource groups, and click on create resource following the prompt.

Image description

Now we have to give our resource group a name, For example; let’s call our resource group mystorage.rg and select a region e.g. (US) East US.

Image description

Then select review and create from the bottom of the page to validate your resource group.

Image description

After you pass the validation, select create to deploy your resource group.

Azure Storage

Azure Storage is Microsoft’s cloud storage solution for modern data storage scenarios. To create storage on Azure, search for storage account and select storage accounts from the options to set up a storage account for your data.

Image description

Next, select the resource group you just created on the basics tab

Image description

After which, create a storage name for your storage account using the form below the resource group, it should be something unique. For example, let’s use the name below.

Image description

Set the performance to standard and then review and create your storage account.

Image description

Wait for a few seconds for the deployment of your storage account and then select Go to resource.

Image description

After the deployment of the storage account, we need to create a back up for our data in our local storage for safety purposes. In order to do that, select the data management list, select redundancy blade.

Image description

So since this is just a test, we don't require high availability and durability for our storage so we don't incur much cost. In order to achieve that, Select Locally-redundant storage (LRS) option, save and refresh the page and you’ll notice that your storage exists in the primary location.

Image description

Moving forward, we need to make sure that our storage account only accept request from secure connections. select configuration blade in the settings section.

Image description

Next, make sure secured transfer required is enabled.

Image description

While still on the configuration blade, we need to adjust a few settings. Since most developers we’ll be working with prefer TLS version 1.2, ensure that it is selected as the minimum TLS version. Also, disable the "Allow storage key access" option. Don’t forget to save your changes as you go.

Image description

Finally, we want our storage account to allow public access from all networks. so we go to the network and security section and select networking blade.

Image description

After selecting the networking blade, ensure public network access is enabled and save your work.

Image description

By following these steps sequentially, you can create a resource group and a storage account, allowing you to explore Azure cloud services.

Here are some Key benefits of cloud storage on Azure:

  1. Highly Available: Ensures data safety even during hardware failures.

  2. Secure: All data written to storage accounts is encrypted.

  3. Scalable: Easily meets storage and performance needs.

  4. Managed: Azure handles all maintenance and updates.

  5. Accessible: Data is accessible globally via REST API.

If you have any questions, feel free to leave them in the comments section, and I’ll do my best to respond accordingly.

Top comments (0)