Fork me on GitHub
#datomic
<
2016-03-16
>
gerstree14:03:16

@elijahchancey: What exactly keeps you from creating a transactor?

harold15:03:17

Is there a way to get more feedback from ./bin/datomic restore-db file:./data/db-backup datomic:? A progress bar, and/or a few prints outlining the steps it is taking would be tremendous.

elijahchancey16:03:07

@gerstree: This is what happens when I try to create the transactor

elijahchancey16:03:10

$ bin/datomic ensure-transactor dev-transactor.properties dev-transactor.properties
{:success dev-transactor.properties}
$ bin/datomic ensure-cf dev-cf.properties dev-cf.properties

com.amazonaws.AmazonServiceException: The security group 'ec2-securitygroup-databases-xxxx’ does not exist in default VPC 'vpc-xxxxxxx’ (Service: AmazonEC2; Status Code: 400; Error Code: InvalidGroup.NotFound; Request ID: xxxxxx)

elijahchancey16:03:14

in our environment we have multiple VPCs to separate our infrastructure. it’s important for us to be able to specify which VPC to create the datomic infrastructure in so it can communicate with the correct EC2 resources. The default VPC isn’t specific enough.

elijahchancey16:03:04

Also, the security group ec2-securitygroup-databases-xxxx does exist, but it’s in a different VPC than the default VPC.

bkamphaus17:03:06

@elijahchancey: at present the ensure-, etc. process doesn’t accommodate VPC. It’s a feature request we’re considering to document steps or to have it supported via the auto/generative steps. We do have some users who generate the cloud formation json with create-cf-template initially, then edit additional information for VPC. There are users who use the transactor AMI still while doing so.

gerstree18:03:06

@elijahchancey: Yeah, VPC is the reason we left the ensure process and roll our own setup.

gerstree18:03:23

We currently run the transactor as a docker container in AWS ECS. You could do that (if you are looking for trouble of a different kind 😉 )

elijahchancey19:03:28

@bkamphaus @gerstree thanks for the workaround suggestions!

gerstree19:03:20

Whenever you need more details, ping me.