All Products
Search
Document Center

Function Compute:How do functions in a VPC access the Internet?

Last Updated:Aug 20, 2025

In the virtual private cloud (VPC) configuration for Function Compute, you can enable or disable Internet access for your functions. If you enable Internet access, Function Compute can access the Internet. You can enable or disable Internet access with the internetAccess setting. You can also create a NAT gateway in your VPC and then enable Internet access for functions in the VPC.