So, I am imagining making a distributed storage (maybe some global database)

If implement raft on top of S3 I can kinda see this working. Is there a sensible "file system on top of S3 like storage" out there already?