Skip to main content
Warning This document has not been updated for a while now. It may be out of date.
Last updated: 23 Feb 2024

What is GOV.UK Emergency Alerts?

The Cabinet Office COBR Unit and the Department for Science, Innovation and Technology have developed an emergency alert system to enable people whose lives are at risk in an emergency to be rapidly contacted via their mobile phone. It is currently in the trial phase following a successful national test message. It was originally developed by the GOV.UK Notify team and is now managed and maintained by the GOV.UK Emergency Alerts team.

As part of this service, GOV.UK delegate serving www.gov.uk/alerts to the GOV.UK Emergency Alerts team.

How does www.gov.uk/alerts work?

We have a custom host in Fastly for /alerts which points at an AWS CloudFront CDN which is managed by the GOV.UK Emergency Alerts team. Each GOV.UK environment points at a different custom host:

Requests to /alerts (or to anything beginning with /alerts/) hit GOV.UK’s CDN (Fastly), but no other bits of GOV.UK’s infrastructure.

This is configured in govuk-fastly, by dynamically selecting the backend from the list of backends in govuk-fastly-secrets.

We only have one backend, at the time of writing. Backends have POP shield enabled by default.

Fastly automation token for cache purge

The Emergency Alerts team has a Fastly automation token which allows their application to invalidate objects in the Fastly CDN cache for www.gov.uk.

This purge token should not normally need to be changed. In rare circumstances the Emergency Alerts team may need us to reissue a token, for example if a token has been lost or compromised. See Rotate Fastly automation token for Emergency Alerts application.