Skip to main content
CloudFront charges more per GB in some regions, such as Asia Pacific, South America and the Middle East, than in North America and Europe. Price Class 100 serves all viewers from the lower-priced edge locations only. nOps finds distributions that send very little of their traffic to the higher-priced regions and estimates the saving from serving those viewers from North American and European edges.

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

  1. Check whether viewers in the excluded regions matter to your business, and how much latency they can accept.
  2. In the CloudFront console, open the distribution, choose Edit under Settings, and set Price class to Use only North America and Europe.
  3. Save and wait for the distribution to deploy.
  4. 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

No. They are still served, just from an edge location in North America or Europe.