Hello! I’ve created a new site, https://staknine.com, focused on deploying with Elixir. My first posts are a 4-part series covering Elixir Releases, Docker, deploying to Digital Ocean, and continuous deployment with GitHub Actions.
We wrote up a post about the best cloud hosting providers for Elixir and Phoenix applications.
Here was our methodology and rating critera:
We conducted extensive research into the hosting options for Elixir and Phoenix. You can deploy to any platform using Docker. However, many hosting providers offer Elixir-specific guides and tools to make deployments easier. These platforms and take full advantage of the BEAM.
During evaluation, we deployed a Phoenix app with a Postgres database to each of the cloud hosting platforms. If available, we tried to deploy using Elixir releases and runtime configuration.
Once our application was deployed, we set up a continuous deployment pipeline from a GitHub repository. Finally, we examined the available dashboard and options for integrating other tools.
We assessed each platform in three areas:
Ease of Use
Documentation / Support
Did we miss any cloud hosting providers that provide a really enjoyable experience for Elixir developers?
Elixir & Phoenix is still a rare choice when it comes to tech stack in new web applications - I believe (and hopefully you too!) that it should not be the case. That’s why I wrote an article on this topic.
For people wanting to learn more about config in Elixir v1.11+, we wrote an article playing around with configuration using config/runtime.exs to better understand how it works, including why you need to wrap your production config with if config_env() == :prod do and end.
After routing and controllers, let us take a few looks at data gathering in an Elixir/Phoenix application. In the fifth part of our website uptime monitor tutorial, you’ll learn about the available data gathering options in the Phoenix framework, how your application can benefit from Quantum and testing:
Shout out to @strzibny who happened to write a very similar post at around the same time (must be Mox season!) and the livebook team for making writing blog posts and solving AOC puzzles even more fun!