azure-compute
获取 Azure VM 大小推荐
此技能根据工作负载需求、性能需求和预算限制推荐 Azure 虚拟机大小和 VM Scale Set 配置。它查询公共 Azure 零售价格 API 以提供成本估算,无需 Azure 订阅。
下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“azure-compute”。 What Azure VM should I use for a dev/test environment with light traffic?
预期结果:
For a dev/test environment with light traffic, I recommend the B-series (burstable) VMs. These offer the lowest cost with credits that handle intermittent loads:
| VM Size | vCPUs | RAM | $/hr (eastus) | Best For |
| --- | --- | --- | --- | --- |
| Standard_B2s | 2 | 8 GB | ~$0.04 | Light dev/test, small websites |
| Standard_B4ms | 4 | 16 GB | ~$0.08 | Moderate dev workloads |
| Standard_B2ps_v2 | 2 | 4 GB | ~$03 | Very light, bursty workloads |
Trade-off: B-series VMs throttle when credits are exhausted. For consistent performance, consider D-series.
正在使用“azure-compute”。 Compare D-series vs E-series for a SQL Server database
预期结果:
For a SQL Server workload, E-series (Memory Optimized) is typically the better choice:
| Family | Strength | VM Size | vCPUs | RAM | $/hr |
| --- | --- | --- | --- | --- | --- |
| E-series | High memory:CPU | Standard_E4ds_v5 | 4 | 32 GB | ~$0.25 |
| E-series | High memory:CPU | Standard_E8ds_v5 | 8 | 64 GB | ~$0.50 |
| D-series | Balanced | Standard_D4ds_v5 | 4 | 16 GB | ~$0.17 |
Recommendation: E-series for production databases. The higher memory-to-CPU ratio accommodates buffer pools, indexes, and query caching more effectively.
安全审计
安全All static findings are false positives. The detected patterns are code examples within markdown documentation showing API usage (curl, bash, PowerShell) and public Azure endpoints. The skill is a legitimate Microsoft Azure VM recommendation tool that uses only public, unauthenticated APIs. No executable code, no credentials, no deployments - purely informational recommendations.
风险因素
⚙️ 外部命令 (115)
🌐 网络访问 (35)
检测到的模式
质量评分
你能构建什么
新应用部署规划
一个开发团队计划在 Azure 上部署新的 Web 应用,需要选择合适的 VM 大小。他们将工作负载指定为具有中等流量的无状态 API 后端。
成本优化审查
云架构师需要比较不同 VM 系列和规格的价格,用于需要高内存的数据库服务器。他们想了解预留与即用即付成本的差异。
ML 工作负载大小确定
数据科学团队需要支持 GPU 的 VM 进行模型训练。他们想比较 NC 系列与 ND 系列选项,并了解预算提案的价格差异。
试试这些提示
What Azure VM size should I use for a web server with moderate traffic?
I need a VM for a memory-intensive database workload with 64GB RAM. Which Azure VM family and size do you recommend?
Compare the available GPU VM sizes for deep learning training. Include pricing estimates for ND-series in East US region.
Should I use a single VM or a VM Scale Set for a stateless API that needs to handle variable traffic with autoscaling?
最佳实践
- 始终验证推荐是否符合当前 Azure 文档,因为 VM 功能和价格经常变化
- 将 B 系列用于开发/测试和可突发工作负载以最小化成本,然后升级到 D 或 E 系列用于生产
- 查询 Azure 零售价格 API 获取实时价格并比较各区域以优化成本
避免
- 将通用型 VM 用于内存密集型数据库(应使用 E 系列或 M 系列)
- 为需要自动缩放的无状态工作负载部署单 VM(应使用 VMSS)
- 选择最新一代而不考虑价格 - 旧一代如 Dv4 可能更便宜