1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
0
You may encounter an issue when it comes down to SSL. You will have an alias record in a route53 zone which points to a cloudfront distrubtion. The problem is that you will need to create an alternate domain name on the distrubtion. You cant use an alternate domain name on more than one distrubtion.
Im curious to why you would want to have a DNS Name that points to 2 distrubtion's which is a global service?
Conteúdo relevante
- AWS OFICIALAtualizada há 3 anos
- AWS OFICIALAtualizada há 10 meses
- AWS OFICIALAtualizada há 7 meses
- AWS OFICIALAtualizada há 2 anos
I do actually have alternate domains setup on each cloudfront distribution. The reason why I'm trying to set it up like this is because it's the only way I could think of setting up 50/50 weighted routing between two CF distributions. Is there another way to set things up so that when I try to access www.example.com that it evenly routes traffic between two CF distributions?
Do you have the same alternative name on both CF distros because that wasn’t allowed previously? Curious how it works when someone resolves www.example.com to be sent to 2 x CF distro where only one can have the alternative name of www.example.com ? This would become and issue when using https Why do you want 2 CF’s. Curious.
Different alternative names on each. So how the traffic policy is set up, lets say the start point is example.com. It should route half the traffic to the existing CF distro which also has the name example.com and the other half to the newly created CF distro called qa-example.com. The end goal here is a blue/green deployment so that the user can get either the existing or new CF distro when going to example.com
Thanks for the insight.. Can I assume this is HTTP?
No, I have SSL cert set up on both CF distros. Would this be an issue?