I thought it was about time I started to write some articles about Microsoft Azure.
In this article, I am going to try and explain a bit about Resource Groups and show you how to create a Resource Group in Microsoft Azure using the new Portal.
What is a Resource Group
A Resource Group is used to logically group related resources such as Storage Accounts, Virtual Networks, and Virtual Machines (VMs) to deploy, manage, and maintain them as a single entity. Using Resource Groups makes it a lot easier to deploy applications/infrastructure whilst keeping all the related resources together from a management perspective. This also makes it easier for you to grant others access to the group of resources.
For a more comprehensive understanding of Resource Groups, read the article from Microsoft: Azure Resource Manager overview.
Key Feature of Resource Groups
A really cool feature of Resource Groups is the ability to build out your environment using ARM Templates. An ARM Template is just a JSON file that states the storage, networking and compute resources. You can also define any related custom scripts or configurations to apply.
By using ARM Templates, you can create consistent, reproducible deployments for your applications/infrastructure. Using ARM Templates you can easily build out an environment in development and then use the same template to create a production deployment or vice versa.
For a better understanding using templates, read the template walkthrough from Microsoft that guides you through each step of the building out a template.
There are two different approaches you can take when designing your environment with Resource Groups:
A Resource Groups for each application deployment/infrastructure sets that combine the storage accounts, virtual networks, and subnets, VMs, load balancers, etc.
Centralised Resource Groups that contain your core virtual networking and subnets or storage accounts. Your applications are then in their own Resource Groups that only contain VMs, load balancers, network interfaces, etc.
Creating a Centralised Resource Groups for your virtual networking and subnets makes it easier to Scale Out and build cross-premises network connections for hybrid connectivity options. The alternative approach is for each application to have their own virtual network that requires configuration and maintenance.
How to Create a Resource Group
Log in to your Azure Subscription by going to https://portal.azure.com
Click the green + and then Search for Resource Groups
Click Resource Group
Enter a name for the Resource Group and then click Create
You should now see a small notification popup like this
You have now created a Resource Group
I’m Richard Hooper aka Pixel Robots. I started this blog in 2016 for a couple reasons. The first reason was basically just a place for me to store my step by step guides, troubleshooting guides and just plain ideas about being a sysadmin. The second reason was to share what I have learned and found out with other people like me. Hopefully, you can find something useful on the site.