To make my AWS Elastic Load Balancer hittable by only traffic from my ip.
What I have tried:
- created a security group in EC2 security groups
- set an inbound rule that allows all traffic from my ip [all, all, all, /32]
- assigned this ELB the newly created security group
- attempted to hit the elb from an ip outside myoffice
All traffic, even from ips other than mine could still hit my ELB (and thus get through to my app servers).
What am I doing wrong? How can I block inbound traffic to my ELB (and the EC2 instances behind it)?