Fork me on GitHub
#juxt
<
2017-09-14
>
steveb8n00:09:05

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?

steveb8n05:09:16

good morning…

jonpither05:09:33

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

jonpither05:09:05

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

steveb8n05:09:42

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

steveb8n05:09:44

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

jonpither05:09:54

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

steveb8n05:09:05

likewise the KMS secret read sample

steveb8n05:09:36

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

steveb8n05:09:03

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

jonpither05:09:40

This feedback is great and we will work on the docs

jonpither05:09:03

Tags? Do you mean :latest ?

steveb8n05:09:42

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

steveb8n05:09:11

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

steveb8n05:09:55

in my case I use semvers as tags

jonpither05:09:08

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

steveb8n05:09:26

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

jonpither05:09:30

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

steveb8n05:09:31

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?

jonpither05:09:28

I will write you something up today/tomorrow

steveb8n05:09:35

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

jonpither05:09:08

For Q1, try doing a tf plan in between

steveb8n05:09:23

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

steveb8n05:09:08

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

jonpither05:09:10

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

jonpither05:09:30

That would be great

steveb8n05:09:13

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?

jonpither05:09:41

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

jonpither05:09:04

Let me get something to you

steveb8n05:09:31

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

jonpither05:09:42

We have a pack-riemann on github I think

jonpither05:09:51

Will check the status later

steveb8n05:09:10

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

jonpither05:09:37

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

steveb8n05:09:54

cool. I’ll do the homework. thx

jonpither05:09:56

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

steveb8n05:09:16

Go big or go home!

jonpither05:09:01

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

steveb8n05:09:57

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

jonpither05:09:11

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

steveb8n05:09:24

and @dominicm has been great

steveb8n05:09:13

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

steveb8n05:09:30

now I’ll stop 🙂

dominicm17:09:43

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