Advertisement
- Use Web Application Firewall and create a geo match condition to drop all requests from countries that aren’t on your allow list.
- Use Application Load Balancer to create a new routing rule that looks at source IP address. Add an IP block for the countries that have access.
- Host the front end of your website in CloudFront and configure a geo restriction on the distribution.
- Use CloudTrail to monitor the IP addresses of the bad requests. Use Lambda to add these IP addresses to an Application Load Balancer rule that blocks the IPs.
Join our list
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.