Kurisu

Kurisu

Are there any free or very low cost vps solution to build Elixir app releases with distillery?

This is not really an elixir question but maybe someone can help me ?

I deployed with success my first phoenix app on a Digital Ocean VPS, just following Phoenix and Distillery docs. I find that very simple even if I spent a lot of time trying and trying again the process until all went fine. ^^

Now my concern is that each time I made a new release or rebuild one, I have to upload it from my computer to the production VPS. Currently the whole release archive is just about some 30 Mb, but that could grow in the future, plus I could deploy the same release many times.

Long story short, I’m using a slow and expensive (for me at least) mobile data for all internet mater.
So instead of building my apps releases locally, if I can do it on a free or almost free VPS host, that will be very great.

I already tested the process on a $5/month Digital Ocean VPS, but I’m searching for something even cheaper if possible. All I have to do on this VPS is to setup elixir, phoenix, npm, webpack and git.
Then periodically I will pull a project from a git repository, then compile for production and build a release that will be sent to the production VPS. All the remaining time this VPS will be inactive.

Most Liked

NobbZ

NobbZ

Personally, I build everything on gitlab-ci, where I also have hosted my sources.

Currently I do SSH into the hosting server and download the release from there using curl and deploy manually that way.

But since it does not use my regular slowish internet connection (upload is capped at 1Mbit/s) but some much faster lane with 100Mbit/s (or even more?), it is currently worth the effort. Unless you stay below 2000 minutes a month across all private repos CI is even free for private repos in the free tier.

Currently I’m evaluating some tools that would check gitlab on a regular basis for new releases and deploy automatically. But until I have done that, it will take some time…

It will take me even some time to get my current set up back online, as messed up with a lot of stuff recently while experimenting around with some config management tool…


edit

You can get some insight to the gitlab side of things in a recent project of mine which I started publicly:

frigidcode

frigidcode

Memory and execution caps on AWS Lamba, may or may not exceed those.

hassan

hassan

This use case seems like a potential fit for “serverless” e.g. AWS Lambda.

Where Next?

Popular in Questions Top

_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
New
Kagamiiiii
Student & New to elixir. Nice language. I want to convert a english character, e.g. “a”, which is stored in a variable, to it’s asci...
New
Phillipp
Hey, I have a NanoPi-M3 and try to install Elixir on their Ubuntu image. I followed the Raspberry Pi installation instructions from the ...
New
makeitrein
Hey all, just started picking up Elixir last week and am writing a scraper as a learning project. Baby step #1 is extracting the number ...
New
mathew4509
I have a list say x = ["23gh", "56kh", "97mh"] I would like to pass each element to Val in each iteration. Say, in iteration 1 -------...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
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
jc00ke
Expanding on this topic: https://forum.elixirforum.net/t/map-typespec-question/19217 Let’s say I have a map with required and optional k...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New

Other popular topics Top

TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
273 38985 115
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 30048 115
New
yurko
Here are few pieces of (common) Linux knowledge that we use for reasonably small one server apps. We use Ubuntu but this should work for ...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 35421 110
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
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

We're in Beta

About us Mission Statement