To ensure normal communications between the load balancer and backend servers, you need to check the security group rules and firewall rules configured for the backend servers.
When backend servers receive requests from the load balancer, source IP addresses are translated into those in 100.125.0.0/16.
If Transfer Client IP Address is enabled for TCP or UDP listeners, firewall rules and security group rules will not take effect. You can use access control to limit which IP addresses are allowed to access the listener. For details, see access control.
If you have no VPCs when creating a server, a default VPC will be created for you. Default security group rules allow only communications among the servers in the VPC. To ensure that the load balancer can communicate with these servers over both the frontend port and health check port, configure inbound rules for security groups containing these servers.
and select the desired region and project.
in the upper left corner to display Service List and choose Computing > Elastic Cloud Server.Backend Protocol |
Policy |
Protocol & Port |
Source IP Address |
|---|---|---|---|
HTTP |
Allow |
Protocol: TCP Port: the port used by the backend server and the health check port |
100.125.0.0/16 |
TCP |
Allow |
Protocol: TCP Port: health check port |
100.125.0.0/16 |
UDP |
Allow |
Protocol: UDP and ICMP Port: health check port |
100.125.0.0/16 |
To control traffic in and out of a subnet, you can associate a firewall with the subnet. Firewall rules control access to subnets and add an additional layer of defense to your subnets. Default firewall rules reject all inbound and outbound traffic. If the subnet of a load balancer or associated backend servers has a firewall associated, the load balancer cannot receive traffic from the Internet or route traffic to backend servers, and backend servers cannot receive traffic from and respond to the load balancer.
You can configure an inbound firewall rule to permit access from 100.125.0.0/16.
ELB translates the public IP addresses used to access backend servers into private IP addresses in 100.125.0.0/16. You cannot configure firewall rules to prevent public IP addresses from accessing backend servers.
and select the desired region and project.
in the upper left corner to display Service List and choose Network > Virtual Private Cloud.