No, you do not need a webserver with datomic cloud. You may use AWS API Gateway and I believe that is the recommended way to do things. It’s what I did when following the documentation. Ions Tutorial | Datomic
Also, the pedestal sample referenced earlier uses Pedestal Ions, which has a nice 1-2-3-4 steps laid out on the GitHub page at GitHub - pedestal/pedestal.ions: A Pedestal Interceptor Chain provider for Datomic Ions. I found this useful and modeled it directly in my code.
Last, I did setup a dev server - this took me a while to figure out how to do - using dev-local’s
divert-system and pedestal’s builtin webserver
io.pedestal.http/start. However, I found that this wasn’t necessary for most of my local development. I could just call my functions directly from the repl. With dev-local, the datomic queries can be tested like this and many http requests can be tested since they are plain old data going to pure functions! It gave me a little mind blowing moment. I suggest trying how much you can develop and test without starting up a dev server. I’m coming from worlds like RoR, Flask, and other places where this would be impossible, so my mind went straight to “setup a dev web server”. Only after struggling with this for a while did I realize… “I don’t need a dev web server to test what I’m wanting to test. Perhaps that’s why this doesn’t exist right out of the box.”
Of course, there is still value in seeing what the final app looks like with everything together.