KOstas
KOstas

Reputation: 109

Can I use an Elastic IP with Cloudfront in AWS?

We want to use Cloudfront in our AWS infrastructure. The question is if is it possible to have the same Elastic IP that we use now in an EC2 instance. Or do we have to switch to Cloudfront IPs?

Upvotes: 2

Views: 7253

Answers (1)

John Hanley
John Hanley

Reputation: 81346

CloudFront is a distributed system. You cannot assign an IP addresses to CloudFront. Do not use the IP addresses of CloudFront Edge locations. You need to use the domain name that CloudFront assigns to your distribution.

Routing Traffic to an Amazon CloudFront Web Distribution

Upvotes: 5

Related Questions