Azure NetApp Files (ANF) is an enterprise-class, high performance, file storage service that supports any workload type and is by default, highly available. The service enables you to select various service and performance levels based on your use cases and needs. Key Use cases include: Databases – Applications that need to be performant require reliable, and high-performance storage. ANF can play a crucial role in ensuring that your Web-apps and e-commerce apps perform exactly as you need them to, and you have fine-grained control over the storage tiers you consume for your applications to meet your needs. Files Services – ANF provides cloud-based file share services through its highly available and scalable platform. It supports both SMB connections for Windows … Read More
NSGs for Azure APIM with VNET
I’m doing some work on deploying Azure API Management inside a VNET in order to access backend services and had to enumerate a list of Network Security Group (NSG) rules to allow inbound and outbound traffic into the subnet in which API Management is deployed. Posting the JSON here so for easy reference. Still testing this out, so let me know if I missed any ports. Cheers!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 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 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 |
{ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "nsgname": { "type": "String", "metadata": { "description": "NSG Name" } }, "location": { "type": "string", "defaultValue":"[resourceGroup().location]", "metadata": { "description": "location value for all defined resources" } } }, "variables": {}, "resources": [ { "type": "Microsoft.Network/networkSecurityGroups", "apiVersion": "2019-11-01", "name": "[parameters('nsgname')]", "location": "[parameters('location')]", "properties": { "securityRules": [ { "name": "allow_In_mgmtendpoint_for_Azure", "properties": { "description": "Management endpoint for Azure portal and Powershell", "protocol": "TCP", "sourcePortRange": "*", "destinationPortRange": "3443", "sourceAddressPrefix": "ApiManagement", "destinationAddressPrefix": "VirtualNetwork", "access": "Allow", "priority": 120, "direction": "Inbound", "sourcePortRanges": [], "destinationPortRanges": [], "sourceAddressPrefixes": [], "destinationAddressPrefixes": [] } }, { "name": "allow_vnet_to_Azure_storage", "properties": { "description": "Dependency on Azure Storage", "protocol": "TCP", "sourcePortRange": "*", "sourceAddressPrefix": "VirtualNetwork", "destinationAddressPrefix": "Storage", "access": "Allow", "priority": 120, "direction": "Outbound", "sourcePortRanges": [], "destinationPortRanges": [ "80", "443" ], "sourceAddressPrefixes": [], "destinationAddressPrefixes": [] } }, { "name": "allow_out_to_aad", "properties": { "description": "Azure Active Directory (where applicable)", "protocol": "TCP", "sourcePortRange": "*", "sourceAddressPrefix": "VirtualNetwork", "destinationAddressPrefix": "AzureActiveDirectory", "access": "Allow", "priority": 130, "direction": "Outbound", "sourcePortRanges": [], "destinationPortRanges": [ "80", "443" ], "sourceAddressPrefixes": [], "destinationAddressPrefixes": [] } }, { "name": "allow_out_to_Azure_SQL_endpoints", "properties": { "description": "Access to Azure SQL endpoints", "protocol": "TCP", "sourcePortRange": "*", "destinationPortRange": "1433", "sourceAddressPrefix": "VirtualNetwork", "destinationAddressPrefix": "Sql", "access": "Allow", "priority": 140, "direction": "Outbound", "sourcePortRanges": [], "destinationPortRanges": [], "sourceAddressPrefixes": [], "destinationAddressPrefixes": [] } }, { "name": "allow_out_for_log_to_eventhub", "properties": { "description": "Dependency for Log to Event Hub policy and monitoring agent", "protocol": "TCP", "sourcePortRange": "*", "sourceAddressPrefix": "VirtualNetwork", "destinationAddressPrefix": "EventHub", "access": "Allow", "priority": 150, "direction": "Outbound", "sourcePortRanges": [], "destinationPortRanges": [ "5671", "5672", "443" ], "sourceAddressPrefixes": [], "destinationAddressPrefixes": [] } }, { "name": "allow_out_for_azurefileshare_forGit", "properties": { "description": "Dependency on Azure File Share for GIT", "protocol": "TCP", "sourcePortRange": "*", "destinationPortRange": "445", "sourceAddressPrefix": "VirtualNetwork", "destinationAddressPrefix": "Storage", "access": "Allow", "priority": 160, "direction": "Outbound", "sourcePortRanges": [], "destinationPortRanges": [], "sourceAddressPrefixes": [], "destinationAddressPrefixes": [] } }, { "name": "allow_out_to_publish_healthstatus_toresourcehealth", "properties": { "description": "Needed to publish Health status to Resource Health", "protocol": "TCP", "sourcePortRange": "*", "destinationPortRange": "1886", "sourceAddressPrefix": "VirtualNetwork", "destinationAddressPrefix": "Internet", "access": "Allow", "priority": 170, "direction": "Outbound", "sourcePortRanges": [], "destinationPortRanges": [], "sourceAddressPrefixes": [], "destinationAddressPrefixes": [] } }, { "name": "allow_out_to_publish_diaglogs_metrics", "properties": { "description": "Publish Diagnostics Logs and Metrics", "protocol": "TCP", "sourcePortRange": "*", "destinationPortRange": "443", "sourceAddressPrefix": "VirtualNetwork", "destinationAddressPrefix": "AzureMonitor", "access": "Allow", "priority": 180, "direction": "Outbound", "sourcePortRanges": [], "destinationPortRanges": [], "sourceAddressPrefixes": [], "destinationAddressPrefixes": [] } }, { "name": "allow_out_to_connect_ot_smtp_relay", "properties": { "description": "Connect to SMTP Relay for sending e-mails", "protocol": "TCP", "sourcePortRange": "*", "destinationPortRange": "25", "sourceAddressPrefix": "VirtualNetwork", "destinationAddressPrefix": "Internet", "access": "Allow", "priority": 190, "direction": "Outbound", "sourcePortRanges": [], "destinationPortRanges": [], "sourceAddressPrefixes": [], "destinationAddressPrefixes": [] } }, { "name": "allow_out_to_connect_to_smtp_relay_for_emails", "properties": { "description": "Connect to SMTP Relay for sending e-mails", "protocol": "TCP", "sourcePortRange": "*", "sourceAddressPrefix": "VirtualNetwork", "destinationAddressPrefix": "Internet", "access": "Allow", "priority": 200, "direction": "Outbound", "sourcePortRanges": [], "destinationPortRanges": [ "587", "25028" ], "sourceAddressPrefixes": [], "destinationAddressPrefixes": [] } }, { "name": "allow_out_for_azurecache_for_redis_insatnces_between_roleinstances", "properties": { "description": "Access Azure Cache for Redis Instances between RoleInstances", "protocol": "TCP", "sourcePortRange": "*", "destinationPortRange": "6381-6383", "sourceAddressPrefix": "VirtualNetwork", "destinationAddressPrefix": "VirtualNetwork", "access": "Allow", "priority": 210, "direction": "Outbound", "sourcePortRanges": [], "destinationPortRanges": [], "sourceAddressPrefixes": [], "destinationAddressPrefixes": [] } }, { "name": "allow_in_for_azure_infra_LB", "properties": { "description": "Azure Infrastructure Load Balancer", "protocol": "TCP", "sourcePortRange": "*", "destinationPortRange": "*", "sourceAddressPrefix": "AzureLoadBalancer", "destinationAddressPrefix": "VirtualNetwork", "access": "Allow", "priority": 130, "direction": "Inbound", "sourcePortRanges": [], "destinationPortRanges": [], "sourceAddressPrefixes": [], "destinationAddressPrefixes": [] } }, { "name": "allow_in_access_azurecache_for_redis_instances_between_roleinstances", "properties": { "description": "Access Azure Cache for Redis Instances between RoleInstances", "protocol": "TCP", "sourcePortRange": "*", "destinationPortRange": "6381-6383", "sourceAddressPrefix": "VirtualNetwork", "destinationAddressPrefix": "VirtualNetwork", "access": "Allow", "priority": 140, "direction": "Inbound", "sourcePortRanges": [], "destinationPortRanges": [], "sourceAddressPrefixes": [], "destinationAddressPrefixes": [] } }, { "name": "Allow_https_443", "properties": { "protocol": "TCP", "sourcePortRange": "*", "destinationPortRange": "443", "sourceAddressPrefix": "*", "destinationAddressPrefix": "VirtualNetwork", "access": "Allow", "priority": 110, "direction": "Inbound", "sourcePortRanges": [], "destinationPortRanges": [], "sourceAddressPrefixes": [], "destinationAddressPrefixes": [] } }, { "name": "allow-out_for_DNS", "properties": { "description": "Outbound for communication with DNS servers", "protocol": "TCP", "sourcePortRange": "*", "destinationPortRange": "53", "sourceAddressPrefix": "VirtualNetwork", "destinationAddressPrefix": "VirtualNetwork", "access": "Allow", "priority": 220, "direction": "Outbound", "sourcePortRanges": [], "destinationPortRanges": [], "sourceAddressPrefixes": [], "destinationAddressPrefixes": [] } } ] } } ] } |