A global energy trading firm is designing a high-throughput settlement ledger system (OLTP workload) that must span two AWS Regions: us-east-1 (primary) and us-west-2 (secondary) to support near-real-time transactions. The database requires strict ACID compliance and must handle high-volume write transactions in the primary region, while read traffic must scale horizontally in both regions to support analyst dashboards. The architecture must satisfy a Recovery Point Objective (RPO) of 1 minute and a Recovery Time Objective (RTO) of 5 minutes. Additionally, security compliance mandates that the database be encrypted at rest using Customer Managed Keys (CMKs) and all database audit logs must be securely centralized in an Amazon S3 bucket located in a dedicated, separate security account. Which design strategy meets these database performance, disaster recovery, and security compliance requirements?
- Deploy an Amazon Aurora PostgreSQL Global Database with the primary cluster in us-east-1 and a secondary cluster in us-west-2. Configure Aurora Auto Scaling on the reader instances in both regions. Encrypt the clusters using regional Customer Managed Keys (CMKs) in their respective regions. Configure PostgreSQL audit logs (pgAudit) to publish to Amazon CloudWatch Logs, and use an Amazon Kinesis Data Firehose stream in each region to deliver the logs to the centralized S3 bucket, ensuring the security account's S3 bucket policy grants s3:PutObject permissions to the Firehose IAM roles.Cevap
- BDeploy a Multi-AZ Amazon RDS for PostgreSQL DB instance in us-east-1 and configure a cross-region read replica in us-west-2. Configure target tracking scaling policies to dynamically add standby instances to the Multi-AZ deployment during read spikes. Encrypt the primary database and replica using the default AWS-managed KMS key (aws/rds). Configure a script on an Amazon EC2 instance to periodically copy PostgreSQL audit logs to the centralized S3 bucket using cross-account IAM roles.
- CDeploy an Amazon Aurora PostgreSQL Global Database with the primary cluster in us-east-1 and a secondary cluster in us-west-2. Encrypt both the primary and secondary clusters using a single, shared Customer Managed Key (CMK) ARN created in us-east-1 to ensure cryptographic parity during replication. Configure Aurora to export logs directly to the security account's S3 bucket using an S3 VPC endpoint, without modifying the destination bucket policy since both accounts belong to the same AWS Organization.
- DDeploy an Amazon Aurora PostgreSQL DB cluster in us-east-1. Configure AWS Backup to take continuous backups and copy them to us-west-2. Set up a pilot light environment in us-west-2 consisting of an inactive Aurora DB cluster. In the event of a primary region failure, restore the latest backup to the pilot light cluster. Configure the database to write audit logs to a local S3 bucket, and use S3 Cross-Region Replication (CRR) to replicate the log files to the centralized security account's S3 bucket without configuring a destination bucket policy.