ministryofjustice / modernisation-platform

A place for the core work of the Modernisation Platform • This repository is defined and managed in Terraform
https://user-guide.modernisation-platform.service.justice.gov.uk
MIT License
680 stars 290 forks source link

NCSC - validate backups by doing a restore #7441

Closed SimonPPledger closed 3 weeks ago

SimonPPledger commented 2 months ago

User Story

Following on from NCSC review Recommendation: Regularly test the process of restoring from a backup to ensure the process works and is well understood by the Platform Team prior to an incident. 

This ticket is to test the restore of platform as well as application (eg state files) elements

Value / Purpose

This will give us confidence that we are able to restore components in case of an issue

Useful Contacts

No response

Additional Information

No response

Definition of Done

PS - Try is as a member, not admin

Khatraf commented 1 month ago

For this ticket, it was agreed that the focus would be on:

  1. Copying the replica of member state file in eu-west-1 and restoring it in eu-west-2.
  2. Test the backup for an EC2 instance in one of our testing environments and see if it's successfully is backed up and can be restored.
richgreen-moj commented 1 month ago

Ticket reviewed, DoD completed and a runbook to replicate the processes has been documented here: https://user-guide.modernisation-platform.service.justice.gov.uk/runbooks/backup-restore-process.html#backup-and-restore-of-terraform-statefile-amp-ec2