azure-lab-services
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAzure Lab Services Skill
Azure Lab Services Skill
This skill provides expert guidance for Azure Lab Services. Covers troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. It combines local quick-reference content with remote documentation fetching capabilities.
本Skill为Azure Lab Services提供专业指导,涵盖故障排除、最佳实践、决策制定、架构与设计模式、限制与配额、安全、配置、集成与编码模式以及部署。它结合了本地快速参考内容与远程文档获取能力。
How to Use This Skill
如何使用本Skill
IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g.,), useL35-L120with the specified lines. For categories with file links (e.g.,read_file), use[security.md](security.md)on the linked reference fileread_file
IMPORTANT for Agent: Ifis more than 3 months old, suggest the user pull the latest version from the repository. Ifmetadata.generated_attools are not available, suggest the user install it: Installation Guidemcp_microsoftdocs
This skill requires network access to fetch documentation content:
- Preferred: Use with query string
mcp_microsoftdocs:microsoft_docs_fetch. Returns Markdown.from=learn-agent-skill - Fallback: Use with query string
fetch_webpage. Returns Markdown.from=learn-agent-skill&accept=text/markdown
Agent重要提示:使用下方的类别索引定位相关章节。对于带有行范围的类别(例如),使用L35-L120并指定对应行;对于带有文件链接的类别(例如read_file),对链接的参考文件使用[security.md](security.md)。read_file
本Skill需要网络访问权限来获取文档内容:
- 首选方式:使用,并携带查询字符串
mcp_microsoftdocs:microsoft_docs_fetch,返回Markdown格式内容。from=learn-agent-skill - 备选方式:使用,并携带查询字符串
fetch_webpage,返回Markdown格式内容。from=learn-agent-skill&accept=text/markdown
Category Index
类别索引
| Category | Lines | Description |
|---|---|---|
| Troubleshooting | L37-L44 | Diagnosing and fixing VM access, connectivity, deployment, and lab-creation issues in Azure Lab Services, including when to redeploy or reimage VMs. |
| Best Practices | L45-L53 | Governance and setup guidance for lab plans, custom images, nested virtualization, Linux graphical RDP, and preparing optimized Windows template VMs in Azure Lab Services |
| Decision Making | L54-L65 | Guidance on when and how to use Azure Lab Services: choosing lab types, planning migrations (physical or to other services), cost estimation, GPU sizing, and running training or hackathon scenarios. |
| Architecture & Design Patterns | L66-L72 | Core Azure Lab Services architecture, supported networking topologies, and design patterns for building reliable, resilient lab environments and lab plans |
| Limits & Quotas | L73-L80 | VM capacity and core quotas for labs, how to view usage, request quota increases, and timelines for automatic VM deletion and cleanup. |
| Security | L81-L95 | RBAC roles, lab creator/owner assignment, Azure Policy for compliance and VM size limits, firewall and public IP setup, and educator/student VM password management. |
| Configuration | L96-L126 | Configuring Azure Lab Services: lab plans, regions, images, networking, VM templates, schedules (start/stop/shutdown), capacity, GPU/nested virtualization, and user/educator access. |
| Integrations & Coding Patterns | L127-L140 | Integrating Lab Services with Canvas and Teams, automating lab creation via Bicep/PowerShell/Python, connecting labs to VNets, and remote access to Linux VMs with X2Go. |
| Deployment | L141-L150 | Creating and importing Windows/Linux lab VM images (from Azure VMs, physical labs, or compute galleries), rapidly setting up/publishing labs, and migrating lab accounts to lab plans. |
| 类别 | 行范围 | 描述 |
|---|---|---|
| 故障排除 | L37-L44 | 诊断并修复Azure Lab Services中的VM访问、连接、部署和实验室创建问题,包括何时重新部署或重新映像VM。 |
| 最佳实践 | L45-L53 | Azure Lab Services中实验室计划、自定义映像、嵌套虚拟化、Linux图形化RDP以及优化Windows模板VM准备的治理和设置指南 |
| 决策制定 | L54-L65 | 关于何时以及如何使用Azure Lab Services的指南:选择实验室类型、规划迁移(从物理环境或其他服务迁移)、成本估算、GPU规格选择,以及运行培训或黑客松场景。 |
| 架构与设计模式 | L66-L72 | Azure Lab Services的核心架构、支持的网络拓扑,以及构建可靠、弹性实验室环境和实验室计划的设计模式 |
| 限制与配额 | L73-L80 | 实验室的VM容量和核心配额、查看使用情况的方法、申请配额增加的流程,以及VM自动删除和清理的时间线。 |
| 安全 | L81-L95 | RBAC角色、实验室创建者/所有者分配、用于合规性和VM大小限制的Azure Policy、防火墙和公网IP设置,以及教师/学生VM密码管理。 |
| 配置 | L96-L126 | 配置Azure Lab Services:实验室计划、区域、映像、网络、VM模板、调度(启动/停止/关机)、容量、GPU/嵌套虚拟化,以及用户/教师访问权限。 |
| 集成与编码模式 | L127-L140 | 将Lab Services与Canvas和Teams集成、通过Bicep/PowerShell/Python自动化创建实验室、将实验室连接到VNet,以及使用X2Go远程访问Linux VM。 |
| 部署 | L141-L150 | 创建和导入Windows/Linux实验室VM映像(来自Azure VM、物理实验室或计算库)、快速设置/发布实验室,以及将实验室账户迁移到实验室计划。 |
Troubleshooting
故障排除
| Topic | URL |
|---|---|
| Troubleshoot Azure Lab Services VMs by redeploying or reimaging | https://learn.microsoft.com/en-us/azure/lab-services/how-to-reset-and-redeploy-vm |
| Troubleshoot access problems for Azure Lab Services VMs | https://learn.microsoft.com/en-us/azure/lab-services/troubleshoot-access-lab-vm |
| Troubleshoot connectivity issues in Azure Lab Services | https://learn.microsoft.com/en-us/azure/lab-services/troubleshoot-connect-lab-vm |
| Troubleshoot Azure Lab Services lab creation issues | https://learn.microsoft.com/en-us/azure/lab-services/troubleshoot-lab-creation |
| 主题 | 链接 |
|---|---|
| 通过重新部署或重新映像排查Azure Lab Services VM问题 | https://learn.microsoft.com/en-us/azure/lab-services/how-to-reset-and-redeploy-vm |
| 排查Azure Lab Services VM的访问问题 | https://learn.microsoft.com/en-us/azure/lab-services/troubleshoot-access-lab-vm |
| 排查Azure Lab Services中的连接问题 | https://learn.microsoft.com/en-us/azure/lab-services/troubleshoot-connect-lab-vm |
| 排查Azure Lab Services的实验室创建问题 | https://learn.microsoft.com/en-us/azure/lab-services/troubleshoot-lab-creation |
Best Practices
最佳实践
| Topic | URL |
|---|---|
| Administer lab plans and governance for Lab Services | https://learn.microsoft.com/en-us/azure/lab-services/administrator-guide |
| Recommended approaches for Azure Lab custom images | https://learn.microsoft.com/en-us/azure/lab-services/approaches-for-custom-image-creation |
| Configure nested virtualization in Azure Lab Services | https://learn.microsoft.com/en-us/azure/lab-services/concept-nested-virtualization-template-vm |
| Enable graphical remote desktop for Linux labs with optimal performance | https://learn.microsoft.com/en-us/azure/lab-services/how-to-enable-remote-desktop-linux |
| Best practices for preparing Windows lab templates | https://learn.microsoft.com/en-us/azure/lab-services/how-to-prepare-windows-template |
| 主题 | 链接 |
|---|---|
| 管理实验室计划和Lab Services治理 | https://learn.microsoft.com/en-us/azure/lab-services/administrator-guide |
| Azure Lab自定义映像的推荐方案 | https://learn.microsoft.com/en-us/azure/lab-services/approaches-for-custom-image-creation |
| 在Azure Lab Services中配置嵌套虚拟化 | https://learn.microsoft.com/en-us/azure/lab-services/concept-nested-virtualization-template-vm |
| 为Linux实验室启用图形化远程桌面并优化性能 | https://learn.microsoft.com/en-us/azure/lab-services/how-to-enable-remote-desktop-linux |
| 准备Windows实验室模板的最佳实践 | https://learn.microsoft.com/en-us/azure/lab-services/how-to-prepare-windows-template |
Decision Making
决策制定
| 主题 | 链接 |
|---|---|
| 将Azure Lab Services用于培训场景 | https://learn.microsoft.com/en-us/azure/lab-services/classroom-labs-scenarios |
| 选择实验室账户还是实验室计划 | https://learn.microsoft.com/en-us/azure/lab-services/concept-lab-accounts-versus-lab-plans |
| 规划从物理实验室迁移到Azure Lab Services | https://learn.microsoft.com/en-us/azure/lab-services/concept-migrating-physical-labs |
| 估算和分析Azure Lab Services成本 | https://learn.microsoft.com/en-us/azure/lab-services/cost-management-guide |
| 使用Azure Lab Services环境运行黑客松 | https://learn.microsoft.com/en-us/azure/lab-services/hackathon-labs |
| 为Azure实验室选择和配置GPU VM规格 | https://learn.microsoft.com/en-us/azure/lab-services/how-to-setup-lab-gpu |
| 在Azure Lab Services停用前规划迁移 | https://learn.microsoft.com/en-us/azure/lab-services/retirement-guide |
| 决定何时从Azure Lab Services过渡到DevTest Labs | https://learn.microsoft.com/en-us/azure/lab-services/transition-devtest-labs-guidance |
Architecture & Design Patterns
架构与设计模式
| Topic | URL |
|---|---|
| Understand Azure Lab Services architecture fundamentals | https://learn.microsoft.com/en-us/azure/lab-services/classroom-labs-fundamentals |
| Select supported networking architectures for lab plans | https://learn.microsoft.com/en-us/azure/lab-services/concept-lab-services-supported-networking-scenarios |
| Understand reliability and resiliency in Azure Lab Services | https://learn.microsoft.com/en-us/azure/lab-services/reliability-in-azure-lab-services |
| 主题 | 链接 |
|---|---|
| 了解Azure Lab Services架构基础 | https://learn.microsoft.com/en-us/azure/lab-services/classroom-labs-fundamentals |
| 为实验室计划选择支持的网络架构 | https://learn.microsoft.com/en-us/azure/lab-services/concept-lab-services-supported-networking-scenarios |
| 了解Azure Lab Services中的可靠性和弹性 | https://learn.microsoft.com/en-us/azure/lab-services/reliability-in-azure-lab-services |
Limits & Quotas
限制与配额
| Topic | URL |
|---|---|
| Review VM capacity limits and quotas for labs | https://learn.microsoft.com/en-us/azure/lab-services/capacity-limits |
| Determine Azure Lab Services quota and core usage | https://learn.microsoft.com/en-us/azure/lab-services/how-to-determine-your-quota-usage |
| Request Azure Lab Services core quota increases | https://learn.microsoft.com/en-us/azure/lab-services/how-to-request-capacity-increase |
| Understand automatic VM deletion policy timelines | https://learn.microsoft.com/en-us/azure/lab-services/vm-deletion-policy |
| 主题 | 链接 |
|---|---|
| 查看实验室的VM容量限制和配额 | https://learn.microsoft.com/en-us/azure/lab-services/capacity-limits |
| 确定Azure Lab Services的配额和核心使用情况 | https://learn.microsoft.com/en-us/azure/lab-services/how-to-determine-your-quota-usage |
| 申请Azure Lab Services核心配额增加 | https://learn.microsoft.com/en-us/azure/lab-services/how-to-request-capacity-increase |
| 了解VM自动删除策略的时间线 | https://learn.microsoft.com/en-us/azure/lab-services/vm-deletion-policy |
Security
安全
Configuration
配置
Integrations & Coding Patterns
集成与编码模式
Deployment
部署
| Topic | URL |
|---|---|
| Import Linux custom images from Azure VMs into labs | https://learn.microsoft.com/en-us/azure/lab-services/how-to-bring-custom-linux-image-azure-vm |
| Import Linux images from physical labs into Azure Lab Services | https://learn.microsoft.com/en-us/azure/lab-services/how-to-bring-custom-linux-image-vhd |
| Create Azure Lab Services labs from Windows VM images | https://learn.microsoft.com/en-us/azure/lab-services/how-to-bring-custom-windows-image-azure-vm |
| Migrate Azure Lab Services accounts to lab plans | https://learn.microsoft.com/en-us/azure/lab-services/how-to-migrate-lab-acounts-to-lab-plans |
| Use Azure compute galleries to provide lab VM images | https://learn.microsoft.com/en-us/azure/lab-services/how-to-use-shared-image-gallery |
| Rapidly create and publish a lab for students | https://learn.microsoft.com/en-us/azure/lab-services/setup-guide |
| Import Windows images from physical labs into Azure Lab Services | https://learn.microsoft.com/en-us/azure/lab-services/upload-custom-image-shared-image-gallery |
| 主题 | 链接 |
|---|---|
| 从Azure VM导入Linux自定义映像到实验室 | https://learn.microsoft.com/en-us/azure/lab-services/how-to-bring-custom-linux-image-azure-vm |
| 从物理实验室导入Linux映像到Azure Lab Services | https://learn.microsoft.com/en-us/azure/lab-services/how-to-bring-custom-linux-image-vhd |
| 从Windows VM映像创建Azure Lab Services实验室 | https://learn.microsoft.com/en-us/azure/lab-services/how-to-bring-custom-windows-image-azure-vm |
| 将Azure Lab Services账户迁移到实验室计划 | https://learn.microsoft.com/en-us/azure/lab-services/how-to-migrate-lab-acounts-to-lab-plans |
| 使用Azure计算库提供实验室VM映像 | https://learn.microsoft.com/en-us/azure/lab-services/how-to-use-shared-image-gallery |
| 为学生快速创建并发布实验室 | https://learn.microsoft.com/en-us/azure/lab-services/setup-guide |
| 从物理实验室导入Windows映像到Azure Lab Services | https://learn.microsoft.com/en-us/azure/lab-services/upload-custom-image-shared-image-gallery |