AWS EC2 Security Group Web access from a single country? [duplicate]
Is it possible to setup an AWS EC2 security group to allow web traffic from only one country? If so, how?
Do you know all of that country's netblocks?
If so, then yes, it's possible, though it may take multiple groups, as there's a 100-rule limit per SG for classic EC2 and a 50-rule limit for VPC SGs.
Whether or not this is a good thing to do, though, is another question altogether.