RDS DR Error Exception Cannot copy more than 5 snapshots across regions

RDS Cross Region DR fails with Exception: Cannot copy more than 5 snapshots across regions


You may see the following errors in the CPM logs when cross region RDS DR copies fail to successfully copy to the DR region.

ERROR:  cpm_copy_dbsnapshot(aws_rds_utils.py:217)  Exception: Cannot copy more than 5 snapshots across regions (SnapshotQuotaExceeded)
INFO:  start_copy_region(dr_rds.py:429)  RDS DR We reached the max limit of snapshot copy requests for region (your-target-region) (policy Policy_name,in DR account). Exception Cannot copy more than 5 snapshots across regions

Amazon has a an RDS cross region snapshot copy limit of 5 concurrent snapshot copy operations per region. You can read more about the Limitation here -https://docs.amazonaws.cn/en_us/AmazonRDS/latest/UserGuide/USER_CopySnapshot.html

To avoid this limitation you can stagger your policies so you are not attempting to copy more than the allowed RDS snapshots cross region at a time. If you have a policy with more than 5 RDS databases in it then you can split them up into separate policies. Also check to ensure that you do not have any errors in AWS, to do this check your RDS snapshots in the target region to see if any of them seem stuck or have a status of "error" or "pending" for a long time, they may need to be deleted.