I would like to add that the data that'll be stored in the DB on the robot itself is only a small subset of the whole data that'll be stored on the AWS server.
So the idea of writing only to the local database, and then using something to sync that DB to the AWS one, would not work in this case.