One-click Elixir install on DigitalOcean

Today I created a VPS on DigitalOcean that uses the one click elixir setup. It turns out that:

  1. it still runs Elixir 1.1
  2. It uses a version of Postgres(9.3) that cannot work with Ecto, as it misses the ‘array’ and ‘jsonb’ column types (they are introduced in 9.4)
  3. It uses an outdated version of Node that does not work well with Phoenix/Brunch.

So, in the end, it wasn’t very one-click at all, and I ended up re-installing all of the dependencies manually anyway.

What are your experiences with using DigitalOcean for Elixir?

4 Likes

I use DO for Elixir and it works great. The one-click app is a total
failure, though. I would recommend using something like ansible to set up
your server.

4 Likes

Docker?

1 Like

DigitalOcean most likely :stuck_out_tongue:

1 Like

Qqwy you should really contact Digital Ocean. You never know, they might help out.

1 Like

Is there an Ansible script for setting up production ready droplet? That would be cool to have out of the box running machine. Since for example default policy is to have a root user and accept all firewall.

I’m using https://github.com/HashNuke/ansible-elixir-stack and it works good.

3 Likes