Skip to content

AWS CloudFront ​

EdgeTrust extracts CloudFront service prefixes from Amazon's public IP ranges document.

Official source ​

EdgeTrust filters entries where the service is CLOUDFRONT (IPv4 and IPv6 prefixes as published).

Enable ​

ini
EDGE_TRUST_PROVIDERS=aws_cloudfront

Provider key: aws_cloudfront (underscore).

Notes ​

  • The Amazon JSON document contains many AWS services. Only CloudFront prefixes are trusted by this provider.
  • Amazon updates ip-ranges.json periodically; schedule sync or rely on hybrid/runtime refresh so Laravel stays current.

Origin access ​

Prefer CloudFront origin access controls / private origins so clients cannot bypass CloudFront and hit Laravel directly. Trusting CloudFront CIDRs alone does not enforce that topology.

Sync ​

bash
php artisan edge-trust:sync --provider=aws_cloudfront

Released under the MIT License.