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
  • Currently, the fixed public IP feature is only supported by Standard plan and above, and is not available for Personal plan.
  • If you need to use this feature on a Personal plan, please go to Package Management to upgrade your plan.

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.