Strapi v4.17 running in AWS Fargate keeps erasing collections on container re-deploy

System Information
  • **Strapi Version4.17:
  • Operating System:
  • Database: rds mysql8
  • Node Version: 18-20
  • NPM Version: 6
  • Yarn Version:


I’ve configured strapi to run as an AWS ECS Fargate instance, connected to an RDS MySQL database. Everything looks good until we redeploy the instance - after that, all collection data is lost.
I’ve tried adding data again and restoring MySQL backup, but no luck. No matter what I do, data gets lost and there is no way to permanently keep it.

Other data as admin users are kept, but collections are gone.

Any guidance for further troubleshooting? Debug mode?
How do we track why strapi is removing tables from db?