I am trying to access a Datomic cloud instance via an AWS Lambda function but am unable to make a connection (it just times out). The database and Lambda functions are running in the same account and region.
I have confirmed the Datomic cloud instance setup correctly and can access it from a Bastion connection on my local computer without any issues.
I have duplicated the client config settings, minus the proxy property, to make the connection in the Lambda function. I have also configured the Lambda function to access the Datomic VPC, I have included all 3 Datomic subnets that were created and specified the Datomic apps security group.
I have also tried adding the datomic-admin policy to the Lambda role and to the authenticated user pool role. Unfortunately the connection continues to just time out.
I’m very new to AWS (and Datomic for that matter), so I’m sure I have just overlooked something or done something stupid, but I’ve been struggling with this for a couple of days now and am clearly not getting anywhere.
Please can you let me know how I need to configure my Lambda functions (running Java 8, although written in Clojure 1.9) to access the Datomic cloud database?