/
Azure Virtual Network | Azure Function | Azure Key Vault

Azure Virtual Network | Azure Function | Azure Key Vault

Architectue : Overview

image-20240807-195716.png

Azure Function & VNet Integration

It allows the function app to access resources in a VNet without exposing them to the internet. It’s useful for securing outbound traffic from the function app.

 

image-20240809-135517.png
VNet Integration & NAT Gateway
  • Subnet : We need to deploy a NAT Gateway in a subnet of a VNet. It will be associated with one or more subnets within the VNet to provide outbound connectivity for the resources in those subnets.

  • NSG : While it is not mandatory when deploying a NAT gateway in a subnet, it is highly recommended for enhancing security. Why use a NSG ?

    • Traffic Control - BSG allows to control inbound & outbound traffic to and from the subnet (by defining rues based on source and destination IP addresses, ports & protocols).

    • Enhanced security - only authorized traffic can access our resources. It’s an additional layer of security.

    • Monitoring & Logging - NSG logs can be used to audit and analyze traffic patterns.