title: Azure functions w VPN connection using Serverless Framework
body: <p>I'm using <a href="https://www.serverless.com/framework/docs/providers/azure/guide/intro" rel="nofollow noreferrer">serverless framework</a> to deploy Azure functions. All basics are pretty straight forward, but now I have a function which needs to connect to a private on-prem environment. I was thinking to create a VNET with a VPN connection to on-prem, but how can I deploy my function inside this VNET? Is this possible using the serverless framework? Or is there a better solution to connect an Azure function to a VPN?</p>