/cloud-skills:azure-landing-zone-setupfrom cloud-skills
Guides designing and implementing an Azure landing zone using Management Groups, subscription democratization, Azure Policy, and the Cloud Adoption Framework (CAF) enterprise-scale pattern.
Ships in cloud-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Azure's isolation boundary is the subscription, not the account — and subscriptions default to being cheap and numerous, which is a feature if the tenant has a real Management Group hierarchy and a liability if it doesn't. Without a landing zone, organizations end up with dozens of subscriptions with inconsistent Azure Policy assignments, no shared connectivity hub, and RBAC assigned ad hoc at the resource group level. This skill defines a landing zone aligned to Microsoft's Cloud Adoption Framework (CAF) "enterprise-scale" pattern: a Management Group hierarchy that mirrors organizational/environment boundaries, policy-as-guardrail enforced at scale, and a repeatable subscription vending process — so new teams get compliant subscriptions in hours, not weeks of manual RBAC and policy setup.
Owner/User Access Administrator at
the tenant root Management Group to create the Management Group
hierarchy.Az module, and Terraform ≥ 1.5
with the azurerm provider ≥ 3.x if using IaC (the azurerm
provider's Management Group and Policy resources changed materially
between 2.x and 3.x — do not mix generations of examples).Azure/alz-terraform-accelerator) for enterprise-scale, or a
lighter hand-rolled Management Group + Policy setup for smaller
estates. Enterprise-scale is the right default above roughly a handful
of subscriptions or multiple business units.Design the Management Group hierarchy before creating any subscription. The CAF enterprise-scale default:
Tenant Root Group
└── Contoso (intermediate root)
├── Platform
│ ├── Management (Log Analytics, Automation)
│ ├── Connectivity (Hub VNet, Azure Firewall, ExpressRoute)
│ └── Identity (domain controllers, if any)
├── Landing Zones
│ ├── Corp (no direct internet egress)
│ └── Online (internet-facing workloads)
├── Sandbox
└── Decommissioned
Map Landing Zones/Corp and Landing Zones/Online further into
per-environment Management Groups (Prod, NonProd) or rely on
subscription-level tagging plus policy Conditions — either is valid;
pick one and keep it consistent.
Create the Management Group hierarchy with Terraform:
resource "azurerm_management_group" "platform" {
display_name = "Platform"
parent_management_group_id = azurerm_management_group.contoso.id
}
resource "azurerm_management_group" "landing_zones_online" {
display_name = "Online"
parent_management_group_id = azurerm_management_group.landing_zones.id
}
Assign Azure Policy initiatives at the Management Group level, not
per-subscription. Example — deny public IP creation in the Corp
landing zone, and require diagnostic settings on all resources
tenant-wide:
{
"properties": {
"displayName": "Deny public IP in Corp landing zone",
"policyType": "Custom",
"mode": "All",
"policyRule": {
"if": {
"field": "type",
"equals": "Microsoft.Network/publicIPAddresses"
},
"then": { "effect": "deny" }
}
}
}
Assign built-in initiatives where they exist — e.g. the "Azure Security Benchmark" initiative — instead of hand-authoring equivalents; Microsoft updates them as new services ship.
Vend subscriptions through a repeatable process, either the Azure
subscription vending Terraform module
(Azure/subscription-vending/azurerm) or a ServiceNow/self-service
portal backed by the same Terraform. Every vended subscription should
land directly in the correct Management Group at creation time — never
in the tenant root — and inherit RBAC group assignments and budget
alerts automatically:
module "subscription_vending" {
source = "Azure/subscription-vending/azurerm"
version = "~> 1.0"
subscription_alias_name = "sub-checkout-prod"
subscription_display_name = "checkout-prod"
subscription_management_group_id = azurerm_management_group.landing_zones_online.id
subscription_billing_scope = "<BILLING_SCOPE_ID>"
}
Stand up the Connectivity subscription first (hub VNet, Azure Firewall or NVA, ExpressRoute/VPN gateway, private DNS zones) since every landing-zone subscription will peer to it — sequencing this after workload subscriptions exist means retrofitting peering and routes everywhere.
Centralize logging: route Activity Logs and resource diagnostic
settings from every subscription to a shared Log Analytics workspace
in the Management subscription via an Azure Policy
DeployIfNotExists assignment, so new resources are captured
automatically without per-team opt-in.
Define RBAC at the Management Group and subscription level using
Entra ID groups, e.g. checkout-team-contributors mapped to
Contributor on the checkout-prod subscription — never assign roles
to individual user principals in a landing zone.
Validate with a canary subscription: vend one throwaway subscription through the pipeline, confirm policy assignments show as "Compliant," RBAC groups resolved correctly, and diagnostic settings auto-deployed, then decommission it.
deployIfNotExists and modify effects to
auto-remediate common gaps (tags, diagnostic settings) instead of
relying on audit effects that only report non-compliance.Prod/NonProd) as Management Groups
or a consistent tag + policy condition, decided once, not mixed
across subscriptions.az policy state list) should run in CI, not be discovered
during an audit.Symptom: A newly created subscription shows as "Not Compliant" or, worse, has none of the expected policies at all. Fix: Subscriptions created outside the vending pipeline (e.g. directly in the EA portal) land in the tenant root Management Group by default, which usually has no policy assignments. Move the subscription into the correct Management Group explicitly — policy inheritance is not retroactive for resources already deployed, so also trigger a policy remediation task.
Symptom: Azure Policy assignment with deployIfNotExists shows
"Compliant" but the remediation never actually ran.
Fix: deployIfNotExists and modify policies require a
system-assigned managed identity with an RBAC role (e.g.
Log Analytics Contributor) granted at the assignment scope. If the
identity's role assignment is missing, remediation silently fails while
the policy still evaluates as compliant-pending. Check
az policy remediation list for failed tasks explicitly.
Symptom: Two teams both try to peer their spoke VNet to the hub and get overlapping address space errors. Fix: No central IP address management (IPAM) plan existed before subscriptions were vended. Reserve CIDR blocks per landing zone / environment in the vending module itself (e.g. via Azure Virtual Network Manager or a simple IPAM spreadsheet-as-code) before the first spoke is created.
Symptom: Billing shows unexpectedly high spend in Sandbox subscriptions. Fix: Sandbox Management Group had lighter policy than intended (e.g. no SKU restriction policy), so a developer spun up expensive VM SKUs. Apply a SKU-allowlist policy and a hard subscription spending limit/budget action group to the Sandbox Management Group specifically.
Scenario: A retailer with a single legacy Azure subscription needs a proper landing zone before launching an online ordering platform.
Platform (with Connectivity/Management/Identity),
Landing Zones (with Corp/Online), Sandbox, Decommissioned.Landing Zones/Corp and assign the
Azure Security Benchmark initiative plus a tag-enforcement policy.Connectivity subscription with a hub VNet, Azure
Firewall, and a shared private DNS zone for privatelink endpoints.sub-ordering-prod and
sub-ordering-dev, landing in Landing Zones/Online and Sandbox
respectively, each auto-peered to the hub and pre-assigned the
"deny public IP" and "require diagnostic settings" policies.ordering-team-contributors (an Entra ID group) Contributor
on sub-ordering-dev and a narrower custom role on
sub-ordering-prod.What SKILL.md sets; muted values are Claude Code's defaults
14 skills in this plugin
/aws-landing-zone-setupGuides designing and implementing a multi-account AWS landing zone using AWS Organizations, Control Tower, and Account Factory — including the account/OU hierarchy, Service Control Policies, centralized logging, and baseline guardrails. Use when a user asks to "set up a new AWS account structure", "design an AWS landing zone", "implement AWS Control Tower", "create OUs and SCPs", "bootstrap a multi-account AWS environment", or "onboard a new AWS account into our organization".
/cloud-access-request-and-iam-lifecycle-managementHandles the everyday operational request to grant, time-box, and later revoke a scoped IAM permission for a contractor, new hire, or a temporary need (e.g. "give the new contractor read-only S3 access for 30 days," "grant break-fix access to prod for this incident," "revoke Priya's access, she left the team," "why does this access request keep getting rejected") — including expiry enforcement and the audit trail a security review will ask for. Use for a single access grant/revoke transaction, not for designing the underlying IAM policy/role structure (see cloud-iam-hardening for that).
/cloud-cost-anomaly-investigationWalks through investigating an unexpected cost spike on this month's cloud bill right now — querying AWS Cost Explorer/CUR, Azure Cost Management, or GCP BigQuery billing export to isolate the specific resource, tag, and team responsible before it becomes a formal FinOps review. Use when a user asks "why did our AWS/Azure/GCP bill jump this week/month," "what's driving this cost anomaly alert," "find what resource caused this spike," or "who do I ask about this spend before the finance review." Distinct from cloud-cost-finops-optimization, which covers the ongoing tagging/rightsizing/commitment program this investigation is a single incident inside of.
/cloud-cost-finops-optimizationGuides establishing cloud cost visibility and reducing spend across AWS, Azure, and GCP through tagging/labeling discipline, rightsizing, commitment-based discounts (Reserved Instances, Savings Plans, Committed Use Discounts), and FinOps showback/chargeback practices. Use when a user asks to "reduce our cloud bill", "set up cost allocation tags", "find idle/oversized resources", "decide between Reserved Instances and Savings Plans", "implement FinOps", "explain why cloud spend went up", or "build a cost dashboard per team".
/cloud-iam-hardeningGuides hardening identity and access management across AWS, Azure, and GCP — least-privilege policy design, eliminating long-lived credentials in favor of federation (OIDC/Workload Identity), break-glass access, and periodic access review. Use when a user asks to "reduce IAM permissions", "remove unused IAM roles", "set up federated/keyless access for CI/CD", "harden our cloud identity posture", "review who has admin access", "implement least privilege", or "get rid of long-lived access keys".
/cloud-native-storage-strategyGuides choosing and configuring cloud storage services — object storage (S3, Azure Blob, GCS), block storage, file storage, and lifecycle/ tiering policies — with encryption, access control, and cost-tiering best practices across AWS, Azure, and GCP. Use when a user asks to "design a storage architecture", "choose between object/block/file storage", "set up storage lifecycle/tiering policies", "encrypt data at rest", "prevent a storage bucket from being public", "reduce storage costs", or "pick a storage class for infrequently accessed data".
npx claudepluginhub selvarajmurugesan90/ops-engineering-skills --plugin cloud-skillsOther plugins' skills for the same job