Description
Amazon RDS encrypted DB instances use the industry standard AES-256 encryption algorithm to encrypt your data on the server that hosts your Amazon RDS DB instances. After your data is encrypted, Amazon RDS handles authentication of access and decryption of your data transparently with a minimal impact on performance.
Rationaleβ
Databases are likely to hold sensitive and critical data, it is highly recommended to implement encryption in order to protect your data from unauthorized access or disclosure. With RDS encryption enabled, the data stored on the instance's underlying storage, the automated backups, read replicas, and snapshots, are all encrypted.
Auditβ
From Consoleβ
- Login to the AWS Management Console and open the RDS dashboard at https://console.aws.amazon.com/rds/.
- In the navigation pane, under RDS dashboard, click
Databases
. - Select the RDS Instance that you want to examine.
- Click
Instance Name
to see details, then click onConfiguration
tab. - Under Configuration Details section, In Storage pane search for the
Encryption Enabled
Status. - If the current status is set to
Disabled
, Encryption is not enabled for the selected RDS Instance database instance. - Repeat steps 3 to 7 to verify encryption status of other RDS Instance in same region.
- Change region from the top of the navigation bar and repeat audit for other regions.
From Command Lineβ
- Run
describe-db-instances
command to list all RDS Instance database names, available in the selected AWS region, Output will return each Instance database identifier-name:
aws rds describe-db-instances --region <region-name> --query 'DBInstances[*].DBInstanceIdentifier'
- Run again
describe-db-instances
command using the RDS Instance identifier returned earlier, to determine if the selected database instance is encrypted, The command output should return the encryption statusTrue
OrFalse
:
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 to 3 for auditing each RDS Instance and change Region to verify for 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/