跨云工作负载迁移至 Azure
azure-cloud-migrate
通过报告和代码转换,评估跨云工作负载并将其迁移到 Azure。支持 Lambda→Functions、Beanstalk/Heroku/App Engine→App Service、Fargate/Kubernetes/Cloud Run/Spring Boot→Container Apps。适用场景:将 Lambda 迁移到 Functions、AWS 迁移到 Azure、迁移 Beanstalk、迁移 Heroku、迁移 App Engine、Cloud Run 迁移、Fargate 迁移到 ACA、ECS/Kubernetes/GKE/EKS 迁移到 Container Apps、Spring Boot 迁移到 Container Apps、跨云迁移。
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 264
- Forks
- 225
01 前言 Front Matter
- name
- azure-cloud-migrate
- license
- MIT
- metadata
- { "author": "Microsoft", "version": "0.0.0-placeholder" }
- description
- Assess and migrate cross-cloud workloads to Azure with reports and code conversion. Supports Lambda→Functions, Beanstalk/Heroku/App Engine→App Service, Fargate/Kubernetes/Cloud Run/Spring Boot→Container Apps. WHEN: migrate Lambda to Functions, AWS to Azure, migrate Beanstalk, migrate Heroku, migrate App Engine, Cloud Run migration, Fargate to ACA, ECS/Kubernetes/GKE/EKS to Container Apps, Spring Boot to Container Apps, cross-cloud migration.
02 资源文件 31
- 参考文档references/services/app-service/app-engine-to-app-service.md7.1 KB
- 参考文档references/services/app-service/assessment.md5.2 KB
- 参考文档references/services/app-service/beanstalk-to-app-service.md6.4 KB
- 参考文档references/services/app-service/code-migration.md5.0 KB
- 参考文档references/services/app-service/global-rules.md2.8 KB
- 参考文档references/services/app-service/heroku-to-app-service.md7.5 KB
- 参考文档references/services/container-apps/assessment-guide.md7.0 KB
- 参考文档references/services/container-apps/cloudrun-assessment-guide.md2.5 KB
- 参考文档references/services/container-apps/cloudrun-deployment-guide.md7.9 KB
- 参考文档references/services/container-apps/cloudrun-to-container-apps.md2.2 KB
- 参考文档references/services/container-apps/deployment-guide.md9.6 KB
- 参考文档references/services/container-apps/fargate-assessment-guide.md2.4 KB
- 参考文档references/services/container-apps/fargate-deployment-guide.md10.1 KB
- 参考文档references/services/container-apps/fargate-to-container-apps.md4.0 KB
- 参考文档references/services/container-apps/k8s-to-container-apps.md4.9 KB
- 参考文档references/services/container-apps/spring-apps-to-aca.md3.8 KB
- 参考文档references/services/container-apps/spring-assessment-guide.md5.2 KB
- 参考文档references/services/container-apps/spring-dependency-patterns.md1.2 KB
- 参考文档references/services/container-apps/spring-deployment-guide.md15.1 KB
- 参考文档references/services/functions/assessment.md6.3 KB
- 参考文档references/services/functions/code-migration.md6.0 KB
- 参考文档references/services/functions/global-rules.md3.3 KB
- 参考文档references/services/functions/lambda-to-functions.md10.2 KB
- 参考文档references/services/functions/runtimes/csharp.md5.5 KB
- 参考文档references/services/functions/runtimes/java.md6.4 KB
- 参考文档references/services/functions/runtimes/javascript.md8.5 KB
- 参考文档references/services/functions/runtimes/powershell.md5.0 KB
- 参考文档references/services/functions/runtimes/python.md6.4 KB
- 参考文档references/services/functions/runtimes/typescript.md3.5 KB
- 参考文档references/workflow-details.md2.3 KB
- 参考文档version.json55 B
03 SKILL.md 正文
Azure Cloud Migrate
This skill handles assessment and code migration of existing cloud workloads to Azure.
Rules
- Follow phases sequentially — do not skip
- Generate assessment before any code migration
- Load the scenario reference and follow its rules
- Use
mcp_azure_mcp_get_azure_bestpracticesandmcp_azure_mcp_documentationMCP tools - Use the latest supported runtime for the target service
- Destructive actions require
ask_user— functions global-rules | app-service global-rules - Report progress to user — During long-running operations (deployments, image pushes), provide resource-level status updates so the user is never left waiting without feedback — see workflow-details.md
- Audit service discovery in app code — Kubernetes DNS names (e.g.,
http://order-service:3001) do not resolve in Container Apps. During assessment, scan source code for hardcoded hostnames/ports in HTTP clients and flag them for env-var-driven URL injection
Migration Scenarios
| Source | Target | Reference |
|---|---|---|
| AWS Lambda | Azure Functions | lambda-to-functions.md (assessment, code-migration) |
| AWS Elastic Beanstalk | Azure App Service | beanstalk-to-app-service.md |
| Heroku | Azure App Service | heroku-to-app-service.md |
| Google App Engine | Azure App Service | app-engine-to-app-service.md |
| AWS Fargate (ECS) | Azure Container Apps | fargate-to-container-apps.md (assessment, deployment) |
| Kubernetes (GKE/EKS/Self-hosted) | Azure Container Apps | k8s-to-container-apps.md |
| GCP Cloud Run | Azure Container Apps | cloudrun-to-container-apps.md |
| Spring Boot (Azure Spring Apps/VMs) | Azure Container Apps | spring-apps-to-aca.md |
No matching scenario? Use
mcp_azure_mcp_documentationandmcp_azure_mcp_get_azure_bestpracticestools.
Output Directory
All output goes to <workspace-root-basename>-azure/ at workspace root, where <workspace-root-basename> is the name of the top-level workspace directory itself (NOT a subdirectory within it). Never modify the source directory.
Steps
- Create
<workspace-root-basename>-azure/at workspace root - Assess — Analyze source, map services, generate report using the scenario-specific assessment guide → functions assessment | app-service assessment
- Migrate — Convert code/config using the scenario-specific migration guide → functions code-migration | app-service code-migration
- Ask User — "Migration complete. Test locally or deploy to Azure?"
- Hand off to azure-prepare for infrastructure, testing, and deployment
Track progress in migration-status.md — see workflow-details.md.
04 同仓库更多 Skills
azure-advisor-cost-optimization
Analyze Azure Advisor Cost/IdleResources findings and prevalidate deletion safety, including Service Groups. WHEN: "find unused Azure resources", "what resources am I paying for but no longer using", "idle-resource savings", "historical idle-resource savings", "are these idle resources safe to delete". Generic Cost, other subcategories, and cross-category requests use azure-advisor.
Foundry IQ 知识库管理
foundry-iq
Foundry IQ 知识库。适用时机:让本地或 Blob 文档可被搜索;创建/诊断知识库;对不支持的连接器或多源知识库的创建/重新配置进行分类处理;将现有知识库连接到智能体(包括多源知识库);创建/复用 Search 服务;从现有知识库检索带引用的内容;无需品牌词。在查询/目标类问题前先阅读其流程说明。不适用:其他知识库提供商、存储库文件搜索、不涉及 Foundry IQ 知识库或连接器请求的经典 Azure AI Search 索引/查询/应用类工作、通用智能体创建。
Python 应用 Azure 部署
python-appservice-deploy
将 Python(Flask/Django/FastAPI)代码部署到 Azure App Service Linux。触发条件:"Flask App Service"、"Django App Service"、"FastAPI App Service"、"将 Python 部署到 App Service"。不适用:Container Apps、Functions、非 Python、Terraform/Bicep/IaC、完整基础设施——请使用 azure-prepare。
Azure OpenAI 快速部署
preset
通过分析所有可用区域的容量,智能地将 Azure OpenAI 模型部署到最优区域。自动优先检查当前区域,并在需要时显示备选方案。适用于:快速部署、最优区域、最佳区域、自动区域选择、快速配置、多区域容量检查、高可用部署、部署到最佳位置。不适用于:自定义 SKU 选择(使用 customize)、特定版本选择(使用 customize)、自定义容量配置(使用 customize)、PTU 部署(使用 customize)。
Azure OpenAI 自定义部署
customize
具有完全自定义控制能力的 Azure OpenAI 模型交互式引导部署流程。逐步选择模型版本、SKU(GlobalStandard/Standard/ProvisionedManaged)、容量、RAI 策略(内容过滤器)以及高级选项(动态配额、优先处理、溢出)。适用于:自定义部署、定制模型部署、选择版本、选择 SKU、设置容量、配置内容过滤器、RAI 策略、部署选项、详细部署、高级部署、PTU 部署、预置吞吐量。不适用于:快速部署到最优区域(使用 preset)。
Azure OpenAI 模型容量查询
capacity
跨区域和跨项目发现可用的 Azure OpenAI 模型容量。分析配额限制、比较可用性,并根据容量需求推荐最佳部署位置。适用场景:查找容量、检查配额、可以在哪里部署、容量发现、容量最佳区域、多项目容量搜索、配额分析、模型可用性、区域比较、检查 TPM 可用性。不适用场景:实际部署(发现后转交给预设或自定义技能)、配额提升申请(引导用户前往 Azure 门户)、列出现有部署。