Fork me on GitHub
#datomic
<
2018-08-01
>
henrik04:08:31

@jaret @joe.lane Thank you for your patience, the upgrade to 402 seems to have resolved the problems. Forrest Gump was right—AWS really is like a box of chocolates.

😁 4
Oliver George10:08:02

I'd love an AWS support group. There's so much to get your head around. So many ways to do things. Say #ionaws

👍 12
henrik10:08:10

@olivergeorge Great idea, and I think you’re free to set one up. We just have to trick the people who actually know stuff into coming there as well.

Joe Lane14:08:55

@olivergeorge @henrik I’d be happy to join that channel and help there and ask for help there

henrik14:08:08

I named it #ions-aws

👍 4
currentoor19:08:36

I’m following the instructions here https://docs.datomic.com/on-prem/aws.html but I get this VPC error

The security group 'datomic' does not exist in default VPC 'vpc-XXXXXX' (Service: AmazonAutoScaling; Status Code: 400; Error Code: ValidationError

marshall11:08:20

Have you run the ensure-transactor script?

currentoor21:08:48

@U05120CBV i’m using postgres, not dynamoDB

currentoor21:08:58

i thought that script was only for dynamoDB?

marshall13:08:13

Yes, it is for using DynamoDB, but it also sets up all the required AWS infrastructure (i.e. roles/permissions)

marshall13:08:49

err- actually ensure-cf might be the one that does that

marshall13:08:52

did you run it?

marshall13:08:42

You’ll need to run it with AWS credentials that can do things like create security groups, etc

currentoor18:08:51

yes i did run, with AWS credentials, it printed success and i see the transactor instance in my EC2 instance table

currentoor18:08:00

but it keeps stopping and restarting

currentoor18:08:07

Client.InstanceInitiatedShutdown: Instance initiated shutdown

currentoor18:08:40

i read online that this might be because of not enough memory, so i bumped the instance type upto t2.large

currentoor18:08:43

but still no luck

marshall19:08:32

the transactor instance does?

marshall19:08:36

restart that is

currentoor20:08:33

i’m able to get a local transactor to connect to this postgres storage just fine

currentoor20:08:03

i’m trying to just connect via my own ec2 instance instead of the prebuilt AMI

marshall20:08:10

Youd need proper security group configured for the instance you are running

currentoor00:08:07

ok i’m getting closer 😅

currentoor00:08:22

you were right i needed proper security group configurations

currentoor05:08:21

i think i’m almost there, just one last issue left

currentoor05:08:30

i detailed what i’m seeing here

currentoor20:08:48

I figured it out, it was a misconfigured host, needed to use the public DNS

currentoor20:08:00

i documented my solution in that same forum post

currentoor20:08:00

so since the public DNS is dynamically determined for me, how do you recommend scripting it?

currentoor20:08:16

do i need to modify the *.properties file i pass to bin/transactor or is there a way to pass it as an argument?

currentoor19:08:54

Am I supposed to make a security group called datomic?