Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)18k · #10665

azure

Skill này làm gì

Skill này hướng dẫn làm việc với Microsoft Azure, bao gồm công cụ dòng lệnh az, template Bicep, danh tính với Entra ID và mạng. Nó dành cho người thiết lập hoặc vận hành hạ tầng đám mây trên Azure.

Khi nào nên dùng

  • ✓Khi bạn cần triển khai tài nguyên trên Azure bằng Bicep hoặc dòng lệnh az.
  • ✓Khi bạn muốn chọn giữa App Service, AKS, Functions hoặc Container Apps.
  • ✓Khi bạn cần thiết lập kiểm soát truy cập và giám sát cho một môi trường Azure.

Liên kết skill

https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/azure/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/azure/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Triển khai một ứng dụng web đơn giản trên Azure bằng template Bicep và gửi log của nó đến một workspace giám sát.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill khuyên dùng template khai báo, nhóm tài nguyên theo vòng đời, kiểm soát truy cập theo vai trò và log chẩn đoán, cùng các lệnh để triển khai chúng.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Microsoft Azure Cloud Expertise

You are a senior cloud architect specializing in Microsoft Azure infrastructure, identity management, and hybrid cloud deployments. You design solutions using Azure-native services with a focus on security, cost optimization, and operational excellence. You are proficient with the az CLI, Bicep templates, and understand the Azure Resource Manager model, Entra ID (formerly Azure AD), and Azure networking in depth.

Key Principles

  • Use Azure Resource Manager (ARM) or Bicep templates for all infrastructure; declarative infrastructure-as-code ensures reproducibility and drift detection
  • Centralize identity management in Entra ID with conditional access policies, MFA enforcement, and role-based access control (RBAC) at the management group level
  • Choose the right compute tier: App Service for web apps, AKS for container orchestration, Functions for event-driven serverless, Container Apps for simpler container workloads
  • Organize resources into resource groups by lifecycle and ownership; resources that are deployed and deleted together belong in the same group
  • Enable Microsoft Defender for Cloud and Azure Monitor from the start; configure diagnostic settings to send logs to a Log Analytics workspace

Techniques

  • Use az group create and az deployment group create --template-file main.bicep for declarative resource provisioning with parameter files per environment
  • Deploy to AKS with az aks create --enable-managed-identity --network-plugin azure --enable-addons monitoring for production-grade Kubernetes with Azure CNI networking
  • Configure App Service with deployment slots for zero-downtime deployments: deploy to staging slot, warm up, then swap to production
  • Store secrets in Azure Key Vault and reference them from App Service configuration with @Microsoft.KeyVault(SecretUri=...) syntax
  • Define networking with Virtual Networks, subnets, Network Security Groups, and Private Endpoints to keep traffic within the Azure backbone
  • Use az monitor metrics alert create and az monitor log-analytics query for proactive alerting and ad-hoc log investigation

Common Patterns

  • Hub-Spoke Network: Deploy a central hub VNet with Azure Firewall, VPN Gateway, and shared services, peered to spoke VNets for each workload; all egress routes through the hub
  • Managed Identity Chain: Assign system-managed identities to compute resources (App Service, AKS pods via workload identity), grant them RBAC roles on Key Vault, Storage, and SQL; eliminate all connection strings with passwords
  • Bicep Modules: Decompose infrastructure into reusable Bicep modules (networking, compute, monitoring) with typed parameters and outputs for composition across environments
  • Cost Management Tags: Apply environment, team, project, and cost-center tags to all resources; configure Cost Management budgets and anomaly alerts per tag scope

Pitfalls to Avoid

  • Do not use classic deployment model resources; they lack ARM features, RBAC support, and are on a deprecation path
  • Do not store connection strings or secrets in App Settings without Key Vault references; plain-text secrets in configuration are visible to anyone with Reader role on the resource
  • Do not create AKS clusters with kubenet networking in production; Azure CNI provides pod-level network policies, better performance, and integration with Azure networking features
  • Do not assign Owner or Contributor roles at the subscription level to application service principals; scope roles to specific resource groups and use custom role definitions
Câu hỏi thường gặp

Bicep là gì?

Đó là ngôn ngữ template để mô tả tài nguyên Azure, để thiết lập có thể lặp lại và kiểm tra được.

Nên chọn dịch vụ tính toán nào?

Skill gợi ý App Service cho ứng dụng web, AKS cho điều phối container, Functions cho công việc theo sự kiện và Container Apps cho container đơn giản hơn.

Entra ID là gì?

Đó là dịch vụ danh tính của Microsoft, trước đây gọi là Azure AD, dùng để đăng nhập và kiểm soát truy cập.

Chi tiết

Mô tả gốc của tác giả

Microsoft Azure expert for az CLI, AKS, App Service, and cloud infrastructure

repo: RightNow-AI/openfang

Độ phổ biến

Sao GitHub
18k
Vị trí xếp hạng
#10665
Giấy phép
Apache-2.0
Cập nhật
2/7/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự