Fork me on GitHub
#aws
<
2018-04-03
>
timgilbert21:04:01

@yogidevbear late reply, but we were trying to use AWS CodeDeploy to deploy Clojure code for a while and we basically hated it and ditched it. It seems to be kind of a weird forgotten stepchild in the AWS infrastructure, which for some reason has like 15 different solutions to deploy code, each with weird light variations.

timgilbert21:04:43

What we do currently is build plain-vanilla uberjars from our CI env (CircleCI) and then load them into Elastic Beanstalk instances running the "Java SE" stack, which works fine and is not super complex. We were also experimenting with building Docker containers with the jars in them for a while, but getting compose to work locally wound up being too annoying for us because of [email protected].

timgilbert21:04:10

I filed this ticket about CodeDeploy back in June 2016, it's indicative of the general care that AWS seems to have put into CodeDeploy: https://github.com/aws/aws-codedeploy-agent/issues/64

yogidevbear21:04:52

Thanks for the feedback @timgilbert. Really appreciate it. I must admit that CodeDeploy does seem like it's not quite there in terms of doing what it says on the tin.

timgilbert21:04:00

We've been reasonably happy with Elastic Beanstalk, it has its own little command-line tool eb which is handy for prototyping / debugging deployment stuff. There's still a large configuration/management overhead for it which might be easier to deal with via terraform or a similar project