All Products
Search
Document Center

Function Compute:How can I resolve the "vSwitch is in unsupported zone" error?

Last Updated:Feb 01, 2024

View the zones that are supported by Function Compute, create a vSwitch in your VPC in the zone, and then configure the VPC settings of the function in the vSwitch. If Function Compute cannot be found in the vSwitch, the vSwitch is not successfully created. You need to create a vSwitch in a zone supported by Function Compute in the VPC environment, and configure the vSwitch ID in the VPC configurations of the function.

After the configurations is complete, your functions can access VPC resources. By default, vSwitches in different zones within the same VPC can communicate with each other over an internal network. For more information, see Create and manage a VPC.