Ask questions on the official Q&A site at https://ask.datomic.com!
Wojtek 2020-12-28T09:57:18.185Z

I was trying to run datomic on AWS but when I want to create-database I get an error: Execution error (Exceptions$IllegalArgumentExceptionInfo) at datomic.error/arg (error.clj:79). :db.error/invalid-ddb-region Not a supported dynamodb region: me-south-1 Any idea how to fix this? AWS supports dynamodb in me-south-1: https://docs.aws.amazon.com/general/latest/gr/ddb.html

jaret 2021-01-04T13:25:57.199800Z

@wojtek.achtelik how are you creating the DB and what docs are you following? Can you share the command you are using for on-prem? Are you using client or peer api? For on-prem you need to roll your own CFT. Have you done so? As a development connivence we provide an example template through our create-cf-template script. https://docs.datomic.com/on-prem/aws.html However you also have to configure storage: https://docs.datomic.com/on-prem/storage.html#provisioning-dynamo

favila 2020-12-28T14:20:11.185200Z

which datomic is this? cloud or on-prem? Cloud is only supported on certain regions (this isn’t one of them, list here https://docs.datomic.com/cloud/operation/account-setup.html#regions). On-prem might just have an out of date sdk that doesn’t know about this region?


Hey! I'm trying out Datomic Analytics Support, I don't know where to put the metaschema .edn-files. They do not seem to be picked up when placed in ./presto-server/etc/x.edn on my datomic-peer installation, should they be somewhere else? Configuration / catalog is all setup, and show tables shows the default db__attrs and db__idents columns. My metaschema.edn is also correct, see thread.


https://docs.datomic.com/on-prem/analytics/analytics-configuring.html#configuring-metaschema describes etc-path/datomic, where etc-path is announced by presto as the Etc directory: (no surprises there). so in my case; opt/datomic-pro-1.0.6202/presto-server/etc/datomic/x.edn worked. :thumbsup::skin-tone-2:


Very simple metaschema:

 {:person/id {}}
And I verified that (d/q '[:find (count ?e) :where [?e :person/id]] db) returns non-zero

Wojtek 2020-12-28T23:22:38.188500Z

on-prem, datomic-pro-1.0.6222