Reputation: 7309
I don't want my AWS CloudFront distribution to be spread across the world given that i know my target customer geography. I don't care of the rest of the world beyond this geographic region. This helps me to save unwarranted data transfer costs to the rest of the regions.
FYI, the AWS Doc on Getting Started with a Simple CloudFront Distributiondoesn't show an option for this.
Did I miss anything? Is this possible?
Would really appreciate your inputs. Thanks!
Upvotes: 0
Views: 1077
Reputation: 8603
you cannot instruct cloudfront to store content on a particular region. but you can use price classes to limit cloudfront to fetch content from particular location. The locations are not region.
Look at cloudfront pricing, https://aws.amazon.com/cloudfront/pricing/
But if you need to prevent users in specific countries from accessing your content, you can use the CloudFront geo restriction feature: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/GettingStarted.SimpleDistribution.html#GettingStartedCreateDistribution
Upvotes: 2