Why it matters
Distributions default to all edge locations. When nearly all viewers are in North America and Europe, the few elsewhere are billed at the higher regional rates for little benefit.How nOps finds it
nOps reads the last 7 complete days of CloudFront data transfer out for each distribution. A distribution is flagged when Japan, Asia Pacific, Australia, India, South Africa, the Middle East and South America together carry under 10% of its bytes. The saving is the GB sent to those regions times the difference between your billed rate there and your billed North America and Europe rate, scaled to a month, and must be at least $25 a month. Request charges are not included.Before you start
Permission to update the distribution (cloudfront:UpdateDistribution).
How to implement
- Check whether viewers in the excluded regions matter to your business, and how much latency they can accept.
- In the CloudFront console, open the distribution, choose Edit under Settings, and set Price class to Use only North America and Europe.
- Save and wait for the distribution to deploy.
- Update Terraform or CloudFormation (
PriceClass: PriceClass_100) so the change is not reverted.
Risks and considerations
- Viewers outside North America and Europe are served from farther away, so their latency goes up.
- To roll back, set the price class back to all edge locations.
FAQs
Will viewers in Asia or South America lose access?
Will viewers in Asia or South America lose access?
No. They are still served, just from an edge location in North America or Europe.