How to test Cloudfront continuous deployment?

0

I have created a Cloudfront distribution for an S3 static site with continuous deployment enabled. I have version 1 code in the S3 bucket which is the origin for the Cloudfront distribution. I have configured staging distribution to receive 10% of the traffic. I deployed version 2 code to the S3 bucket. I expect 10% of the requests to get version 2 and 90% to get version 1, but I get version 2 for all 100% of requests. Is my understanding correct? How can I test the traffic split?

asked a year ago193 views
1 Answer
0

I always try to learn new things, I have liked your courage, so I was crusing the web and I have found a blog of AWS which may assist you.

https://aws.amazon.com/blogs/networking-and-content-delivery/use-cloudfront-continuous-deployment-to-safely-validate-cdn-changes/

Please let me know the update, so I will also get courage to assist others and encourage me by voting my effort.

answered a year ago
  • I have the continuous deployment set up but I am unable to test the expected behavior in traffic split.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions