Migrating to remote database

I originally installed cyberpanel with locally hosted databases. I now want to relocate the databases to Amazon AWS.

I have tested relocating the mariadb databases for the sites hosted on the server. This is simple and functions correctly.

The 2 remaining issues are:

  1. Migrating cyberpanel’s own database to AWS
  2. Modifying the data in cyberpanel’s database so that it uses the migrated cyberpanel database (hosted on AWS)
  3. Confirming that cyberpanel’s functions to “create new database” successfully create a new database in AWS

Does anyone have experience in this? Especially in step 2 above?