Phoenix: Automated build and deploy made simple

I wrote this blog post based on our experiences setting up continuous delivery for our first production umbrella Phoenix app. Coming from capistrano with Rails, I wanted to have something equally simple and flexible for our Phoenix app. Ansible with distillery was the answer.

We’ve used this set up in production for a while now and it has been working flawlessly. I hope it will help others save time going from development to production deployment.

Blog post - https://dreamconception.com/tech/phoenix-automated-build-and-deploy-made-simple/

Sample repo - https://github.com/danschultzer/ansible-phoenix-build

12 Likes

Hi @danschultzer, thanks for writing this. I’m going to use your post to inform my own build/deployment. Has anything changed since you wrote this in Dec '17?

I’ve kept it up to date. The last update was in August, now using Distillery 2.0 and Elixir 1.7.1 :slight_smile:

Updated to Elixir 1.9.0 so mix release is used instead of :distillery :rocket:

4 Likes

Nice, thanks for updating it! It looks quite helpful. I have a quick suggestion. For anyone visiting that post via Google I’d recommend putting a “updated at” date or note in the blog post itself, otherwise I’d worry that people would land there and dismiss the blog post as “outdated” without actually reading it.

1 Like

Yeah, you’re absolutely right. Thanks for pushing me to finally update the theme to show the updated date :smile:

1 Like