mcpField
A
azure-nat-gateway

azure-nat-gateway

github.com/microsoftdocsCloud & DevOps796182 installsUpdated 3d ago
Repository

About azure-nat-gateway

azure-nat-gateway is a skill for agents seeking guidance on Azure NAT Gateway. It combines local reference material with remote documentation on troubleshooting, design, security, configuration, and deployment.

Key features

  1. 01NAT Gateway troubleshooting
  2. 02SNAT usage and best practices
  3. 03SKU selection and architecture
  4. 04Security and capacity planning
  5. 05Monitoring, configuration, and migration

Use cases

  1. 01Investigate network issues with flow logs
  2. 02Plan NAT Gateway and firewall capacity
  3. 03Configure metrics, alerts, and flow logs
  4. 04Migrate or redeploy a NAT Gateway

MCP support

The skill can fetch remote documentation through mcp_microsoftdocs:microsoft_docs_fetch, with fetch_webpage as a fallback.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/microsoftdocs/agent-skills --skill azure-nat-gateway

After installing, type/azure-nat-gatewayin Claude Code to confirm it loaded.

Details

From the project README

Azure NAT Gateway Skill

This skill provides expert guidance for Azure NAT Gateway. Covers troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, 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), use read_file with the specified lines. For categories with file links (e.g., [security.md](security.md)), use read_file on the linked reference file

IMPORTANT for Agent: If metadata.generated_at is more than 3 months old, suggest the user pull the latest version from the repository. If mcp_microsoftdocs tools 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_fetch with query string from=learn-agent-skill. Returns Markdown.
  • Fallback: Use fetch_webpage with query string from=learn-agent-skill&accept=text/markdown. Returns Markdown.

Category Index

CategoryLinesDescription
TroubleshootingL36-L40Using NAT Gateway flow logs to monitor traffic, detect connectivity issues, analyze failures, and troubleshoot network/NAT behavior in Azure.
Best PracticesL41-L45Guidance on reducing SNAT port exhaustion and optimizing outbound connectivity patterns when using Azure NAT Gateway.
Decision MakingL46-L50Guidance on selecting the right Azure NAT Gateway Standard SKU, comparing features, limits, performance, and cost tradeoffs for different workloads.
Architecture & Design PatternsL51-L55Designing VNETs with NAT Gateway, choosing patterns for outbound connectivity, and scaling/combining NAT Gateway with Azure Firewall for secure, high-throughput egress traffic.
Limits & QuotasL56-L60Planning NAT Gateway with Azure Firewall, including SNAT port capacity, scaling limits, and how to size and configure outbound connectivity for high-volume workloads.
SecurityL61-L65Security best practices for NAT Gateway: hardening design, minimizing exposure, managing outbound IPs, monitoring traffic, and integrating with NSGs, firewalls, and other Azure security controls.
ConfigurationL66-L73Monitoring and configuring NAT Gateway V2: metrics, alerts, flow logs, and deployment via ARM, Bicep, or Terraform.
DeploymentL74-L79Guides for deploying and updating NAT Gateway: migrating Standard→StandardV2, redeploying after cross-region moves, and rerouting VM outbound traffic from public IPs to NAT Gateway.
Troubleshooting
TopicURL
Monitor and troubleshoot with NAT Gateway flow logshttps://learn.microsoft.com/en-us/azure/nat-gateway/monitor-nat-gateway-flow-logs
Best Practices
TopicURL
Optimize SNAT usage with Azure NAT Gatewayhttps://learn.microsoft.com/en-us/azure/nat-gateway/nat-gateway-snat
Decision Making
TopicURL
Choose between Azure NAT Gateway Standard SKUshttps://learn.microsoft.com/en-us/azure/nat-gateway/nat-sku
Architecture & Design Patterns
TopicURL
Design Azure virtual networks with NAT Gatewayhttps://learn.microsoft.com/en-us/azure/nat-gateway/nat-gateway-design
Limits & Quotas
TopicURL
Plan NAT Gateway with Azure Firewall SNAT capacityhttps://learn.microsoft.com/en-us/azure/nat-gateway/tutorial-hub-spoke-nat-firewall
Security
TopicURL
Apply security best practices to Azure NAT Gatewayhttps://learn.microsoft.com/en-us/azure/nat-gateway/secure-nat-gateway
Configuration
TopicURL
Reference monitoring metrics and logs for NAT Gatewayhttps://learn.microsoft.com/en-us/azure/nat-gateway/monitor-nat-gateway-reference
Configure StandardV2 NAT Gateway flow logginghttps://learn.microsoft.com/en-us/azure/nat-gateway/nat-gateway-flow-logs
Configure metrics and alerts for Azure NAT Gatewayhttps://learn.microsoft.com/en-us/azure/nat-gateway/nat-metrics
Deploy NAT Gateway V2 using ARM, Bicep, or Terraformhttps://learn.microsoft.com/en-us/azure/nat-gateway/quickstart-create-nat-gateway-v2-templates
Deployment
TopicURL
Migrate Azure NAT Gateway Standard to StandardV2https://learn.microsoft.com/en-us/azure/nat-gateway/nat-gateway-v2-migrate
Redeploy NAT gateway after cross-region resource moveshttps://learn.microsoft.com/en-us/azure/nat-gateway/region-move-nat-gateway
Move VM public IP outbound traffic to NAT Gatewayhttps://learn.microsoft.com/en-us/azure/nat-gateway/tutorial-migrate-ilip-nat

Comments

Markdown supported