amazon web services - Weighted round robin dns between 2 Cloudfront distributions -


we trying use aws gradual deployment test our javascript code, seems fail

we created 2 s3 buckets cf distributions :

a.example.net -> aaa.cloudfront.net

b.example.net -> bbb.cloudfront.net

than created weighted round robin dns entry in route53

test.example.net -> (cname) -> aaa.cloudfront.net (5)

test.example.net -> (cname) -> bbb.cloudfront.net (95)

in s3 bucket put file cf corresponding domain name each bucket :

http://test.example.net/dns-test/test.txt

what expecting 95% of time bbb , 5% of time d3nrwpaeicu4xy. aaa 100% of time :(

i opened ticket route53 team check if problem dns configuration have shown me , , have seen myself dns queries split between 2 buckets.

hope clear enough.

unfortunately trying not possible. cloudfront, or http server matter, see's host header of test.example.com. has no idea how got there, wrr dns or hosts file, see's host header. i'm not sure how configured same cname on 2 cloudfront distributions, shouldn't possible.

for work, need utilize 2 different services, example, s3 , cloudfront. create bucket test.example.net , cloudfront distribution configured test.example.net. can wrr both services serve content test.example.net


Comments

  1. unfortunately trying not possible. cloudfront, or http server matter, see's host header of test.example.com. has no idea how got there, wrr dns or hosts file, see's host header. i'm not sure how configured same cname on 2 cloudfront distributions, shouldn't possible.

    vumoo

    ReplyDelete

Post a Comment

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -