Triage CloudFront Distribution Pricing Class PRICING_CLASS_NOT_OPTIMIZED
Quick Links
- Configure CloudFront Distribution Pricing Class
- Use Case for CloudFront Distribution Pricing Class
- Triage Guides by Violation Type
Triage Guide: CloudFront Distribution Pricing Class Optimization
Understanding: Why should I care about fixing this issue?
CloudFront distributions with 'PriceClass_All' include all possible edge locations, which means higher delivery costs. Optimizing the pricing class will exclude more expensive edge locations, reducing these costs.
Validate
- Data Source: This policy uses the AWS CloudFront distribution configuration data.
- Manual Retrieval:
- Navigate to the AWS CloudFront console.
- Select the distribution of interest.
- Check the
PriceClass
setting in the distribution configuration.
- Scan Schedule: This policy runs reactively based on resource changes and does not scan on a set schedule.
Triage
- Impact: Leaving the distribution in 'PriceClass_All' will lead to higher delivery costs.
- Worsening Over Time: Costs will continue to be higher if not addressed.
- Potential Remediation Downsides: Changing the pricing class may affect delivery latency or availability in some regions but should not cause service outages.
Act
- Review the current
PriceClass
setting for the distribution. - Consider switching to 'PriceClass_100' or 'PriceClass_200' to exclude more expensive edge locations.
- Save the updated configuration in the CloudFront console.
Reflect
- Review: If this alarm was not a good use of time, consider adjusting the policy thresholds.
- Disable Policy: If constant changes in the pricing class are expected, disable this policy temporarily.