juxt

steveb8n 2017-09-14T00:26:05.000143Z

Further to Q2, I can imagine how to configure two different EC2 targets using the config file to achieve Blue/Green pretty easily. What I’m raising is that I initially thought that this kind of deployment process was included in Roll because of the tagline. Is that my mistake or will Roll eventually have a sample of full Blue/Green to support the tagline?

jonpither 2017-09-14T05:06:50.000107Z

Hi @steveb8n

steveb8n 2017-09-14T05:07:16.000105Z

good morning…

jonpither 2017-09-14T05:07:33.000012Z

The way we do blue green is to have multiple asgs running diff versions

jonpither 2017-09-14T05:08:05.000093Z

Then you flip which one has the load balancer when you are happy

steveb8n 2017-09-14T05:08:42.000054Z

I figured it would be something like that. I’ll try setting that up

steveb8n 2017-09-14T05:08:44.000028Z

would be good to have that particular recipe in the docs for all

jonpither 2017-09-14T05:08:58.000121Z

Totally :-)

jonpither 2017-09-14T05:09:54.000100Z

The idea is you keep modifying the config to promote different versions, so you have a deployment history

steveb8n 2017-09-14T05:10:05.000070Z

likewise the KMS secret read sample

steveb8n 2017-09-14T05:10:36.000197Z

interesting. I discovered the use of tags in your sample to generate artifact names in the S3 bucket

steveb8n 2017-09-14T05:11:03.000076Z

would that not work i.e. then wouldn’t need config changes

steveb8n 2017-09-14T05:11:08.000193Z

?

jonpither 2017-09-14T05:11:40.000034Z

This feedback is great and we will work on the docs

jonpither 2017-09-14T05:12:03.000042Z

Tags? Do you mean :latest ?

steveb8n 2017-09-14T05:12:42.000022Z

I found that the upload command needed a git tag to work. when I added a tag, everything worked

steveb8n 2017-09-14T05:13:11.000011Z

so I inferred that git tags were the way you ‘version’ your artifacts. Is that inference wrong?

steveb8n 2017-09-14T05:13:55.000092Z

in my case I use semvers as tags

jonpither 2017-09-14T05:14:08.000232Z

Ah I see. Yes, it shouldn't need tags. I http://am.in the office today so will have a look

steveb8n 2017-09-14T05:14:26.000014Z

good to know. want me to log an issue for that?

jonpither 2017-09-14T05:14:30.000169Z

It should be able to use the git sha and not rely on tags

jonpither 2017-09-14T05:14:41.000067Z

Please yes!

steveb8n 2017-09-14T05:14:44.000069Z

done

jonpither 2017-09-14T05:14:50.000133Z

Cheers

steveb8n 2017-09-14T05:15:31.000157Z

Now that I am fully deployed, I’m wondering how else I can use Roll. e.g. Datomic. Or should I use the packer recipe for that?

jonpither 2017-09-14T05:16:28.000091Z

I will write you something up today/tomorrow

steveb8n 2017-09-14T05:16:35.000061Z

also, should I log an issue for Q1 as well?

jonpither 2017-09-14T05:17:08.000218Z

For Q1, try doing a tf plan in between

steveb8n 2017-09-14T05:17:23.000063Z

ok, will do. I think I already have but I’ll double check

steveb8n 2017-09-14T05:18:08.000042Z

before long I’ll build a docker image so I can run all this in Bitbucket pipelines. that can be public so all can benefit

jonpither 2017-09-14T05:18:10.000168Z

It might be terraform has lost track of an asg. I don't think this is a roll issue..

jonpither 2017-09-14T05:18:30.000092Z

That would be great

steveb8n 2017-09-14T05:19:13.000060Z

last Q (I promise). I also want to deploy a Reimann server and hook up clients. Do you think Roll will be a good fit for that as well?

jonpither 2017-09-14T05:20:41.000203Z

The approach of add tf config in addition to what roll has built.. Yes. We do this for Riemann

jonpither 2017-09-14T05:21:04.000026Z

Let me get something to you

steveb8n 2017-09-14T05:21:31.000020Z

great. happy to test all this great stuff. thanks again, this is fun

jonpither 2017-09-14T05:21:42.000055Z

We have a pack-riemann on github I think

jonpither 2017-09-14T05:21:51.000190Z

Will check the status later

steveb8n 2017-09-14T05:22:10.000044Z

oh, so Roll drives the packer process? I didn’t make the connectin

steveb8n 2017-09-14T05:22:14.000138Z

connection

jonpither 2017-09-14T05:22:37.000087Z

No it doesn't, but this repo gives an idea

steveb8n 2017-09-14T05:22:54.000026Z

cool. I’ll do the homework. thx

jonpither 2017-09-14T05:22:56.000136Z

Have to go to the gym now... but in the office a little later

steveb8n 2017-09-14T05:23:16.000043Z

Go big or go home!

jonpither 2017-09-14T05:23:26.000119Z

Right ;-)

jonpither 2017-09-14T05:24:01.000186Z

It has been such a mental couple of weeks, and holidays before that. Normally I am more responsive, so apologies for that.

steveb8n 2017-09-14T05:24:57.000001Z

no problem, if I’m ever in a rush I’ll say so, but that’s almost never. just grateful 🙂

jonpither 2017-09-14T05:25:11.000006Z

Thanks to @dominicm for stepping in. The good news is Roll is on the roadmap for a couple of clients, so it will get some more upgrades and general love

steveb8n 2017-09-14T05:25:24.000041Z

and @dominicm has been great

jonpither 2017-09-14T05:25:33.000199Z

:simple_smile:

jonpither 2017-09-14T05:25:47.000131Z

Ttyl

steveb8n 2017-09-14T05:26:57.000117Z

see ya.

steveb8n 2017-09-14T05:28:13.000121Z

btw I’m using Pedestal and lein to build instead of Yada/Boot so nice to know another variation works with Roll. And port 8080 instead of 3080

steveb8n 2017-09-14T05:28:30.000043Z

now I’ll stop 🙂

dominicm 2017-09-14T17:03:43.000479Z

The AMI is now optional with roll :) and it will get the right one for your region.