This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-08
Channels
- # aws (21)
- # beginners (62)
- # boot (29)
- # chestnut (1)
- # cider (110)
- # cljs-dev (37)
- # clojure (93)
- # clojure-berlin (1)
- # clojure-dev (10)
- # clojure-greece (4)
- # clojure-italy (5)
- # clojure-new-zealand (1)
- # clojure-spec (6)
- # clojure-uk (46)
- # clojurebridge (1)
- # clojurescript (54)
- # cryogen (1)
- # cursive (22)
- # datomic (72)
- # emacs (2)
- # events (3)
- # flambo (1)
- # hoplon (88)
- # jobs (6)
- # juxt (51)
- # lein-figwheel (1)
- # leiningen (3)
- # lumo (12)
- # mount (4)
- # off-topic (3)
- # onyx (3)
- # pedestal (4)
- # portkey (27)
- # re-frame (13)
- # reagent (1)
- # ring (4)
- # rum (2)
- # uncomplicate (1)
- # unrepl (3)
The ami used is a bog standard Ubuntu server instance @steveb8n. Maybe Roll could auto determine the AMI if one is not supplied.. that could be handy.
true although maybe just adding that to the docs for now would be enough to avoid my issue
I already tried a pretty basic Ubuntu AMI and it failed on jdk install (see above). It could have been specific to the one I tried
while you are here. Is there any sample code in edge for reading/decrypting KMS secrets? The doc’s mention KMS and I liked it (after learning about it) but it would be good to reference an example somewhere
Sure. Not sure we have any docs.. there is a blog post in the works! I will see what we have. It is very cool and worth it. Roll does some KMS stuff but I need to verify.
@steveb8n I'm gonna have a go at writing a script to get the Ubuntu image for the given region today.
cool. I’ll hold off until you’ve tried. BTW there was no good vanilla Ubuntu image in the Sydney region. one mo and and paste in the list
it’s 50 items so maybe I won’t paste in. but they are all php servers so probably not ideal
@steveb8n https://cloud-images.ubuntu.com/locator/ec2/ apparently there's official ones? Did you try them?
@steveb8n let me know how you get on, because I'd love to use this list to automatically determine the correct AMI for people.
@stijn for pack datomic? Currently it's a manual process. I wonder if it needs to be though.
well, the use case for pack-datomic for us is that I want to have some code on the datomic transactor classpath
we're running into trouble using rules inside a transactor function, and the only way I've been able to make it work is by putting the rules in a clojure file that is visible to the transactor jvm
Agreed. The other option is that user data launches the datomic instance, and it does that after uploading the clojure files.
@dominicm I’m trying to re-deploy using that AMI but having trouble with existing deployed stuff. I’ve manually deleted all but one but can’t find where to delete the “instance profile”
aws_iam_instance_profile.nextdoc: Error creating IAM instance profile dev-nextdoc: EntityAlreadyExists: Instance Profile dev-nextdoc already exists. status code: 409, request id: c8e259dc-946e-11e7-9e63-637aa216adbb
@steveb8n I'd try under a credentials section. I'll be in the office in 5m and can be more precise.
yep, docs say that an “instance profile” is just an IAM role but nothing with that name is present
I once got locked out of aws for a couple hours because my password reset was eventually consistent. Too slowly consistent.
success! at least I’m past the “instance profile”. EC2 instance now booting so I can check the AMI… finally
jdk installed as well so I’d say this AMI is good. Now I need to spend some time matching my uberjar to the shape of the Edge uberjar.
I fixed the uberjar and my app is now running and accessible via http. That's a win. I'll work on using KMS keys over the weekend and will sync up for next steps on your Monday