Description
New RDS MySQL instances default AutoMinorVersionUpgrade to true. RDS selects the minor versions eligible for automatic installation during maintenance.
Potential impact
If routine automatic upgrades are disabled, delaying manual patches also delays security and stability fixes.
Remediation
For automatic upgrades, set AutoMinorVersionUpgrade: true and use a backup retention period greater than zero. Check app compatibility with the target version and schedule maintenance. If you patch manually, set deadlines for review and installation.
Examples
Supply a supported MySQL version for MySqlEngineVersion and configure the instance class, storage and credentials separately.
Before
yaml
Resources:
MyDB:
Type: AWS::RDS::DBInstance
Properties:
Engine: mysql
EngineVersion: !Ref MySqlEngineVersion
AutoMinorVersionUpgrade: false
After
yaml
Resources:
MyDB:
Type: AWS::RDS::DBInstance
Properties:
Engine: mysql
EngineVersion: !Ref MySqlEngineVersion
AutoMinorVersionUpgrade: true