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?

preguntada hace un año199 visualizaciones
1 Respuesta
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.

respondido hace un año
  • I have the continuous deployment set up but I am unable to test the expected behavior in traffic split.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas