Logo Azure Landing Zone Setup

Azure Landing Zone Setup

Cộng đồng
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".

Tổng quan

Nhà phát hànhselvarajmurugesan90
Kho mãops-engineering-skills
Tên kỹ năngazure-landing-zone-setup
Sao
44
Bản fork
18
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được selvarajmurugesan90 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Azure Landing Zone Setup trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/selvarajmurugesan90/ops-engineering-skills/tree/main/plugins/cloud/skills/azure-landing-zone-setup
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Azure Landing Zone Setup trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Azure Landing Zone Setup ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Azure Landing Zone Setup với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Câu hỏi thường gặp

Kỹ năng AI Azure Landing Zone Setup làm được gì?

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

Vì sao nên dùng Azure Landing Zone Setup trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Azure Landing Zone Setup là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Azure Landing Zone Setup trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/selvarajmurugesan90/ops-engineering-skills/tree/main/plugins/cloud/skills/azure-landing-zone-setup. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Azure Landing Zone Setup?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Azure Landing Zone Setup với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Azure Landing Zone Setup với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Azure Landing Zone Setup có miễn phí không?

Có. Kỹ năng này được selvarajmurugesan90 phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇