Description
Ensure that RDS database instances have the Auto Minor Version Upgrade flag enabled in order to receive automatically minor engine upgrades during the specified maintenance window. So, RDS instances can get the new features, bug fixes, and security patches for their database engines.
Rationaleβ
AWS RDS will occasionally deprecate minor engine versions and provide new ones for an upgrade. When the last version number within the release is replaced, the version changed is considered minor. With Auto Minor Version Upgrade feature enabled, the version upgrades will occur automatically during the specified maintenance window so your RDS instances can get the new features, bug fixes, and security patches for their database engines.
Auditβ
From Consoleβ
- Log in to the AWS management console and navigate to the RDS dashboard at https://console.aws.amazon.com/rds/.
- In the left navigation panel, click on
Databases
. - Select the RDS instance that wants to examine.
- Click on the
Maintenance and backups
panel. - Under the
Maintenance
section, search for the Auto Minor Version Upgrade status.
- If the current status is set to
Disabled
, means the feature is not set and the minor engine upgrades released will not be applied to the selected RDS instance.
From Command Lineβ
- Run
describe-db-instances
command to list all RDS database names, available in the selected AWS region:
aws rds describe-db-instances --region <regionName> --query 'DBInstances[*].DBInstanceIdentifier'
- The command output should return each database instance identifier.
- Run again
describe-db-instances
command using the RDS instance identifier returned earlier to determine the Auto Minor Version Upgrade status for the selected instance:
aws rds describe-db-instances --region <regionName> --db-instance-identifier <dbInstanceIdentifier> --query 'DBInstances[*].AutoMinorVersionUpgrade'
- The command output should return the feature current status. If the current status is set to
true
, the feature is enabled and the minor engine upgrades will be applied to the selected RDS instance.