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.