title: How to sync mysql local db with AWS cloud database
body: <p>I’m working on my project: cloud tool for cancer data prediction. But I don’t know how to sync MySQL local DB with AWS cloud DB.
  I developed a website with MAMP stack on my Mac system, This website is a patient management system which can be used to insert, query, update or delete patient data. I also setup ann AWS EC2 instance which has LAMP stack. The requirement is: any changes in the local database (including insert, query, update or deletion) need to sync with cloud database which means any change can trigger a corresponding change in AWS MySQL database. Could anyone please help with this? What’s the best solution about it? Thanks a million! </p>