Check provider logo

ELB load balancers should not have public IP addresses

elb_public_exposure

Severitymedium
Serviceelb
by Prowler

Ensure that Elastic Load Balancer (ELB) instances do not have public IP addresses unless explicitly required, to reduce the attack surface.

Risk

ELB load balancers with public IP addresses are accessible from the internet, increasing the attack surface and potentially exposing internal services to unauthorized access.

Run this check with Prowler CLI

prowler huaweicloud --checks elb_public_exposure

Recommendation

Avoid assigning public IP addresses to ELB load balancers unless they are intended to be internet-facing.

Remediation

CLI

hcloud EIP DisassociatePublicips --publicip_id=<eip_id>

Other
  1. Log on to the Huawei Cloud console.
  2. Navigate to Elastic Load Balance.
  3. Select the load balancer.
  4. Disassociate the public IP or recreate the load balancer with an internal IP.

Source Code

Resource Type

NotDefined

References