Skip to main content
Last updated: 22 Apr 2021

Put a PaaS application behind Cloudfront CDN

It is possible to put an application behind a Cloudfront CDN when it is on the PaaS with a custom domain. This means you can quickly set up a new application and have it serve traffic at scale.

There are instructions on how to set this up in their docs.

At step 5, you need to add the CNAME records to DNS, you can do this by manually adding it to Route53 in the AWS console to check that you’ve got it right.

Once you have checked it works, and been through the rest of the PaaS documentation, you should add this to the govuk-dns-config repo so that your changes won’t be lost. There is prior art.

Once it’s merged you must then deploy the changes