Choose a serverless connectivity option

This page helps you choose how to connect serverless compute to a target resource. Start by identifying what you want to access, and then follow the decision guide for that type of target:

Cloud storage

To connect serverless compute to cloud storage, decide whether you require dedicated private connectivity:

Cloud services and network resources

To connect serverless compute to other cloud services or to resources in your VNet, answer the following questions in order:

  1. Do you require dedicated private connectivity?
    • If yes, go to step 2.
    • If no, go to step 4.
  2. Does the target resource support Private Link?
  3. Can you use a private network gateway?
  4. Is connectivity over public endpoints acceptable? If yes, go to step 5.
  5. Is the target resource protected by a firewall?

On-premises and SaaS resources

To connect serverless compute to on-premises resources or SaaS services, first identify how the target resource is reachable.

Publicly accessible resources

If the target resource is publicly accessible, decide whether it is protected by a firewall:

Resources reachable only over a private network path

If the target resource is reachable only over ExpressRoute or a site-to-site VPN, answer the following questions in order:

  1. Can you use a private network gateway?
  2. Do your on-premises resources allow inbound access from the cloud?

If you connect to HTTP(S) endpoints and can't use a private network gateway, you can also use Azure Application Gateway.