I played around a little bit with the free Datomic OnPrem version and I like the general
concept of Datomic. So I thought I give Datomic Cloud a try, especially with Ions it seems
if I could get everything setup I would be really fast in prototyping my ideas (and even use it in production).
Host re-frame app in S3/Cloudfront, User management with Cognito, API Gateway, Datomic and I just have write
my app logic in Clojure and everything else is done for me. Sound great.
So I start at the beginning with the first Setup “Start a System” page
There (and in the following pages) I already wonder about lots of dead links.
E.g. just on this first page the
access gateway and
CloudFormation failure links are not working.
In the template I have “Solo” and “Solo 2” and only if I select the latest but one I see the cheap price,
so I choose that one and follow the rest of the tutorial.
I get successfully the Dashboard created and my compute and storage instances.
curl -x socks ... works and I get a successful
But then when I actually try to create a database I get “Unable to find keyfile at s3://[…]/datomic/access/admin/.keys”.
I asked in clojurians but no help so I try
a bit more as I thought maybe I have the wrong user, so I used (and from now on forward only use) the root user with all access.
So I decide to remove the cloud fromation and start again.
Terminate cloud formation and re-creating didn’t work because it couldn’t create the storage.
Then I tried a different name and same thing.
Then I saw I made a mistake because I didn’t follow https://docs.datomic.com/cloud/operation/deleting.html
So I delete everything this time completely and try again.
Another error and then rollback from the template.
I do this another time until I try creating a system with a different name.
Now I have a running Datomic Cloud instance again and I even can connect and create a Database!
Now I try the “Ions” tutorial. I do everything as described and the deploy fails like
for other people here or here.
I also tried with a very minimalistic “echo” only Ion but this also fails to deploy.
Looging in the logs I also see a lot of RestartingDaemonException (like here).
As you always have to wait when (re-)creating the cloud formation I feel I “wasted” already
over a day just trying to literally follow step by step what’s written in the tutorial
and it simply doesn’t work and it doesn’t really give any meaningful error messages to debug
and I feel kinda lost even though I haven’t even startet yet
Thanks for reading my long rant