Does CloudFront support static IP addresses?

2 minute read
2

I want to associate a static IP address with my Amazon CloudFront distribution.

Resolution

In November 2024, CloudFront started to support Anycast static IP addresses. However, Anycast static IP addresses incur an additional cost. For more information about costs, see Amazon CloudFront pricing examples. To set up Anycast static IP addresses, see Request an Anycast static IP list.

When a user request content from CloudFront, DNS returns four IP addresses of the edge location with the lowest latency for better performance. Because edge locations are associated with different sets of IP addresses, you don't receive the same static address for your distribution when a user makes a request.

The IP address that's returned for the edge location is dynamically allocated from the IP address ranges of the CloudFront edge servers.

The IP address ranges for CloudFront edge servers are subject to change. To be notified of IP address changes, subscribe to AWS public IP address changes through Amazon Simple Notification Service (Amazon SNS).

Related information

Use a dedicated IP address to serve HTTPS requests (works for all clients)

Why did the traffic for my web content get routed to the wrong CloudFront edge location?

AWS OFFICIAL
AWS OFFICIALUpdated 5 months ago