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.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ