Fork me on GitHub
#clojure-uk
<
2018-03-05
>
thomas08:03:45

moin moin morning

guy09:03:16

morning 🙂

danm09:03:20

ahoy hoy

maleghast12:03:42

Quick "straw poll"... How are you guys all doing the scripting of instances / containers (either is fine) that need to be provisioned, deps installed, code checked out / installed from S3, process run, results persisted and then instance or container killed? 1. Ansible 2. Chef 3. Puppet 4. Mach/Roll 5. Fugue 6. (ba)sh scripts 7. Elastic Beanstalk + scripts 8. Something else...

maleghast12:03:54

I need to figure out an interim solution that will do the above, for an R App that is being developed by my Data Dept - I prefer not to use Docker / Containers right now__ as I don't want the cost of an "always on" K8s / DC-OS cluster (even a small one) when I can do the above, for now, with an instance and cost myself a few $s a month.

maleghast12:03:11

But the more automated it can be the better I will feel 🙂

thomas12:03:58

I have used 1 and 2 in the past and prefer 1.

thomas12:03:05

hope that helps

maleghast12:03:38

@thomas - Yes, thanks, that does help 🙂

maleghast12:03:51

I also like Ansible, though I've never personally "used it in anger" it's been used at two of my previous jobs and I had to understand it and I liked the way it works... I find / found Chef "bumpy" by comparison, but I know that some people love it, so I am not agin it, per se, just not wild about it either...

maleghast12:03:52

I am interested in whether or not anyone has figured out a "good" way to do this hosting the recipes / playbooks etc. remotely to have the automation(s) run on a schedule without the need for a human being to "push the button" as well...

maleghast12:03:19

Side Question - is it worth developing my own custom AMI for something like this, or is it much of a muchnes to just start from baseline (say Amazon Linux) and script installing all of the deps on top before adding / deploying the application that is to run every time?

mccraigmccraig12:03:50

@maleghast i'm just moving to terraform for provisioning clusters... mostly because there exist some terraform repos which do most of what i need

maleghast12:03:52

@mccraigmccraig - Yeah, I like Terraform... How do you automate its use though? I mean I like what and how it does what it does, but it's not a complete automation solution, right?

maleghast12:03:20

Is it complete enough that non-fragile shell scripts can do the activation / running part of the process?

mccraigmccraig12:03:13

i think you would need something else too... possibly just a bash script

maleghast12:03:22

I understand that Ansible plays nicely with it, for example, so you can have a very simple Ansible playbook that can be automated easily in terms of running it / when it runs, but it hands off all the provisioning to TF

maleghast12:03:28

*nods* Yeah, cool 🙂 Simple is best. I need to refresh my bash skills, though, or make a decision to use "something else". I've always liked Python for that kind of work... I suppose one could use Clojure and Boot

mccraigmccraig12:03:23

for our CI testing automation we are using codefresh, which is basically docker compositions as a service - which works very nicely for setting up a clean test environment, running tests and tearing down

mccraigmccraig12:03:49

i think there are a bunch of other docker-composition services too

maleghast12:03:27

Hmmmm... That might actually be an interesting "third way"

maleghast12:03:43

brb lunch...

maleghast13:03:05

Lunch good - I am managing to be "healthy" today, properly... It's an odd experience... 😉