- Newest
- Most votes
- Most comments
CloudFront is already a global service with 600+ points of presence around the world - your users will be routed to the closest (in terms of routing) location without you having to do anything else. That's why you don't need to (and why CloudFront won't allow you to) configure more than a single distribution with a specific domain name.
What you probably want to do is have the request from CloudFront to your origin go to the closest AWS region which is hosting your application based on the CloudFront POP where the request landed. If that is the case, check out this blog post.
Yeah, I wouldn't say great detail. I've already read that. It was okay, but it didn't get into great detail.
Okay please, please! I've been doing aws stuff for years! Years! It just so happens that I haven't done this specific thing yet. I would appreciate not being spoken to as if I am a neophyte. I already tried to set up all the origins in one cloudfront, but to me it didn't seem like it was working, perhaps it was. There was no indication to me that it was hitting the right origin for cache invalidations.
It would be nice if you answered my specific questions. I don't appreciate a rtfm answer which is what yours was. Here's a link, read that.
Okay, so you said, I need one cloudfront, then you mention route53 latency-based routing. How about, giving me a specific little example of what that looks like with domain.com? All I need is a birds eye view of what to do and I can do it. As I said, I'm doing this in python pulumi, not click ops.
In the requirements I had to add a custom header of region, so I figured that I needed 3 cloudfronts, but either that isn't possible, or there is another way to do things. I'm extremely pissed off that aliases only allow you one unique domain.
haha Okay now I'm confused, it looked like someone answered my question, but now it's gone. wtf
Relevant content
- Accepted Answerasked 5 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago