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?

已提問 1 年前檢視次數 199 次
1 個回答
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.

已回答 1 年前
  • I have the continuous deployment set up but I am unable to test the expected behavior in traffic split.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南