Restoring a snapshot fails: `InvalidParameterCombination: Cannot find version 11.22 for postgres`.
BeginnerTroubleshootingRDS, Aurora and DynamoDB
Answer
Likely causes → The engine version has reached end of standard support or is not offered in this Region any more, so you cannot create new instances on it without Extended Support or an upgrade.
Diagnose →
aws rds describe-db-engine-versions --engine postgres --query 'DBEngineVersions[].EngineVersion' --output text
aws rds describe-db-snapshots --db-snapshot-identifier snap-1 --query 'DBSnapshots[].EngineVersion'
Fix →
- Restore with a supported version, specifying
--engine-versionif the restore path allows it - Or upgrade the snapshot first:
aws rds modify-db-snapshot --db-snapshot-identifier snap-1 --engine-version 12.22(RDS PostgreSQL supports upgrading DB snapshots), then upgrade the restored instance further
Prevent → Track engine end-of-life dates, upgrade on a schedule, and run restore tests regularly.
More on RDS, Aurora and DynamoDB
The app cannot connect to RDS: `psql: error: connection to server at "mydb.abc.us-east-1.rds.amazonaws.com" (10.0.3.12), port 5432 failed: Connection timed out`.Beginner`FATAL: password authentication failed for user "postgres"` and nobody knows the master password.Beginner`FATAL: no pg_hba.conf entry for host "10.0.1.25", user "app", database "orders", no encryption`.IntermediateApp logs show `FATAL: remaining connection slots are reserved for non-replication superuser connections` (or MySQL `ERROR 1040 (HY000): Too many connections`).IntermediateRDS status shows `storage-full` and writes fail.IntermediateA read replica's `ReplicaLag` keeps growing and reports show stale data.Intermediate