Azure Landing Zone Setup 标志

Azure Landing Zone Setup

社区
selvarajmurugesan90
azure-landing-zone-setup

Guides designing and implementing an Azure landing zone using Management Groups, subscription democratization, Azure Policy, and the Cloud Adoption Framework (CAF) Landing Zone Accelerator pattern. Use when a user asks to "design an Azure landing zone", "set up Management Groups and subscriptions", "implement Azure Policy guardrails", "onboard a new Azure subscription", "structure our Azure tenant", or "migrate to the CAF enterprise-scale landing zone".

Add to TypingMind

概览

发布者selvarajmurugesan90
代码仓库ops-engineering-skills
技能名称azure-landing-zone-setup
星标数
44
复刻数
18
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 selvarajmurugesan90 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Azure Landing Zone Setup AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/selvarajmurugesan90/ops-engineering-skills/tree/main/plugins/cloud/skills/azure-landing-zone-setup
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/selvarajmurugesan90/ops-engineering-skills.git /tmp/ops-engineering-skills
mkdir -p .claude/skills
cp -r /tmp/ops-engineering-skills/plugins/cloud/skills/azure-landing-zone-setup .claude/skills/azure-landing-zone-setup
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Azure Landing Zone Setup,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Azure Landing Zone Setup。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Azure Landing Zone Setup 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Azure Landing Zone Setup

Purpose

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.

When to use

  • Standing up a new Azure tenant or restructuring subscriptions under Management Groups for the first time.
  • Deciding the Management Group hierarchy and which Azure Policy initiatives apply at which level.
  • Onboarding a new subscription for a business unit, product team, or environment (dev/test/prod).
  • Migrating from the classic CAF "foundation" template to "enterprise-scale," or from a flat single-subscription tenant.
  • Auditing an existing tenant for Azure Policy compliance drift or subscriptions that sit outside any Management Group governance.

Prerequisites & environment

  • Global Administrator or at least Owner/User Access Administrator at the tenant root Management Group to create the Management Group hierarchy.
  • Azure CLI ≥ 2.60 or Azure PowerShell 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).
  • An Enterprise Agreement (EA), Microsoft Customer Agreement (MCA), or Cloud Solution Provider (CSP) billing relationship — subscription creation mechanics (and who can automate it) differ by agreement type.
  • Decide the accelerator: the Azure Landing Zone (ALZ) Bicep/Terraform modules (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.
  • Microsoft Entra ID (formerly Azure AD) tenant with groups already modeled for RBAC assignment (don't assign roles to individual users in a landing zone).

Step-by-step guidance

  1. 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.

  2. Create the Management Group hierarchy with Terraform:

    hcl
    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
    }
  3. 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:

    json
    {
      "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.

  4. 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:

    hcl
    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>"
    }
  5. 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.

  6. 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.

  7. 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.

  8. 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.

Best practices

  • Keep the Connectivity, Management, and Identity subscriptions free of application workloads — they exist purely for shared platform services.
  • Use Azure Policy deployIfNotExists and modify effects to auto-remediate common gaps (tags, diagnostic settings) instead of relying on audit effects that only report non-compliance.
  • Model environment separation (Prod/NonProd) as Management Groups or a consistent tag + policy condition, decided once, not mixed across subscriptions.
  • Prefer the Azure Verified Modules (AVM) or the official ALZ Terraform/Bicep accelerator over hand-rolled Management Group/Policy code — the accelerator is versioned and tested against Microsoft's reference architecture.
  • Set Azure Cost Management budgets and action groups on every subscription at vend time, not retroactively.
  • Keep policy assignments idempotent and Git-versioned; policy drift detection (az policy state list) should run in CI, not be discovered during an audit.

Common pitfalls

  • 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.

Worked example

Scenario: A retailer with a single legacy Azure subscription needs a proper landing zone before launching an online ordering platform.

  1. Create the enterprise-scale Management Group hierarchy under the tenant root: Platform (with Connectivity/Management/Identity), Landing Zones (with Corp/Online), Sandbox, Decommissioned.
  2. Move the legacy subscription into Landing Zones/Corp and assign the Azure Security Benchmark initiative plus a tag-enforcement policy.
  3. Stand up the Connectivity subscription with a hub VNet, Azure Firewall, and a shared private DNS zone for privatelink endpoints.
  4. Use the subscription vending module to create 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.
  5. Assign ordering-team-contributors (an Entra ID group) Contributor on sub-ordering-dev and a narrower custom role on sub-ordering-prod.
  6. Result: the online platform launches with network isolation from the legacy corp subscription, centralized logging, and policy guardrails already enforced — no manual RBAC or policy authoring by the ordering team.

Cross-references

常见问题

Azure Landing Zone Setup AI 技能有什么作用?

Guides designing and implementing an Azure landing zone using Management Groups, subscription democratization, Azure Policy, and the Cloud Adoption Framework (CAF) Landing Zone Accelerator pattern. Use when a user asks to "design an Azure landing zone", "set up Management Groups and subscriptions", "implement Azure Policy guardrails", "onboard a new Azure subscription", "structure our Azure tenant", or "migrate to the CAF enterprise-scale landing zone".

为什么在 TypingMind 中使用 Azure Landing Zone Setup?

因为您只需安装一次,就能搭配任何模型使用。Azure Landing Zone Setup 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Azure Landing Zone Setup?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/selvarajmurugesan90/ops-engineering-skills/tree/main/plugins/cloud/skills/azure-landing-zone-setup。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Azure Landing Zone Setup?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Azure Landing Zone Setup 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Azure Landing Zone Setup 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Azure Landing Zone Setup AI 技能免费吗?

是的。selvarajmurugesan90 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇