Management Hierarchy Design
Complete the full lesson to earn 25 points — 50 with Pro
Work through each section, then tap “Mark as Complete” on the last one.
✦ Skip the page breaks, the wait, and see fewer ads — read each lesson on a single page with Pro
Module: Migrate SAP Workloads to Azure
Section: Azure Environment Design
Lesson Title: Management Hierarchy Design
Introduction: Why Management Hierarchy Matters for SAP on Azure
When you decide to migrate mission-critical SAP workloads to Microsoft Azure, the technical migration of the database and application servers is only half the battle. The most significant challenge often lies in the foundational structure of your cloud environment. A well-thought-out management hierarchy acts as the skeleton of your entire Azure footprint. It dictates how your organization manages costs, enforces security policies, organizes resources, and maintains compliance across the lifecycle of your SAP systems.
Without a structured hierarchy, you risk creating a "Wild West" environment where SAP production systems, sandbox environments, and development clusters are mixed in ways that make cost tracking, access control, and auditing nearly impossible. For large-scale SAP deployments, which often involve complex landscapes like ECC, S/4HANA, BW/4HANA, and various integration layers, the management hierarchy must be designed to reflect your organizational structure, operational models, and geographical requirements.
This lesson explores the core components of the Azure management hierarchy—Management Groups, Subscriptions, Resource Groups, and Tags—and shows you how to design them specifically for the unique demands of SAP landscapes. By the end of this guide, you will understand how to build a scalable, secure, and manageable environment that supports your SAP workloads today and scales as your business grows tomorrow.
The Components of the Azure Management Hierarchy
Azure provides a multi-level structure that allows for the logical grouping of resources. Understanding the relationship between these levels is essential for effective governance.
1. Management Groups
Management Groups are the highest level of organization in Azure. They provide a scope above Subscriptions, allowing you to apply governance policies and access controls across multiple subscriptions simultaneously. If you have multiple SAP landscapes (e.g., one for North America and one for Europe), you can use Management Groups to ensure that security policies are applied consistently to both.
2. Subscriptions
A subscription is the unit of billing and the boundary for service limits. In the context of SAP, subscriptions are often used to isolate production environments from non-production environments. This separation is critical for financial reporting, as it allows leadership to clearly see the infrastructure costs associated with maintaining the "live" production SAP environment versus development and testing phases.
3. Resource Groups
Resource Groups are containers that hold related resources for an Azure solution. For an SAP system, a Resource Group typically contains the Virtual Machines, Managed Disks, Virtual Network Interfaces, and Load Balancers associated with a single SAP instance (such as a Production SAP S/4HANA server). They serve as the functional boundary for lifecycle management.
4. Tags
Tags are metadata key-value pairs that you apply to resources. While not a "container" in the same sense as the others, tags are the glue that holds your reporting together. You might tag a resource with Environment: Production, SAP-System-ID: PRD, or Cost-Center: 12345. Without a strict tagging policy, your management hierarchy will fail at the reporting level.
Callout: Hierarchy vs. Topology It is important to distinguish between the Management Hierarchy and the Network Topology. The Management Hierarchy (Management Groups/Subscriptions) governs who can do what and how much it costs. The Network Topology (VNets/Subnets) governs how the servers talk to each other. While they should align, they serve different masters: governance versus connectivity.
Designing the Hierarchy for SAP Workloads
When designing the structure for SAP, you must balance simplicity with the need for strict isolation. A common mistake is creating too many subscriptions, which leads to "subscription sprawl" and administrative overhead. Conversely, stuffing all SAP landscapes into a single subscription makes it impossible to apply granular access controls or limit the blast radius of a potential configuration error.
The Recommended Structure
For most mid-to-large enterprises, a tiered approach is the industry standard:
- Root Management Group: The parent of all Azure activity.
- SAP Platform Management Group: A dedicated child group for all SAP-related subscriptions.
- Subscription Tier:
- Prod Subscription: Contains all live, customer-facing SAP systems.
- Non-Prod Subscription: Contains development, quality assurance, and sandboxes.
- Shared Services Subscription: Contains supporting infrastructure like SAP Router, Jumpboxes, or centralized monitoring tools.
Why Separate Non-Prod from Prod?
Separating these environments at the subscription level is not just about billing. It is about security and operational safety. You can apply a policy to the "Prod" subscription that restricts the ability to delete resources or perform automated shutdowns, whereas the "Non-Prod" subscription can have more permissive policies to allow developers to experiment and rebuild environments as needed.
Implementing Resource Groups: The SAP Instance Model
Within your subscriptions, you need a consistent strategy for Resource Groups. For SAP, the most effective approach is to group resources by the SAP System ID (SID).
Consider an SAP S/4HANA system with the SID P01. All components of this system—the database server, the application server, the disk storage, and the network interfaces—should reside in a single Resource Group named RG-SAP-P01-PROD.
Benefits of the SID-based Resource Group strategy:
- Lifecycle Management: If you need to decommission an old SAP instance, you can delete the entire Resource Group, and you can be confident that you are not leaving "orphaned" disks or network interfaces behind.
- Access Control (RBAC): You can grant the SAP Basis team "Contributor" access to the
RG-SAP-P01-PRODgroup while restricting their access to the underlying virtual network or the subscription-level settings. - Cost Transparency: When you look at the Azure Cost Management portal, you can filter by the Resource Group name to see exactly how much that specific SAP system is costing the business on a monthly basis.
Tip: Managing Resource Limits Azure has limits on the number of resources per Resource Group. While these limits are quite high (800 resources per group), a massive SAP landscape with many disks might approach this. Always plan for the number of managed disks, as each SAP server usually requires several data and log disks.
Tagging Strategies: The Foundation of Visibility
A hierarchy is only as good as the metadata attached to its resources. In a large enterprise, you might have hundreds of virtual machines. Without a robust tagging policy, you will struggle to identify which VMs belong to which project, department, or business unit.
Recommended Tagging Schema for SAP
Implement a mandatory tagging policy using Azure Policy. Every resource associated with an SAP deployment should have at least the following tags:
- Owner: The person or team responsible for the system.
- CostCenter: The financial code for chargebacks.
- Environment: (e.g., PROD, QA, DEV, SANDBOX).
- SAP-SID: The three-character SAP System ID.
- SAP-Component: (e.g., AppServer, DBServer, CentralServices).
- Patch-Schedule: (e.g., Weekend-Morning, Weekday-Evening).
Enforcing Tags with Azure Policy
You can use Azure Policy to prevent the creation of any resource that does not have these tags. This is a common industry practice to ensure that your reporting is never broken by human error.
Example: Azure Policy Definition (JSON)
The following snippet shows an Azure Policy rule that denies the creation of a resource if it lacks the SAP-SID tag.
{
"policyRule": {
"if": {
"allOf": [
{
"field": "tags['SAP-SID']",
"exists": "false"
}
]
},
"then": {
"effect": "deny"
}
}
}
Explanation of the code:
This policy evaluates every request to create a resource. If the resource does not contain a tag named SAP-SID, the effect is set to deny, meaning the resource creation will fail. This forces administrators to provide the required metadata before they can deploy any infrastructure.
Step-by-Step: Setting Up Your Hierarchy
If you are starting from scratch, follow these steps to build your Azure environment for SAP.
Step 1: Establish the Management Group Structure
- Navigate to the Azure Portal and search for "Management Groups."
- Create a new Management Group named "SAP-Workloads."
- Move your intended SAP subscriptions into this group. This allows you to apply policies (like the tagging policy mentioned above) to all SAP subscriptions at once.
Step 2: Define the Subscriptions
- Create at least three subscriptions:
SAP-Production,SAP-NonProduction, andSAP-SharedServices. - Assign the appropriate budgets to these subscriptions. This ensures that you receive alerts if the "Non-Production" environment exceeds its monthly budget.
Step 3: Standardize Resource Group Naming
- Adopt a naming convention, such as
RG-[Project]-[Environment]-[Region]. - For example,
RG-S4HANA-PROD-EastUSis descriptive and easy to identify. - Ensure that all team members follow this convention; inconsistent naming is the primary cause of confusion during incident response.
Step 4: Apply RBAC (Role-Based Access Control)
- Assign the "SAP Basis Administrator" role at the Resource Group level rather than the Subscription level.
- This limits the scope of what an administrator can impact, reducing the chance of an accidental outage to multiple systems.
Avoiding Common Pitfalls
Even with a plan, teams often fall into traps that cause long-term pain. Here are the most frequent mistakes:
1. The "Single Subscription" Trap
Many organizations start by putting everything in one subscription to "keep it simple." As the project grows, they realize they cannot distinguish costs between production and sandbox, and they cannot apply different security policies. Avoid this. Start with at least two subscriptions (Prod/Non-Prod) from day one.
2. Manual Resource Deployment
Deploying SAP servers via the Azure Portal GUI is a recipe for disaster. It leads to configuration drift, where the production server is set up slightly differently than the quality assurance server. Use Infrastructure as Code (IaC). Use Terraform or Bicep templates to deploy your SAP infrastructure. This ensures that your hierarchy and resource settings are consistent across every single environment.
3. Ignoring Resource Limits
Azure has subscription-level limits on the number of vCPUs and the number of public IP addresses. In a large SAP migration, you may hit these limits quickly. Proactively request limit increases from Microsoft Support before you start your migration, rather than waiting for a deployment to fail during a critical project phase.
Callout: Infrastructure as Code (IaC) for SAP When using Terraform or Bicep, you can define your Resource Group hierarchy and tagging policies within the same template that deploys your Virtual Machines. This ensures that every resource is born with the correct tags and placed in the correct group, eliminating manual errors entirely.
Comparison: Traditional vs. Cloud-Native SAP Hierarchy
| Feature | Traditional On-Premise | Azure Cloud-Native |
|---|---|---|
| Isolation | Physical VLANs/Firewalls | Subscription/Resource Group |
| Resource Growth | Hardware procurement (months) | Scaling in minutes |
| Cost Visibility | Fixed CapEx/Shared Data Center | Granular tagging/Budget Alerts |
| Governance | Manual checklists | Azure Policy/Blueprints |
| Access Control | Domain-based | RBAC/Managed Identities |
Best Practices for SAP on Azure
1. Implement Azure Blueprints
Azure Blueprints allow you to define a repeatable set of Azure resources that implement and adhere to your organization's standards, patterns, and requirements. For SAP, you can create a "blueprint" that automatically deploys the correct Resource Groups, tags, and RBAC roles whenever a new SAP environment is required.
2. Use Managed Identities
Avoid storing database passwords or service account credentials in your scripts. Use Azure Managed Identities for your virtual machines. This allows your SAP application servers to authenticate to other Azure services (like Key Vault or Storage Accounts) without ever needing to manage a password.
3. Centralized Logging and Monitoring
While your hierarchy separates resources, your monitoring should be centralized. Use an Azure Log Analytics Workspace to collect logs from all your SAP systems, regardless of which subscription they reside in. This provides a "single pane of glass" for troubleshooting performance issues across your entire landscape.
4. Network Isolation
Just as you isolate your production environment in a subscription, isolate your networking. Use a Hub-and-Spoke topology. The "Hub" contains your VPN/ExpressRoute gateway and firewall, while the "Spoke" contains your SAP application and database servers. This keeps the network management separate from the SAP application management.
Advanced: Designing for Multi-Region SAP Deployments
If your company operates globally, you might have SAP systems in the US, Europe, and Asia. Your management hierarchy should reflect this geographical distribution.
A common design for global organizations is:
- Management Group:
Global-SAP- Management Group:
US-SAP- Subscription:
US-Prod - Subscription:
US-NonProd
- Subscription:
- Management Group:
EU-SAP- Subscription:
EU-Prod - Subscription:
EU-NonProd
- Subscription:
- Management Group:
This design allows you to apply regional policies—such as data residency requirements (GDPR in Europe)—to the EU-SAP management group without affecting your US operations.
Common Questions (FAQ)
Q: Can I change my hierarchy after I have deployed resources? A: Yes, you can move Resource Groups between subscriptions, and subscriptions between Management Groups. However, this can be complex if you have resources that rely on specific network IDs or hardcoded references. Plan your hierarchy early to avoid the need for large-scale migrations later.
Q: How many Resource Groups should I have? A: A good rule of thumb is one Resource Group per SAP system (SID). If an SAP system has a very complex architecture, you might consider one for the database tier and one for the application tier, but keep it as simple as possible to reduce management overhead.
Q: Do I need a separate subscription for my SAP Router? A: It is often best to keep shared infrastructure like SAP Routers, Jumpboxes, and backup vaults in a dedicated "Shared Services" subscription. This keeps your production subscriptions clean and focused purely on application and database workloads.
Key Takeaways
- Hierarchy is Governance: The management hierarchy is the foundation for security, billing, and compliance. Design it before you migrate a single byte of data.
- Separate Environments: Always isolate Production from Non-Production at the subscription level. This is the single most effective way to prevent accidental outages and manage costs.
- Use SID-based Resource Groups: Grouping resources by the SAP System ID (SID) makes lifecycle management, auditing, and decommissioning much simpler.
- Enforce Tagging: A resource without a tag is an invisible resource. Use Azure Policy to mandate tags like
SAP-SIDandEnvironmentto ensure your cost and security reporting remains accurate. - Infrastructure as Code (IaC): Use tools like Terraform or Bicep to deploy your environment. Automation removes human error and ensures that your production and non-production environments are identical in configuration.
- Plan for Growth: Azure has limits on resources per subscription. Design your hierarchy with scalability in mind, and request quota increases well in advance of your migration milestones.
- Centralize Monitoring: While your hierarchy provides logical separation, your monitoring (Log Analytics) should be centralized to provide a holistic view of your SAP landscape's health.
By following these principles, you will create an Azure environment that is not only ready for your SAP migration but also easy to manage, secure, and cost-effective throughout the entire lifecycle of your systems. Designing the hierarchy is an investment in the long-term stability and success of your SAP-on-Azure journey.
Reach the last section to complete this lesson and earn points — you're on section 1 of 10.
- Target Sizing Estimation
- Target Sizing Estimation Quiz5q
- Supported SAP Deployment Scenarios
- Supported SAP Deployment Scenarios Quiz5q
- Compute Storage Network Requirements
- Compute Storage Network Requirements Quiz5q
- Subscription Models and Quotas
- Subscription Models and Quotas Quiz5q
- Software Licensing Requirements
- Software Licensing Requirements Quiz5q
- Cost Implications and Support Plans
- Cost Implications and Support Plans Quiz5q
- Migration Strategy Selection
- Migration Strategy Selection Quiz5q
- Migration Tools Selection
- Migration Tools Selection Quiz5q
- Authorization and Access Control
- Authorization and Access Control Quiz5q
- Governance and Compliance with Azure Policy
- Governance and Compliance with Azure Policy Quiz5q
- Authentication for SAP Workloads
- Authentication for SAP Workloads Quiz5q
- Authentication for SAP SaaS Applications
- Authentication for SAP SaaS Applications Quiz5q
- Management Hierarchy Design
- Management Hierarchy Design Quiz5q
- Azure Landing Zones for SAP
- Azure Landing Zones for SAP Quiz5q
- SAP-Certified Azure VMs
- SAP-Certified Azure VMs Quiz5q
- Azure VM Extension for SAP
- Azure VM Extension for SAP Quiz5q
- OS Deployment from Marketplace
- OS Deployment from Marketplace Quiz5q
- Custom Images for SAP
- Custom Images for SAP Quiz5q
- IaC with Bicep and ARM
- IaC with Bicep and ARM Quiz5q
- SAP Deployment Automation Framework
- SAP Deployment Automation Framework Quiz5q
- Azure Center for SAP Solutions
- Azure Center for SAP Solutions Quiz5q
- Virtual Networks and Subnets
- Virtual Networks and Subnets Quiz5q
- Accelerated Networking
- Accelerated Networking Quiz5q
- Proximity Placement Groups
- Proximity Placement Groups Quiz5q
- Latency Requirements for SAP
- Latency Requirements for SAP Quiz5q
- Network Flow Control
- Network Flow Control Quiz5q
- Network Security for SAP
- Network Security for SAP Quiz5q
- Service and Private Endpoints
- Service and Private Endpoints Quiz5q
- Azure DNS Integration
- Azure DNS Integration Quiz5q
- ExpressRoute for Hybrid Connectivity
- ExpressRoute for Hybrid Connectivity Quiz5q
- Storage Type Selection
- Storage Type Selection Quiz5q
- Disk Striping and Simple Volumes
- Disk Striping and Simple Volumes Quiz5q
- Storage Security Considerations
- Storage Security Considerations Quiz5q
- Data Protection Design
- Data Protection Design Quiz5q
- Disk Caching Configuration
- Disk Caching Configuration Quiz5q
- Write Accelerator Configuration
- Write Accelerator Configuration Quiz5q
- Storage Encryption
- Storage Encryption Quiz5q
- Azure NetApp Files for SAP
- Azure NetApp Files for SAP Quiz5q
- Azure Files for SAP
- Azure Files for SAP Quiz5q
- Azure Advisor Recommendations
- Azure Advisor Recommendations Quiz5q
- Network Performance Optimization
- Network Performance Optimization Quiz5q
- Savings Plans and Reserved Instances
- Savings Plans and Reserved Instances Quiz5q
- VM Resizing for Optimization
- VM Resizing for Optimization Quiz5q
- Storage Cost Optimization
- Storage Cost Optimization Quiz5q
- Data Archiving for Performance
- Data Archiving for Performance Quiz5q
- Application Server and DB Optimization
- Application Server and DB Optimization Quiz5q
- Azure Monitor for VMs
- Azure Monitor for VMs Quiz5q
- Monitor High Availability
- Monitor High Availability Quiz5q
- Monitor Storage
- Monitor Storage Quiz5q
- Network Watcher for SAP
- Network Watcher for SAP Quiz5q
- Azure Monitor for SAP Solutions
- Azure Monitor for SAP Solutions Quiz5q
- Azure Backup Management
- Azure Backup Management Quiz5q
- Start and Stop SAP Systems
- Start and Stop SAP Systems Quiz5q
- Virtual Instance Management
- Virtual Instance Management Quiz5q
- SAP LaMa Connector for Azure
- SAP LaMa Connector for Azure Quiz5q
- SLA Considerations
- SLA Considerations Quiz5q
- Availability Sets and Zones
- Availability Sets and Zones Quiz5q
- Load Balancing for HA
- Load Balancing for HA Quiz5q
- Clustering for HANA and SCS
- Clustering for HANA and SCS Quiz5q
- Clustering for SQL
- Clustering for SQL Quiz5q
- Pacemaker and STONITH
- Pacemaker and STONITH Quiz5q
- Azure Fence Agent and SBD
- Azure Fence Agent and SBD Quiz5q
- Storage-Level Replication
- Storage-Level Replication Quiz5q
- SAP System Restart Configuration
- SAP System Restart Configuration Quiz5q
- Azure Site Recovery Strategy
- Azure Site Recovery Strategy Quiz5q
- Regional Considerations for DR
- Regional Considerations for DR Quiz5q
- Network Configuration for DR
- Network Configuration for DR Quiz5q
- Backup Strategy for SLA
- Backup Strategy for SLA Quiz5q
- Backup and Snapshot Policies
- Backup and Snapshot Policies Quiz5q
- Backup Validation for SAP
- Backup Validation for SAP Quiz5q
- DR Testing Procedures
- DR Testing Procedures Quiz5q
Enjoying the courses?
Everything stays free. Pro shows fewer ads, doubles the points you earn on every lesson and quiz so you progress twice as fast, unlocks half of every practice exam — plus full case studies — with the Learn & Exam study modes, and lets you read each lesson on one page.
- ✓ Fewer advertisements
- ✓ 2× points per lesson & quiz
- ✓ 50% of every exam unlocked
- ✓ Learn & Exam modes
- ✓ Distraction-free lessons