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?

질문됨 일 년 전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.

답변함 일 년 전
  • I have the continuous deployment set up but I am unable to test the expected behavior in traffic split.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠