Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

241
Views
How to protect endpoints from public access on aws-alb-ingress-controller?

Is there a way to protect endpoints from public access and/or only a list of IPs to have access to it like on nginx-ingress-controller (NLB) with the snippet-server annotation?

Thanks

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Nginx-ingress has annotation whitelist-source-range

You can specify allowed client IP source ranges through the nginx.ingress.kubernetes.io/whitelist-source-range annotation. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1.

For access control in LoadBalancer you could use following annotation: alb.ingress.kubernetes.io/inbound-cidrs

specifies the CIDRs that are allowed to access LoadBalancer.

Example:

alb.ingress.kubernetes.io/inbound-cidrs: 10.0.0.0/24

this annotation will be ignored if alb.ingress.kubernetes.io/security-groups is specified.

Also alb.ingress.kubernetes.io/security-groups which specifies the securityGroups you want to attach to LoadBalancer.

When this annotation is not present, the controller will automatically create 2 security groups: the first security group will be attached to the LoadBalancer and allow access from inbound-cidrs to the listen-ports. The second security group will be attached to the EC2 instance(s) and allow all TCP traffic from the first security group created for the LoadBalancer.

Example:

alb.ingress.kubernetes.io/security-groups: sg-xxxx, nameOfSg1, nameOfSg2
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!