Azure VM スケールセット運用
Azure Virtual Machine Scale Setsの開発に関する専門知識を提供し、トラブルシューティング、ベストプラクティス、構成、デプロイなどの開発タスクに役立つSkillです。
📜 元の英語説明(参考)
Expert knowledge for Azure Virtual Machine Scale Sets development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when configuring VMSS autoscale, zones/PPGs, Spot/standby pools, image/OS upgrades, or ADE with Key Vault, and other Azure Virtual Machine Scale Sets related development tasks. Not for Azure Virtual Machines (use azure-virtual-machines), Azure Kubernetes Service (AKS) (use azure-kubernetes-service), Azure Service Fabric (use azure-service-fabric), Azure Batch (use azure-batch).
🇯🇵 日本人クリエイター向け解説
Azure Virtual Machine Scale Setsの開発に関する専門知識を提供し、トラブルシューティング、ベストプラクティス、構成、デプロイなどの開発タスクに役立つSkillです。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o azure-vm-scalesets.zip https://jpskill.com/download/5800.zip && unzip -o azure-vm-scalesets.zip && rm azure-vm-scalesets.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/5800.zip -OutFile "$d\azure-vm-scalesets.zip"; Expand-Archive "$d\azure-vm-scalesets.zip" -DestinationPath $d -Force; ri "$d\azure-vm-scalesets.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
azure-vm-scalesets.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
azure-vm-scalesetsフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-17
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Azure Virtual Machine Scale Sets スキル
このスキルは、Azure Virtual Machine Scale Sets に関する専門的なガイダンスを提供します。トラブルシューティング、ベストプラクティス、意思決定、アーキテクチャと設計パターン、制限とクォータ、セキュリティ、構成、統合とコーディングパターン、デプロイメントを網羅しています。ローカルのクイックリファレンスコンテンツとリモートのドキュメント取得機能を組み合わせています。
このスキルの使い方
エージェントへの重要事項: 関連するセクションを見つけるには、以下のカテゴリインデックスを使用してください。行範囲が指定されているカテゴリ (例:
L35-L120) の場合は、指定された行でread_fileを使用してください。ファイルリンクが指定されているカテゴリ (例:[security.md](security.md)) の場合は、リンクされた参照ファイルでread_fileを使用してください。
エージェントへの重要事項:
metadata.generated_atが3か月以上前の場合、ユーザーにリポジトリから最新バージョンをプルするよう提案してください。mcp_microsoftdocsツールが利用できない場合、ユーザーにインストールするよう提案してください: インストールガイド
このスキルは、ドキュメントコンテンツを取得するためにネットワークアクセスを必要とします。
- 推奨: クエリ文字列
from=learn-agent-skillを指定してmcp_microsoftdocs:microsoft_docs_fetchを使用してください。Markdown を返します。 - フォールバック: クエリ文字列
from=learn-agent-skill&accept=text/markdownを指定してfetch_webpageを使用してください。Markdown を返します。
カテゴリインデックス
| カテゴリ | 行 | 説明 |
|---|---|---|
| トラブルシューティング | L37-L42 | インスタンスミックス (スポット/専用)、オートスケールがトリガーされないまたは誤ってスケーリングされる、一般的な構成またはクォータ関連のエラーなど、VM Scale Sets の問題を診断および修正します。 |
| ベストプラクティス | L43-L47 | ポリシー、ロールアウト動作、中断の最小化など、VM スケールセットでの自動 OS イメージアップグレードの構成、有効化、および管理に関するガイダンスです。 |
| 意思決定 | L48-L61 | VM スケールセットの設計に関する選択肢: コスト対可用性、Spot/スタンバイプール、インスタンスミックス、配置スコア、アップグレードモード、ハイブリッド特典、および Flexible スケールセットへの移行に関するガイダンスです。 |
| アーキテクチャと設計パターン | L62-L70 | ゾーン、障害ドメイン、ゾーンバランシングモード、近接配置グループ、スタンバイプールを使用して、可用性、レイテンシ、スケールアウト動作を最適化する、回復力のある VM スケールセットの設計です。 |
| 制限とクォータ | L71-L79 | VMSS の容量、インスタンスと配置グループの制限、スタンバイプールの制約、メンテナンス通知の動作、およびサポートされるスケール、機能、クォータに関する FAQ です。 |
| セキュリティ | L80-L88 | VM スケールセットディスクの暗号化 (CLI、PowerShell、ARM)、Azure Disk Encryption のための Key Vault と拡張機能のシーケンスの構成、および VMSS のセキュリティポリシー/RBAC の設定です。 |
| 構成 | L89-L135 | スケーリングルール、アップグレード、ネットワーク、ディスク、イメージ、ヘルス/修復、スタンバイプール、インスタンスミックス、保護、および CLI、PowerShell、テンプレート、ポータルを介した自動化など、VM Scale Sets の構成です。 |
| 統合とコーディングパターン | L136-L145 | CLI/PowerShell/DSC/カスタムスクリプトを使用してアプリケーションをデプロイし、VM Scale Sets を構成および管理する方法、および監視と自動化のためにスタンバイプールを Log Analytics と統合する方法です。 |
| デプロイメント | L146-L155 | ギャラリー/カスタムイメージと ARM テンプレートを使用した VM スケールセットの作成とデプロイ、インスタンスへのアプリケーションデプロイ、可用性ゾーンの配置、およびフレキシブルセットのゾーンへの移行です。 |
トラブルシューティング
| トピック | URL |
|---|---|
| VM Scale Sets インスタンスミックスに関する FAQ とトラブルシューティング | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/instance-mix-faq-troubleshooting |
| Azure VM Scale Sets のオートスケールに関する問題のトラブルシューティング | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-troubleshoot |
ベストプラクティス
| トピック | URL |
|---|---|
| VM スケールセットの自動 OS アップグレードの構成と操作 | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade |
意思決定
アーキテクチャと設計パターン
| トピック | URL |
|---|---|
| 自動ゾーンバランスで回復力のあるスケールセットを設計する | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/auto-zone-balance-overview |
| VM スケールセットで近接配置グループを使用する | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/proximity-placement-groups |
| スタンバイプールを使用して VM Scale Set のスケールアウトレイテンシを削減する | https:// |
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Azure Virtual Machine Scale Sets Skill
This skill provides expert guidance for Azure Virtual Machine Scale Sets. 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.
How to Use This Skill
IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g.,
L35-L120), useread_filewith the specified lines. For categories with file links (e.g.,[security.md](security.md)), useread_fileon the linked reference file
IMPORTANT for Agent: If
metadata.generated_atis more than 3 months old, suggest the user pull the latest version from the repository. Ifmcp_microsoftdocstools are not available, suggest the user install it: Installation Guide
This skill requires network access to fetch documentation content:
- Preferred: Use
mcp_microsoftdocs:microsoft_docs_fetchwith query stringfrom=learn-agent-skill. Returns Markdown. - Fallback: Use
fetch_webpagewith query stringfrom=learn-agent-skill&accept=text/markdown. Returns Markdown.
Category Index
| Category | Lines | Description |
|---|---|---|
| Troubleshooting | L37-L42 | Diagnosing and fixing VM Scale Sets issues with instance mix (spot/dedicated), autoscale not triggering or scaling incorrectly, and common configuration or quota-related errors. |
| Best Practices | L43-L47 | Guidance for configuring, enabling, and managing automatic OS image upgrades on VM scale sets, including policies, rollout behavior, and minimizing disruption. |
| Decision Making | L48-L61 | Guidance on VM scale set design choices: cost vs availability, Spot/standby pools, instance mix, placement score, upgrade modes, hybrid benefit, and migrating to Flexible scale sets. |
| Architecture & Design Patterns | L62-L70 | Designing resilient VM scale sets: zones, fault domains, zone balancing modes, proximity placement groups, and standby pools to optimize availability, latency, and scale-out behavior. |
| Limits & Quotas | L71-L79 | VMSS capacity, instance and placement group limits, standby pool constraints, maintenance notification behavior, and FAQs on supported scale, features, and quotas |
| Security | L80-L88 | Encrypting VM scale set disks (CLI, PowerShell, ARM), configuring Key Vault and extension sequencing for Azure Disk Encryption, and setting security policies/RBAC for VMSS. |
| Configuration | L89-L135 | Configuring VM Scale Sets: scaling rules, upgrades, networking, disks, images, health/repair, standby pools, instance mix, protection, and automation via CLI, PowerShell, templates, and portal |
| Integrations & Coding Patterns | L136-L145 | Using CLI/PowerShell/DSC/custom script to deploy apps, configure, and manage VM Scale Sets, plus integrating standby pools with Log Analytics for monitoring and automation. |
| Deployment | L146-L155 | Creating and deploying VM scale sets with gallery/custom images and ARM templates, app deployment to instances, availability zone placement, and migrating flexible sets to zonal. |
Troubleshooting
| Topic | URL |
|---|---|
| FAQ and troubleshooting for VM Scale Sets instance mix | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/instance-mix-faq-troubleshooting |
| Troubleshoot autoscale issues in Azure VM Scale Sets | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-troubleshoot |
Best Practices
| Topic | URL |
|---|---|
| Configure and operate automatic OS upgrades for VM scale sets | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade |
Decision Making
Architecture & Design Patterns
| Topic | URL |
|---|---|
| Design resilient scale sets with automatic zone balance | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/auto-zone-balance-overview |
| Use proximity placement groups with VM scale sets | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/proximity-placement-groups |
| Use standby pools to reduce VM Scale Set scale-out latency | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/standby-pools-overview |
| Configure fault domains for VM scale sets | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-manage-fault-domains |
| Use zone balancing modes in VM scale sets | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-zone-balancing |
Limits & Quotas
| Topic | URL |
|---|---|
| Understand VM Scale Sets overview limits and capacities | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/overview |
| Standby pools FAQ including support scope and limits | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/standby-pools-faq |
| Azure VM Scale Sets capacity and feature limits FAQ | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-faq |
| Handle maintenance notifications for VM scale sets | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications |
| Understand placement groups and capacity limits in scale sets | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-placement-groups |
Security
| Topic | URL |
|---|---|
| Encrypt VM scale set disks using Azure CLI | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/disk-encryption-cli |
| Configure Key Vault for Azure Disk Encryption on VMSS | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/disk-encryption-key-vault |
| Encrypt VM scale set disks using PowerShell | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/disk-encryption-powershell |
| Use built-in Azure Policy definitions for VM scale sets | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/policy-reference |
| Configure RBAC permissions for VM Scale Set standby pools | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/standby-pools-configure-permissions |
Configuration
Integrations & Coding Patterns
| Topic | URL |
|---|---|
| Integrate VM Scale Set standby pools with Azure Log Analytics | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/standby-pools-monitor-pool-events |
| Install applications on VM Scale Sets using Custom Script Extension (CLI) | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-cli |
| Install applications on VM Scale Sets using Custom Script Extension (PowerShell) | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-powershell |
| Configure VM scale sets with Azure DSC extension | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-dsc |
| Manage VM scale sets using Azure CLI commands | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-manage-cli |
| Manage VM scale sets with Azure PowerShell cmdlets | https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-manage-powershell |