The UK government's GOV.UK Notify service migrated its PostgreSQL database from the GOV.UK Platform as a Service (PaaS) to Amazon Web Services (AWS) with only 11 seconds of downtime. The migration used AWS Database Migration Service (DMS) to transfer data from the source database to the target database. The team prepared for the migration by setting up a new database in their own AWS account, creating a DMS instance, and configuring VPC peering. The migration process involved a full load task, replication, and a final cutover to the new database.