Migrating to AWS RDS/Aurura With Customer-Per DB Organization?

I work for a company with a legacy LAMP application we’d like to migrate to AWS. The application has a “master database” which contains customer records and some other top-level organization bits (maybe 50 tables). Then each customer has their own database (on the same server), the number of tables varying between 150-250 (reports are cached to a unique table per report, and the number of reports varies).

In our research we discovered that RDS claims to be limited to 10,000 tables per instances. With 800 customer databases in our production environment with the number of tables per-db mentioned, this seems like it puts RDS and Aurora out of reach for us without fundamental structural changes to our application.

Today, I could migrate the application easily by simply running an EC2 instance with MySQL, replicating what we have on physical servers today. I could, but then I get none of the benefits of moving to AWS.

I’m curious if anyone has suggestions about how they would strategies migrating to AWS with such a condition in the software.

Edit: For clarification, this was the source of the 10,000 table limit. I’m not sure if we’re misunderstanding the docs or not: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_BestPractices.html#CHAP_BestPractices.MySQLStorage

I don’t think RDS has limits on the number of tables per instance, unless the underlying db engine has that limit.
Would be interested to see where you found the 10000 limit, as the RDS faq suggests there isn’t one.

Also keep in mind that RDS is not the same as Aurora. So a limit on Aurora might not apply to RDS.

Was this your source? https://forums.aws.amazon.com/thread.jspa?threadID=81018

While this information is from 9 years ago, the AWS rep states that’s 10-15k per database, or millions of tables per RDS instance if organized into separate databases

we have an Aurora MySQL DB with ~50-60 schemas, each with 750 tables. No problems.

keep in mind that Aurora only supports a single Master unless you’re running with a 5.6 engine ie. writes are going to be a limiting factor

on the plus side, with a few replicas, reads are FAST!

This is what I was basing that off of: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_BestPractices.html#CHAP_BestPractices.MySQLStorage

One of the developers that works with me was given the project of researching/implementing a MyISAM to InnoDB migration project for us in order to prepare to move to AWS. He pointed us at this and said given our current implementation we couldn’t move to RDS. There’s a chance we are misunderstanding the fine print.

This is where we read that: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_BestPractices.html#CHAP_BestPractices.MySQLStorage

There is a chance we are misunderstanding the information. Any thoughts.

Yeah, I’d say just kick the tires and see how you go. Should be easy enough to spin up an instance and write something small that tries to create several databases with 10k tables apiece