Content Delivery Network is a common element of today’s applications. Its configuration should be well aligned with your your backend, not only to cache content, but also to do handle many other things directly at the edge - authenticate your users, route traffic or filter out malicious requests. Keeping things in sync can be a challenge in a multi-origin environment.
We decided to use Jenkins pipelines, Terraform and Chef to automate the entire process and make it painless for the entire team.