When accessing a database or third-party service in SCF, you can use the fixed public outbound IP feature of SCF to control and manage the SCF network configuration.
The fixed public outbound IP feature of SCF has the following capabilities:
The following example shows the use limits of fixed public outbound IP:
Assume your account has the following objects in a region:
- Functions a and b have been created under namespace A.
- Functions c and d have been created under namespace B.
- EIPs IP-x, IP-y, and IP-z represent three different EIPs.
Their EIP and function binding relationships are as shown below:
|Network Configuration||Namespace A||Namespace B|
|Function a||Function b||Function c||Function d|
|Only public network access is enabled||No EIP||No EIP||No EIP||No EIP|
|Only private network access is enabled||No EIP||No EIP||No EIP||No EIP|
|Public network access and fixed public outbound IP are enabled||EIP IP-x||EIP IP-x||EIP IP-y||EIP IP-y|
|The same VPC is used for access, and fixed public outbound IP is enabled||EIP IP-z||EIP IP-z||EIP IP-z||EIP IP-z|
You can have up to 5 fixed pubic outbound IPs in a region. To request an increase in quota, please submit a ticket for application.
- After public network access is enabled for the function, you can enable fixed public outbound IP.
- You cannot manually select or edit the randomly generated EIP.
After completing the configuration, click Save.