What are hotCode deploys?

I have searched here and there so far found nothing comprehensive on this topic of “HotCode Deploy”.

Currently, Our application is deployed on Ubuntu 17.10 and there few steps through which we build and release our application which we run through ansible (Deploy from anywhere to Hetzner server (Ubuntu 17.10))

which are those https://github.com/evercam/evercam-devops/blob/master/ansible/media/tasks/deploy.yml#L1-L62

As I see in many articles they talk about build and release. that’s what we already do.

I want to know about hot code deploys. what are those? any guide and any successful article which supposed to apply hot deploys with Elixir Phoenix applications.

:wave:

It’s “the ability to change module code in runtime.”

See https://hexdocs.pm/distillery/upgrades-and-downgrades.html#content

You can learn more in http://erlang.org/doc/design_principles/release_structure.html, http://erlang.org/doc/design_principles/release_handling.html, and http://erlang.org/doc/design_principles/appup_cookbook.html.

2 Likes