Skip to main content

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 VPC, answer the following questions in order:

  1. Do you require dedicated private connectivity?
    • If yes, go to step 2.
    • If no, go to step 3.
  2. Does the target resource support Private Service Connect?
  3. Is connectivity over public endpoints acceptable? If yes, go to step 4.
  4. 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 Cloud Interconnect or a site-to-site VPN, use a Private Service Connect service and a load balancer. If your on-premises resources don't allow inbound access from the cloud, also add an SSH reverse tunnel.