- Newest
- Most votes
- Most comments
Hi there! From the case notes, l understand you have set the geolocation to Spain but however it is currently blocking ip addresses inside Spain.
Please note, CloudFront uses Maxmind GeoIP database to determine the location of the viewers [1]. To confirm the location of the IP address refer to document [2]. With that said CloudFront blocks requests according to what is in the Maxmind database at that moment. You can refer to the link here [3] to submit a request to Maxmind to correct the GeoIP data if you believe there is an error to the database.
As a suggestion you can also use third party Geolocation service to control distribution of your content at the country level for all files that you’re distributing with a given web distribution. You can refer to the link here [4]
I hope the above information is helpful.
Hope you have a great day ahead, take care and stay safe!
References: [1] https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GeoRestriction.html [2] https://www.maxmind.com/en/geoip2-precision-demo?ip_address=109.159.129.251 [3] https://www.maxmind.com/en/geoip-data-correction-request [4]https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/georestrictions.html#georestrictions-geolocation-service
Relevant content
- asked 2 years ago
- asked 3 years ago
- asked a year ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 7 months ago