<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Datomic Knowledgebase - Recent questions tagged dynamodb</title>
<link>https://ask.datomic.com/index.php/tag/dynamodb</link>
<description>Powered by Question2Answer</description>
<item>
<title>Datomic peer - Support SSO</title>
<link>https://ask.datomic.com/index.php/1885/datomic-peer-support-sso</link>
<description>&lt;p&gt;Datomic currently does not support AWS SSO out-of-the-box&lt;/p&gt;
&lt;p&gt;This issue is probably because it uses an old version of &lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.datomic.com/operation/storage.html#dynamodb-aws-peer-dependency&quot;&gt;dynamodb SDK&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I believe that this issue can be fixed by upgrading the AWS SDK to &lt;a rel=&quot;nofollow&quot; href=&quot;https://mvnrepository.com/artifact/software.amazon.awssdk/dynamodb/2.41.27&quot;&gt;v2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here a workaround:&lt;/p&gt;
&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://gist.github.com/souenzzo/42060567479ab2dd916769f1d73042fa&quot;&gt;https://gist.github.com/souenzzo/42060567479ab2dd916769f1d73042fa&lt;/a&gt;&lt;/p&gt;
</description>
<category>Peer API</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/1885/datomic-peer-support-sso</guid>
<pubDate>Fri, 13 Feb 2026 17:36:46 +0000</pubDate>
</item>
<item>
<title>Datomic peer on dynamodb - misleading error message</title>
<link>https://ask.datomic.com/index.php/1884/datomic-peer-on-dynamodb-misleading-error-message</link>
<description>&lt;p&gt;Starting from a simple setup:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;{:deps {com.datomic/peer       {:mvn/version &quot;1.0.7491&quot;}
        org.slf4j/slf4j-simple {:mvn/version &quot;2.0.17&quot;}}}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And trying to connect into a dynamodb connection, it fails with a &quot;s3&quot; error: &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;user=&amp;gt; (require &#039;[datomic.api :as d])
nil
user=&amp;gt; (d/connect &quot;datomic:ddb://us-east-1/prd/db&quot;)
[main] INFO datomic.process-monitor - {:event :metrics/initializing, :metricsCallback clojure.core/identity, :phase :begin, :pid 311, :tid 3}
[main] INFO datomic.process-monitor - {:event :metrics/initializing, :metricsCallback clojure.core/identity, :msec 0.696, :phase :end, :pid 311, :tid 3}
[main] INFO datomic.process-monitor - {:metrics/started clojure.core/identity, :pid 311, :tid 3}
[clojure-agent-send-off-pool-0] INFO datomic.domain - {:event :cache/create, :cache-bytes 502267904, :pid 311, :tid 25}
[clojure-agent-send-off-pool-0] INFO datomic.process-monitor - {:AvailableMB 895.0, :ObjectCacheCount 0, :event :metrics, :pid 311, :tid 25}
Execution error (ClassNotFoundException) at jdk.internal.loader.BuiltinClassLoader/loadClass (BuiltinClassLoader.java:580).
com.amazonaws.services.s3.model.MultiObjectDeleteException
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;From this error message, it is pretty hard to find that datomic actually requires an extra dynamodb dependency to work.&lt;/p&gt;
&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.datomic.com/operation/storage.html#dynamodb-aws-peer-dependency&quot;&gt;https://docs.datomic.com/operation/storage.html#dynamodb-aws-peer-dependency&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Possible fixes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A better error message&lt;/li&gt;
&lt;li&gt;Adding this error message to datomic docs, as a &quot;common errors&quot; - do google will be able to find. &lt;/li&gt;
&lt;/ul&gt;
</description>
<category>Peer API</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/1884/datomic-peer-on-dynamodb-misleading-error-message</guid>
<pubDate>Fri, 13 Feb 2026 16:19:56 +0000</pubDate>
</item>
<item>
<title>Support for DynamoDB compatible services</title>
<link>https://ask.datomic.com/index.php/898/support-for-dynamodb-compatible-services</link>
<description>&lt;p&gt;Hi!&lt;br&gt;
There is a DynamoDB compatible service called &lt;a rel=&quot;nofollow&quot; href=&quot;https://ydb.tech/&quot;&gt;YDB&lt;/a&gt;.&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://cloud.yandex.com/en/services/ydb&quot;&gt;YDB in the Yandex Cloud&lt;/a&gt;  has a serverless mode with &lt;a rel=&quot;nofollow&quot; href=&quot;https://cloud.yandex.com/en/docs/ydb/docapi/tools/aws-setup&quot;&gt;DynamoDB support.&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;So I have:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;AWS_ACCESS_KEY_ID&lt;/li&gt;
&lt;li&gt;AWS_SECRET_KEY&lt;/li&gt;
&lt;li&gt;region: ru-central1&lt;/li&gt;
&lt;li&gt;endpoint like &lt;code&gt;https://docapi.serverless.yandexcloud.net/ru-central1/b1gia87mbaomkfvs6rgl/etnudu2n9ri35luqe4h1&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I have tried using the ddb and ddb-local protocols with different settings.&lt;/p&gt;
&lt;p&gt;Variants of &lt;code&gt;aws-dynamodb-override-endpoint&lt;/code&gt;&lt;br&gt;
 1. &lt;code&gt;docapi.serverless.yandexcloud.net/ru-central1/.../...&lt;/code&gt;&lt;br&gt;
 2. &lt;code&gt;docapi.serverless.yandexcloud.net:443/ru-central1/.../...&lt;/code&gt;&lt;br&gt;
 3. &lt;code&gt;https://docapi.serverless.yandexcloud.net/ru-central1/.../...&lt;/code&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ bin/datomic ensure-transactor config/ddb.properties config/ddb-gen.properties
java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in authority at index 7: http://&quot;https://docapi.serverless.yandexcloud.net/ru-central1/b1g31q09ln3ca15cg5mf/etnckvjnbskiko1s639l&quot;
	at com.amazonaws.util.RuntimeHttpUtils.toUri(RuntimeHttpUtils.java:216)
	at com.amazonaws.util.RuntimeHttpUtils.toUri(RuntimeHttpUtils.java:190)
	at com.amazonaws.AmazonWebServiceClient.toURI(AmazonWebServiceClient.java:329)
	at com.amazonaws.AmazonWebServiceClient.setEndpoint(AmazonWebServiceClient.java:317)
	at datomic.ddb$client.invokeStatic(ddb.clj:14)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I think that ddb-local always uses http protocol and there is no way to configure it with https.&lt;/p&gt;
&lt;p&gt;There are some &lt;a rel=&quot;nofollow&quot; href=&quot;https://cloud.yandex.com/en/docs/ydb/docapi/tools/aws-sdk/create-table&quot;&gt;examples&lt;/a&gt; of using AwsSDK with YDB in Yandex cloud&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;AmazonDynamoDB client = AmazonDynamoDBClientBuilder.standard()
          .withEndpointConfiguration(new AwsClientBuilder.EndpointConfiguration(&quot;&amp;lt;Document API endpoint&amp;gt;&quot;, &quot;ru-central1&quot;))
          .build();
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Could you add support for DynamoDB compatible services?&lt;br&gt;
Could it be the new `aws-dynamodb-override-protocol&#039; setting, which is by default &#039;http&#039; ?&lt;/p&gt;
</description>
<category>On-Prem</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/898/support-for-dynamodb-compatible-services</guid>
<pubDate>Thu, 11 May 2023 12:18:56 +0000</pubDate>
</item>
<item>
<title>DDB size reduction after restore</title>
<link>https://ask.datomic.com/index.php/618/ddb-size-reduction-after-restore</link>
<description>&lt;p&gt;Hello. We have a large datomic database (15B datoms, 20TB DDB size). We have done a backup and a restore as a test and the resulting DDB is 500GB in size. Is this expected? A couple of datom count queries match on both databases, but the reduction from 20TB to 500GB still look a bit scary&lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/618/ddb-size-reduction-after-restore</guid>
<pubDate>Tue, 25 May 2021 09:19:36 +0000</pubDate>
</item>
</channel>
</rss>