AndyL

AndyL

Best hosting provider for Axon training?

My dev machines are old and can’t handle Axon training runs. I’d like to use rent-by-the-hour GPU enabled servers from an outfit like Linode, Digital Ocean, GCP, Azure, AWS, etc.

What provider is best? Any tips on optimal configuration re: Ram, CPU, GPU?

Thanks in Advance!

Most Liked

lucaong

lucaong

Reviving this thread to add that I recently tried https://brev.dev and I must say that the first impression is great: you can spin up a development environment in minutes, add/remove a GPU as needed, and fully customize it to your needs. There are some rough edges, you can feel it’s a startup, but the idea is pretty good.

It is a sweet spot somewhere between setting up your own cloud instance from scratch, and running your notebook on Colab: you fully control your machine, which is a Linux instance, but do not have to mess with the details of the AWS/Google Cloud configuration, and can start from a template that already includes most of what you need.

For example, starting from the base Python + Jupyter template, I installed Elixir and a couple of other tools, and I had an environment capable of running Nx, Axon and Livebook on the GPU in minutes.

Some things are great:

  • Choosing CPU/GPU and changing hardware as needed is really simple
  • It’s really just a Linux box, so setting it up to your needs is easy if you know your way around Linux
  • You are not limited in the tools to use: there are templates to set up Python for ML, but you can just install Elixir and whatever you want on top of it. At the same time, the templates save you from having to figure out yourself details like GPU drivers, etc.
  • Auto stop of idle instances can save you from wasting money if you forget to switch it off
  • Integration with VSCode is super smooth (I mostly use terminal Vim, which was just as easy as copying my config files there, but simple VSCode integration is a great plus)

Some things are not as polished as I would like, for example:

  • copying files between your local machine and the remote one could use better tooling: you can simply scp, but you have to figure out the host, where Brev put its SSH key (in ~/.brev/brev.pem), and which user it uses, all things that could be automated by a brev scp command.
  • port forwarding (to reach Livebook or a dev server from your local machine) is available, but could be made more convenient with some manifest file, so you would not have to re-do it every time you start your dev environment. In general, I’d prefer to have my configuration scripted, rather than relying on the web UI, which is sometimes lacking
  • In general, you can feel it’s an early stage startup, with all the possible drawbacks. I am not sure if I would trust them enough yet to commit to them for a use case that would lock me in

In sum, I like the concept: spinning up cloud-based on demand development environments that you fully control, but starting from useful templates that solve the most common needs.

seanmor5

seanmor5

Author of Genetic Algorithms in Elixir

It’s worth noting that you can prototype on GPUs with Colab for free:

https://github.com/jonatanklosko/livebook_setups/tree/main/colab

te_chris

te_chris

Worth checking out GCP Vertex AI. Gemini Enterprise Agent Platform serverless training overview  |  Google Cloud Documentation

They have a nice api where you can run one off training jobs with gpus. Just need to spec a docker container.

Where Next?

Popular in Questions Top

sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
marius95
Hello everyone, I try to use an Javascript Event Handler in my root.html.leex file. Therefore I created a function in the app.js file: ...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
tduccuong
Hi, is there any work on GUI with Elixir, that is similar to Electron/Javascript? My idea is to bundle Phoenix and BEAM into a single se...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New
earth10
Hi, I’m just starting to build a side-project with Elixir and Phoenix and doing some basic test with Elixir alone. What strikes me is th...
New
vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New

Other popular topics Top

danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 29603 241
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
Emily
I have VueJS GUIs with the project generated using Webpack. I have Elixir modules that will need to be used by the VueJS GUIs. I forese...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3271 127089 1222
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
jaysoifer
Is there a way to rollback a specific migration and only that one (“skipping” all the other ones)? Would mix ecto.rollback -v 200809061...
New
vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement