What are the differences between virtual network gateway vs VPN gateway and what determines which one to use?
The closest definition I can find is
"A VPN gateway is a specific type of virtual network gateway that is used to send encrypted traffic between an Azure virtual network and an on-premises location over the public Internet."
I'm a developer and do little bit of ops, so trying to make sense.
As you found the closet definition, the VPN gateway is a specific type of the virtual network gateway. When you create a virtual network gateway
resource in Azure, you can select the VPN
or ExpressRoute
gateway type in Azure. The VPN gateway usually means a VPN gateway type of virtual network gateway.