When used individually, Azure Management Groups, Subscriptions, and Resource Groups are very powerful. But when used together, they can establish the entire organizational structure of Azure.
In this article, I will explain Azure Resource Manager, Management Groups, Subscriptions and Resource Groups. I’ll show the relationship between each and provide guidance on how to most effectively use them all to organize Azure to meet the needs of your business.
To deep dive into these topics, check out Cloud Academy’s full video-based Learning Path: AZ-103 Exam Preparation: Microsoft Azure Administrator. This Learning Path is designed to help you prepare for the AZ-103 Microsoft Azure Administrator exam, and it’s loaded with 25+ hours of content, including courses, quizzes, hands-on labs, and practices exams.
Azure Resource Manager
In Azure, Subscriptions, Management Groups, and Resource Groups are all essential organizational constructs. But to understand the purpose of Azure Subscriptions and Management Groups, you need to begin by understanding the Azure Resource Management hierarchy.
What is Azure Resource Manager?
Azure Resource Manager is at the core of Microsoft Azure. It serves as an essential component of Azure deployment and provides a unified management layer regardless of the tool set used. Whether you use the Azure website, Azure CLI, Azure Powershell, or one of the many other methods for managing Azure resources, your commands all utilize Azure Resource Manager.
Understanding the Resource Manager Hierarchy
The Azure Resource Manager model uses four levels, or “scopes.” The following diagram provides an example of each of these scopes.
Image Source: Azure Resource Manager Overview
Azure Management Groups
What is a management group?
An Azure Management group is logical containers that allow Azure Administrators to manage access, policy, and compliance across multiple Azure Subscriptions en masse. Management groups allow you to build an Azure Subscription tree that can be used with several other Azure service, including Azure Policy and Azure Role Based Access Control. Azure Management Groups provide flexibility for organizing policy, access control, and compliance across multiple subscriptions. We can nest Azure Management Groups up to six levels deep for efficient management of resources.
Effective use of management groups
Among the multiple ways management groups can be utilized, Azure Management Groups can mirror your billing hierarchy. Often enterprises begin utilizing management groups in this method. However, the power of management groups is when you use them to model your organization. Azure Subscriptions can be grouped based on a need for common roles assigned along with Azure Policies and initiatives.
Organizing with management groups
Azure Management Groups provide a level of organization above Azure Subscriptions. If your company has more than one or two Azure Subscriptions, you will want to actively control access, policies, and compliance for those subscriptions. All subscription objects within a management group receives a copy of the role-based access control and policy settings applied to the management group.
Root management group for each directory
Each Azure Active Directory (AD) tenant includes a top level or “root” management group. By default, only an Azure AD Global Administrator can access this root level group, and only after elevating access. The root management group has several important facts to be aware of:
- Root management group is named Tenant root group, though the name can be changed.
- The root management group cannot be moved or deleted
- All management groups in the Azure AD are under the root management group.
- All Azure users can see the root management group
- You can only have one root management group
- New subscriptions are automatically placed in the root management group when created.
Important facts about management groups
- Up to 10,000 management groups are supported in a single Azure AD tenant.
- Management group trees can support up to six levels of depth, not including the root level or the subscription level.
- Management groups and subscriptions can only support one parent.
- Management groups can have many children.
- All subscriptions and management groups are within a single hierarchy in each directory.
Limitations of management groups
Management groups have one large limitation: A management group cannot contain an Azure Resource. It can only contain other management groups or subscriptions.
What is an Azure Subscription?
An Azure Subscription can be defined in many ways, but at its simplest a subscription refers to the logical entity that provides entitlement to deploy and consume Azure resources. Some other ways to define an Azure Subscription:
- A logical collection of Azure resources. Each asset in Azure is deployed to a single subscription.
- A defined administrative security boundary that supports Role-Based Access Control.
- A limiting factor to Azure scale (more on this below, see Subscription Limitations).
- A deployment construct for the organization and consistency of Azure resources
Azure Subscriptions come with multiple considerations:
- An Azure Subscription doesn’t cost anything
- Each Azure Subscription has its own Administrators
- Azure Subscriptions are global and can contain resources from multiple regions
- Subscriptions can be purchased via many different methods (see Types of Subscriptions)
Microsoft’s definition of a subscription is “an agreement with Microsoft to use one or more Microsoft cloud platforms or services, for which charges accrue based on either a per-user license fee or on cloud-based resource consumption.”
How do subscriptions work?
Azure Subscriptions, at their core, are simple constructs. As stated above, an Azure Subscription can be used in multiple ways to organize and store Azure resources, and to organize resources in containers.
Types of subscriptions
There are a large number of ways to create a subscription with Microsoft Azure, I am going to attempt to list the most prevalent. Please see the Microsoft Azure Offer Details site for a complete list of subscription types.
- Enterprise Agreement (EA) – an Enterprise Agreement is a volume licensing program offered by Microsoft. The Enterprise Agreement most often is seen in larger organizations with 500 or more users, and is a three year contract with Microsoft. The EA is one of the most common types of subscriptions. Also see Enterprise Dev/Test, which offers the same access as an Enterprise Agreement with a reduced rate for development and test workloads.
- Pay as you go – Pay as you go is the second most common subscription type. Typically, the business will place a credit card file. Though rare, occasionally a client will pay by invoice.
- Free Trial – Anyone can sign up for a Free Trial of Azure, which is good for 30 days. The free trial subscription includes $200 of Azure spend credits. A free trial is converted to Pay once a credit card is placed on file.
- Cloud Solutions Partner (CSP) – CSP subscriptions are purchased through a Microsoft partner.
Azure has a large number of limitations per subscription, which are often referred to as “quotas”. Many (but not all) of the subscription limits can be raised by opening an online customer support request with Microsoft. Even so, all limits have a maximum value. Once you reach a maximum value, the only way to overcome it is multiple subscriptions. Details on most of the limits can be found on Microsoft Documentation site Azure subscription and service limits, quotas, and constraints.
In addition to Management Groups, subscriptions provide multiple layers to best organize Azure Resources to meet the needs of the enterprise. Ultimately, it is up to the business to determine how best to utilize Azure Subscriptions to organize Azure Resources. My advice; start simple. Generally I recommend beginning with two subscriptions, one for Production resources and one for non-production such as development and test.
How many subscriptions is too many?
As the number of Azure Subscriptions increases, so too does the management complexity and administrative overhead. With that being said, I give the same advice to everyone who asks me this question. Start as simple as possible, and expand as business needs demand. But with that advice, I also include the following caveat. Azure Azure (and your business) grow, be prepared to discover that the business has developed a requirement that will necessitate a move to additional subscriptions.
Subscription and management group hierarchy examples
Used in conjunction, Azure Subscriptions and Management Groups can be used to create an organizational hierarchy for your Azure Resources. An example hierarchy is included below.
Azure Resource Groups
What is a resource group?
Resource groups are the lowest level of organizational scope, and are the level that contains almost all Azure Resources. Azure Resources Groups are logical collections of virtual machines, app services, storage accounts, virtual networks, web apps, Azure SQL databases, etc. Resource groups can be utilized to subdivide resources by application or environment, among the many options.
Azure Resource Groups are a useful tool for Role-Based Access Control (RBAC). This will allow you to grant user access at the group level. Resource Groups can also simplify reporting and billing.
5 Steps to Vulnerability Management for Containers
Organizations have begun embracing containers due to their simplicity and to the fact that they allow for a faster development and deployment velocity. Although developers are thrilled with containers because they allow them to deliver solutions more quickly, security teams are sometime...
Elasticsearch vs. CloudSearch: AWS Cloud Search Choices
Elasticsearch vs. CloudSearch: What's the main difference? Let's compare AWS-based cloud tools: Elasticsearch vs. CloudSearch. While both services use proven technologies, Elasticsearch is more popular, open source, and has a flexible API to use for customization; in comparison, CloudS...
New on Cloud Academy: Git Labs, CKA and CKAD Lab Challenges, AWS and Azure Learning Paths, AGILE, and Much More
We just kicked off our first Free Weekend of 2020. This means we've unlocked our Training Library for just 72 hours. Until Sunday at 11:59 pm (PST), you can get unlimited access to our industry-leading learning paths, courses, certification prep exams, and our most popular hands-on labs...
How to Unlock Complimentary Access to Cloud Academy
Are you looking to get trained or certified on AWS, Azure, Google Cloud Platform, DevOps, Cybersecurity, Information Security, Python, Java, or another technical skill? Then you'll want to mark your calendars. Starting Friday, February 7 at 12:00 a.m. PST (3:00 a.m. EST), Cloud Acade...
New on Cloud Academy: Red Hat, Agile, OWASP Labs, Amazon SageMaker Lab, Linux Command Line Lab, SQL, Git Labs, Scrum Master, Azure Architects Lab, and Much More
Happy New Year! We hope you're ready to kick your training in overdrive in 2020 because we have a ton of new content for you. Not only do we have a bunch of new courses, hands-on labs, and lab challenges on AWS, Azure, and Google Cloud, but we also have three new courses on Red Hat, th...
Azure Security: Best Practices You Need to Know
When it comes to Azure Security best practices, where do you begin? In a lot of ways, Azure is very similar to any other data center. But with that said, Azure can also be very different. Securing Azure can pose many unique challenges. The security of resources hosted in Azure is of the...
Google Cloud Platform Certification: Preparation and Prerequisites
Google Cloud Platform (GCP) has evolved from being a niche player to a serious competitor to Amazon Web Services and Microsoft Azure. In 2019, research firm Gartner placed Google in the Leaders quadrant in its Magic Quadrant for Cloud Infrastructure as a Service for the second consecuti...
New Lab Challenges: Push Your Skills to the Next Level
Build hands-on experience using real accounts on AWS, Azure, Google Cloud Platform, and more Meaningful cloud skills require more than book knowledge. Hands-on experience is required to translate knowledge into real-world results. We see this time and time again in studies about how pe...
New on Cloud Academy: AWS Solution Architect Lab Challenge, Azure Hands-on Labs, Foundation Certificate in Cyber Security, and Much More
Now that Thanksgiving is over and the craziness of Black Friday has died down, it's now time for the busiest season of the year. Whether you're a last-minute shopper or you already have your shopping done, the holidays bring so much more excitement than any other time of year. Since our...
Understanding Enterprise Cloud Migration
What is enterprise cloud migration? Cloud migration is about moving your data, applications, and even infrastructure from your on-premises computers or infrastructure to a virtual pool of on-demand, shared resources that offer compute, storage, and network services at scale. Why d...
Kubernetes Services: AWS vs. Azure vs. Google Cloud
Kubernetes is a popular open-source container orchestration platform that allows us to deploy and manage multi-container applications at scale. Businesses are rapidly adopting this revolutionary technology to modernize their applications. Cloud service providers — such as Amazon Web Ser...
New on Cloud Academy: AZ-900 Exam Update; MS-100 Exam Prep; PRINCE2 Foundation; Azure, Kubernetes, and Google Hands-on Labs; and Much More
This month, our Content Team really kicked it into overdrive with tons of new content. If you're Team Azure, then you'll be amazed at the number of Azure Courses and Hands-on Labs we published this month alone! At any time, you can find all of our new releases by going to our Training ...