{
  "schemaVersion": "ebb.rule.v1",
  "id": "database.aws-aurora-mysql.end-of-support-5.6",
  "ecosystem": "database",
  "purl": "pkg:generic/aws-aurora/mysql",
  "affectedVersions": "vers:intdot/>=5.6|<5.7",
  "event": "end-of-support",
  "severity": "high",
  "title": "Aurora MySQL version 1 is past end of standard support",
  "summary": "AWS ended standard support for Aurora MySQL version 1 (MySQL 5.6 compatible) on 2023-02-28. RDS Extended Support was not offered for this version, so it receives no further Aurora security or bug fixes. Upgrade to Aurora MySQL version 3 (MySQL 8.0 compatible) or later.",
  "replacement": "Aurora MySQL version 3 (MySQL 8.0 compatible) or later",
  "deadline": "2023-02-28",
  "sources": [
    {
      "title": "Release calendars for Amazon Aurora MySQL",
      "url": "https://docs.aws.amazon.com/AmazonRDS/latest/AuroraMySQLReleaseNotes/AuroraMySQL.release-calendars.html",
      "accessedAt": "2026-10-30"
    },
    {
      "title": "Using Amazon RDS Extended Support with Amazon Aurora",
      "url": "https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html",
      "accessedAt": "2026-10-30"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-30",
    "reviewedAt": "2026-10-30",
    "reviewer": "arminazimi"
  },
  "migration": {
    "constraints": [
      "A major version upgrade on RDS or Aurora is a separate maintenance action; RDS does not apply it automatically, and changing the engine version back is not a rollback.",
      "Take a snapshot before a major version upgrade: the change cannot be undone in place.",
      "Extended Support keeps the instance or cluster running past the end of standard support for a fee; it does not replace moving to a supported major."
    ],
    "steps": [
      {
        "id": "back-up-data",
        "title": "Take a snapshot",
        "instructions": "Take a manual RDS snapshot of every reported instance or cluster and verify that it can be restored.",
        "targets": "all"
      },
      {
        "id": "upgrade-engine",
        "title": "Upgrade to a supported major",
        "instructions": "Upgrade with ModifyDBInstance or ModifyDBCluster and AllowMajorVersionUpgrade, or restore the snapshot into a new instance or cluster on Aurora MySQL version 3 (MySQL 8.0 compatible) or later and move the application connection string to it.",
        "targets": "declaration"
      },
      {
        "id": "raise-declared-version",
        "title": "Raise the declared version",
        "instructions": "Change engine_version in every aws_db_instance, aws_rds_cluster, Compose, and Helm value that runs this database, not only the reported object.",
        "targets": "all"
      },
      {
        "id": "align-clients",
        "title": "Check clients and extensions",
        "instructions": "Update database drivers, ORMs, extensions, and parameter groups that assume the old major version.",
        "targets": "all"
      }
    ],
    "verification": [
      {
        "command": "terraform plan",
        "purpose": "Review the plan and confirm the engine_version change is intended and is the only database change."
      },
      {
        "command": "docker compose config",
        "purpose": "Confirm any local Compose service that mirrors this database is valid and uses an image tag that matches Aurora MySQL version 3 (MySQL 8.0 compatible) or later."
      },
      {
        "command": "aws rds describe-db-clusters --query \"DBClusters[?Engine=='aurora-mysql'].[DBClusterIdentifier,EngineVersion]\" --output table",
        "purpose": "Confirm each reported DB cluster now reports a supported engine version."
      }
    ]
  }
}
