Help Center> FunctionGraph> FAQs> External Resource Access FAQs> How Do I Configure External Network Access?
Updated on 2022-12-01 GMT+08:00

How Do I Configure External Network Access?

By default, functions deployed in a VPC are isolated from the Internet. If a function needs to access both internal and external networks, add a public NAT gateway for the VPC.

Prerequisites

  1. You have created a VPC and subnet according to Creating a VPC.
  2. You have obtained an elastic IP address according to Assigning an EIP.

Procedure of Creating a Public NAT Gateway

  1. Log in to the NAT Gateway console, and click Buy Public NAT Gateway.
  2. On the displayed page, enter gateway information, select a VPC and subnet (for example, vpc-01), and confirm and submit the settings to buy a NAT gateway. For details, see Buying a Public NAT Gateway.
  3. Click the public NAT gateway name. On the details page that is displayed, click Add an SNAT Rule and click OK.

External Resource Access FAQs FAQs

more