danschultzer

danschultzer

Pow Core Team

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

First 5 of 5 Posts! Switch mode

dustinfarris

dustinfarris

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?

danschultzer

danschultzer

Pow Core Team

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:

danschultzer

danschultzer

Pow Core Team

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

axelson

axelson

Scenic Core Team

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.

danschultzer

danschultzer

Pow Core Team

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

Where Next?

Trending in Guides/Tuts Top

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
akoutmos
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New

We're in Beta

About us Mission Statement