AWS wellarchitected: ADVREL07-BP03 secure privacy-preserving recovery for collaboration
Summary
Rewrites the best practice from multi-location backup guidance to secure, privacy-preserving recovery for collaboration workloads, covering encryption during restore, KMS/IAM/privacy verification, and cleanup of interrupted computations.
Security assessment
The change documents security best practices for recovery: maintaining encryption, verifying KMS key policies, IAM policies, and privacy controls before restoring access, and securely cleaning up interrupted computations. It does not reference a specific CVE, vulnerability, or incident.
Evidence
+Ad data must stay encrypted at every stage of restoration. Standard DR patterns assume a plaintext window during restore. For AWS Clean Rooms workloads, any such window is a data exposure event.
Diff
diff --git a/wellarchitected/latest/video-streaming-advertising-lens/advrel07-bp03.md b/wellarchitected/latest/video-streaming-advertising-lens/advrel07-bp03.md index 5993615..3a0471a 100644 --- a//wellarchitected/latest/video-streaming-advertising-lens/advrel07-bp03.md +++ b//wellarchitected/latest/video-streaming-advertising-lens/advrel07-bp03.md @@ -7 +7 @@ -Implementation guidanceKey AWS servicesResources +Implementation guidanceResources @@ -9 +9 @@ Implementation guidanceKey AWS servicesResources -# ADVREL07-BP03 Back up data in multiple locations with consideration for your regulatory or legal requirements +# ADVREL07-BP03 Implement secure and privacy-preserving recovery mechanisms for collaboration workloads @@ -11 +11,38 @@ Implementation guidanceKey AWS servicesResources -Back up data in multiple locations, and consider how consumer privacy laws may impact your data replication and storage plans. +Implement recovery procedures that maintain data encryption throughout the process, verify privacy controls before restoring access, and establish recovery time objectives aligned with privacy requirements. + +**Desired outcome:** + + * Recovery procedures maintain data encryption throughout the restoration process. + + * Privacy controls are verified before any restored collaboration environment accepts new queries. + + * Secure state management helps interrupted privacy computations terminate safely rather than exposing partial results. + + + + +**Common anti-patterns:** + + * Restoration procedures that decrypt data into an unprotected state during recovery. + + * Restoring a collaboration environment and accepting queries before verifying privacy controls are intact. + + * Setting RTO without accounting for mandatory privacy-verification steps, which makes the target unachievable. + + * Leaving interrupted computations' partial results accessible or failing to reconcile their privacy budget consumption. + + + + +**Benefits of establishing this best practice:** + + * Data encryption is maintained throughout the restoration process. + + * Privacy controls are verified before a restored environment accepts any new queries. + + * Secure state management helps interrupted computations terminate safely without exposing partial results. + + + + +**Level of risk exposed if this best practice is not established:** High @@ -15 +52 @@ Back up data in multiple locations, and consider how consumer privacy laws may i -Select AWS Regions for backup locations that satisfy your legal and business requirements. Consider how consumer privacy laws may impact your ability to replicate data which could contain personal data. Be aware of how countries where your workload operates regulate advertising and related data, and seek legal consultation when you are unsure of how regulations might apply to your workload. Use your understanding of those regulations to select AWS services and Regions. Seek legal counsel when in doubt. +Ad data must stay encrypted at every stage of restoration. Standard DR patterns assume a plaintext window during restore. For AWS Clean Rooms workloads, any such window is a data exposure event. @@ -17 +54 @@ Select AWS Regions for backup locations that satisfy your legal and business req -## Key AWS services +Privacy verification tasks take real time and cannot be shortened (such as KMS key policy checks, analysis rule validation, IAM confirmation, and budget reconciliation). An RTO that ignores these steps looks achievable in planning but fails during a real event. When the honest RTO exceeds the target, use a pre-validated warm standby to meet it. Skipping verification is not an acceptable substitute. @@ -19 +56,5 @@ Select AWS Regions for backup locations that satisfy your legal and business req - * [AWS Backup](https://aws.amazon.com/backup/) +Aggregation hides individual records behind differential privacy noise. If a computation is interrupted, its partial output in S3 can reveal individual-record information that the finished query would have obscured. Secure cleanup is a privacy requirement. Interrupted queries also consume budget. Reconcile that consumption to prevent over-extraction across repeated attempts. + +Privacy and compliance teams define what counts as intact controls. Operations teams run the restoration. Keep a restored environment closed to queries until the gate owner accepts it. Both groups must agree on the acceptance criteria in advance. + +### Implementation steps @@ -21 +62,5 @@ Select AWS Regions for backup locations that satisfy your legal and business req - * [AWS Key Management Service (KMS)](https://aws.amazon.com/kms/) + 1. **Define privacy-aware RTO/RPO for collaboration workloads:** Document recovery objectives that account for privacy validation time. Tier 1 collaboration data (active measurement campaigns): RTO 4 hours (including privacy control verification), RPO 1 hour. Analytics archives: RTO 24 hours, RPO 4 hours. Include privacy control restoration and verification time in all RTO calculations. + + 2. **Implement automated privacy control verification post-restoration:** Create a Lambda function that runs after every restoration operation and verifies: KMS key policies are intact and restrictive, Clean Rooms collaboration analysis rules are correctly configured, IAM policies for collaboration participants are unmodified, and differential privacy settings are restored. Block collaboration access until all verifications pass. + + 3. **Configure secure state cleanup for interrupted computations:** For Nitro Enclave computations, implement cleanup handlers that securely wipe enclave memory when computations are interrupted (regardless of cause). For Clean Rooms queries, implement a query state tracking system that can identify interrupted queries and mark their privacy budget consumption as consumed to guard against re-execution bypassing budget limits. @@ -28 +73,5 @@ Select AWS Regions for backup locations that satisfy your legal and business req - * [Cloud security guidance](https://www.ncsc.gov.uk/collection/cloud) +**Related best practices:** + + * [ADVREL07-BP01 Design resilient architectures with privacy-preserving fault tolerance](./advrel07-bp01.html) + + @@ -30 +78,0 @@ Select AWS Regions for backup locations that satisfy your legal and business req - * [Protecting your data with backups](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/using-backups.html) @@ -32 +80,16 @@ Select AWS Regions for backup locations that satisfy your legal and business req - * [Amazon DynamoDB now helps you meet regulatory compliance and business continuity requirements through enhanced backup features in AWS Backup](https://aws.amazon.com/about-aws/whats-new/2021/11/amazon-dynamodb-requirements-aws-backup/index.html) +**Related documents:** + + * [AWS KMS key rotation](https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html) + + * [AWS Secrets Manager rotation](https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html) + + + + +**Related services:** + + * [AWS KMS](https://aws.amazon.com/kms/) + + * [AWS Secrets Manager](https://aws.amazon.com/secrets-manager/) + + * [AWS Backup](https://aws.amazon.com/backup/) @@ -43 +106 @@ To use the Amazon Web Services Documentation, Javascript must be enabled. Please -ADVREL07-BP02 Implement a backup strategy which would meet RTO and RPO objectives +ADVREL07-BP02 Maintain data consistency and availability across collaboration workflows @@ -45 +108 @@ ADVREL07-BP02 Implement a backup strategy which would meet RTO and RPO objective -Privacy +Ad measurement and verification reliability