How can my function in a VPC access classic network resources?

Updated at:

If your function runs in a VPC and needs to access classic network resources, use ClassicLink to connect your classic network resources to the VPC, then grant your function the permissions to access that VPC.

Prerequisites

Before you begin, ensure that you have:

  • A Function Compute function configured to run in a VPC

  • Classic network resources that the function needs to access

Enable access to classic network resources

  1. Use ClassicLink to connect your classic network resources to the VPC where your function runs. For setup instructions, see Overview.

  2. Grant your function the permissions to access the VPC.