This content originally appeared on DEV Community and was authored by Kelvin Obua
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.
The next thing you need to do is select resource groups, and click on create resource following the prompt.
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.
Then select review and create from the bottom of the page to validate your resource group.
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.
Next, select the resource group you just created on the basics tab
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.
Set the performance to standard and then review and create your storage account.
Wait for a few seconds for the deployment of your storage account and then select Go to resource.
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.
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.
Moving forward, we need to make sure that our storage account only accept request from secure connections. select configuration blade in the settings section.
Next, make sure secured transfer required is enabled.
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.
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.
After selecting the networking blade, ensure public network access is enabled and save your work.
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:
Highly Available: Ensures data safety even during hardware failures.
Secure: All data written to storage accounts is encrypted.
Scalable: Easily meets storage and performance needs.
Managed: Azure handles all maintenance and updates.
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.
This content originally appeared on DEV Community and was authored by Kelvin Obua
Kelvin Obua | Sciencx (2024-10-07T20:42:51+00:00) How to Create a Resource Group and Storage Account on Azure. Retrieved from https://www.scien.cx/2024/10/07/how-to-create-a-resource-group-and-storage-account-on-azure/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.