Deploying Elixir on Docker

TALK LEVEL: INTERMEDIATE

Deploying Elixir application has always had its complexities. But with the 'releases' support introduced in Elixir v1.9, it has become seamless. Since everybody likes containerising their apps, we'll also try to containerise our releases and deploy on to our most loved cloud service(AWS).

THIS TALK IN THREE WORDS

Deploy

Elixir

(on) Docker

OBJECTIVES

  • How to Dockerise an Elixir application
  • Using Docker multi-stage builds to reduce the final image size
  • How to create Elixir releases using `Distillery`
  • How to create Elixir releases using `mix release` introduced in v1.9
  • How to deploy with zero-downtime on vanilla AWS EC2 instances

TARGET AUDIENCE

People interested in optimising Elixir application deployments.

Upcoming conferences

Start booking your calendar with more Code Sync conferences happening across the globe. We will be slowly releasing more dates, in the meantime here is what we’ve planned already:

All conferences