Description
Amazon RDS encrypted DB instances use the industry standard AES-256 encryption algorithm to encrypt data on the server that hosts your Amazon RDS DB instances. After your data is encrypted, Amazon RDS handles access authentication and data decryption transparently with minimal impact on performance.
Rationale
Databases often hold sensitive and critical data, so it is highly recommended to implement encryption to protect your data from unauthorized access or disclosure. With RDS encryption enabled, data stored on the instance's underlying storage, automated backups, read replicas, and snapshots are all encrypted.
Audit
From Console
- Log in to the AWS Management Console and open the RDS dashboard at https://console.aws.amazon.com/rds/.
- In the navigation pane, click
Databases. - Select the RDS instance that you want to examine.
- Click the instance name to see details, then click the
Configurationtab. - Under the Configuration Details section, in the Storage pane, find the
Encryption Enabledstatus. - If the current status is set to
Disabled, encryption is not enabled for the selected RDS instance. - Repeat steps 3-7 to verify the encryption status of other RDS instances in the same region.
- Change the region from the top of the navigation bar and repeat the audit for other regions.
From Command Line
-
Run the
describe-db-instancescommand to list all RDS instance database names available in the selected AWS region. The output returns each instance database identifier name:aws rds describe-db-instances --region <region-name> --query 'DBInstances[*].DBInstanceIdentifier' -
Run the
describe-db-instancescommand again using the RDS instance identifier returned earlier to determine whether the selected database instance is encrypted. The command output should return the encryption statusTrueorFalse:aws rds describe-db-instances --region <region-name> --db-instance-identifier <DB-Name> --query 'DBInstances[*].StorageEncrypted' -
If the StorageEncrypted parameter value is
False, encryption is not enabled for the selected RDS database instance. -
Repeat steps 1-3 for each RDS instance, and change the Region to verify other regions.
References
- https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Encryption.html
- https://aws.amazon.com/blogs/database/selecting-the-right-encryption-options-for-amazon-rds-and-amazon-aurora-database-engines/#:~:text=With%20RDS%2Dencrypted%20resources%2C%20data,transparent%20to%20your%20database%20engine.
- https://aws.amazon.com/rds/features/security/