Commit 6a638fb
feat (iac): [networking] add MCP subnet (#106)
* reserve private MCP server subnet
Prepare the workload virtual network for privately hosted MCP servers:
- reserve a dedicated /24 subnet
- delegate the subnet to Microsoft.App/environments
- expose the subnet name and resource ID
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* secure private MCP server subnet
Apply deny-by-default controls for a future Container Apps environment:
- allow required platform, DNS, load-balancer, and intra-subnet traffic
- allow access to workload private endpoints
- attach the NSG to the reserved MCP subnet
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* allow private agent MCP traffic
Enable the private MCP request path within the workload virtual network:
- allow Foundry Agent outbound HTTPS to the MCP subnet
- allow matching inbound HTTPS on the MCP subnet
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* route MCP egress through firewall
Control private MCP server outbound traffic through Azure Firewall:
- associate the MCP subnet with the egress route table
- allow required Container Apps platform dependencies
- wire the MCP subnet into the firewall module
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* document private MCP network path
Clarify how agents reach public and private MCP servers:
- describe firewall-controlled public MCP egress
- identify the reserved private MCP subnet
- note that the Container Apps environment is not deployed
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Address PR Feedback: clarify probe ports
Document the Container Apps load-balancer probe rule lifecycle:
- retain the required dynamic allocation range initially
- narrow the NSG rule after Azure assigns the immutable ports
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent e0d3fda commit 6a638fb
4 files changed
Lines changed: 314 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| |||
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
37 | 45 | | |
38 | 46 | | |
39 | 47 | | |
| |||
98 | 106 | | |
99 | 107 | | |
100 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
101 | 132 | | |
102 | 133 | | |
103 | 134 | | |
| |||
126 | 157 | | |
127 | 158 | | |
128 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
129 | 193 | | |
130 | 194 | | |
131 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
0 commit comments