Skip to main content

Fixed Public IP Address

In some business scenarios that require IP whitelist verification, CloudRun services need to be able to bind a fixed public IP address, such as WeChat Pay, Enterprise WeChat, public network database access, etc.

Feature Introduction​

After enabling the fixed public IP feature, when a CloudRun service requests the external network, it will request the public network from a fixed public IP address. At this point, you can add the CloudRun service's public IP to the IP whitelist in business scenarios that require IP whitelist binding to allow requests to pass through.

Configuration Method​

In the "Environment Settings" of the CloudRun service, edit and enable the "Fixed Public IP" capability.

tip
  • The fixed public egress IP feature is only supported on the Personal Plan and above.
  • If you are on the Trial plan and need to use this feature, please go to Package Management to upgrade your plan.
  • The fixed public egress IP feature is a prerequisite for ICP filing. For more details on the process, see ICP Filing.

Notes​

  • If the service also has VPC private network enabled, public network requests will be routed to the private network by default. In this case, you need to configure a NAT gateway in the VPC private network and use the egress IP on the NAT gateway as the fixed egress IP. For more information, see Public Network Gateway or NAT Gateway documentation.