azure-networking

Automate Azure subnet, NSG, and private endpoint setup with Terraform, Bicep, or az CLI.

3|Updated Jun 5, 2026
One-click install
npx skills add https://github.com/bcgov/agent-skills --skill azure-networking-bcgov
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-networking
Source: https://github.com/bcgov/agent-skills/tree/main/skills/azure-networking
Command: npx skills add https://github.com/bcgov/agent-skills --skill azure-networking-bcgov

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Terraform, Bicep, az CLI, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the setup of Azure subnets, NSGs, and private endpoints, ensuring secure and efficient deployment of Virtual Networks (VNet) with pre-defined best practices.

Core Features & Use Cases

  • Secure Subnet Creation: Automates the creation of secure subnets with mandatory NSGs at creation for Zero Trust security.
  • NSG Configuration: Configures NSGs for different scenarios such as APIM, App Gateway, and Container Apps.
  • Private Endpoint Setup: Automates the creation of private endpoints with specific network policies and route tables.
  • Use Case: Use this Skill to automatically set up a new subnet with the necessary NSG and private endpoint configurations for a secure Azure deployment.

Quick Start

Use the azure-networking skill to create a new subnet with security best practices in your existing VNet.

Frequently Asked Questions about azure-networking

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a secure Azure subnet with mandatory NSG for Zero Trust security?

You can create a secure Azure subnet with mandatory NSG by automating the configuration with predefined security rulesets. This approach enforces Zero Trust by ensuring a Network Security Group is attached at subnet creation before any resources are deployed.

Does this Azure networking automation work with both Terraform and Bicep?

Yes, this Azure networking automation works with both Terraform and Bicep, as well as az CLI. You can use any of these infrastructure as code tools to create and manage subnets, NSGs, and private endpoints according to best practices.

What's the best way to configure private endpoints with specific network policies in an Azure VNet?

The best way to configure private endpoints with specific network policies in an Azure VNet is to automate the deployment using infrastructure as code. This coordinates private endpoint creation with necessary route tables and network policy enforcement automatically.

How do I set up NSG rules for specific scenarios like APIM, App Gateway, and Container Apps?

To set up NSG rules for scenarios like APIM, App Gateway, and Container Apps, apply pre-configured security rulesets tailored to each service. This ensures the correct traffic flows and restrictions are defined for your specific Azure deployment architecture.

Can I use this to automate Azure VNet configurations for secure private endpoint deployments?

Yes, you can use this to automate Azure VNet configurations for secure private endpoint deployments. It coordinates the underlying virtual network setup, subnet creation, and route tables required to support private endpoint network policies.

Why do I need to attach an NSG at subnet creation for Azure network security?

You need to attach an NSG at subnet creation for Azure network security to enforce Zero Trust principles immediately. This prevents exposure during the gap between subnet provisioning and manual security group configuration, closing potential attack windows.