dokuzbir

dokuzbir

What do I need to keep in mind when deploying?

Soon i am going to deploy my first phoenix app. And that will be also my first deploy experience. I decided to use vps. I really dont know what kind of problems will have in future about servers. For example, what do you use for avoid database data loses, and for backup? And another related problems after deploy i will face to.

Can you share your experiences please?

Also i really want to see opinions of @kokolegorille @peerreynders @OvermindDL1

Most Liked

wmnnd

wmnnd

You will most definitely need more security than just the default server configuration. This is why people use PaaS so they don’t have to deal with this. Think of PaaS as outsourcing your server administration.

Scaling on most PaaS ist easier than on a VPS. Like @Qqwy said, if you’re doing this as a hobby project, you might consider setting everything up yourself a useful learning experience. But if you’re not yet experienced and plan to handle real user data, you can’t just start an Ubuntu VPS and be done with it.

Qqwy

Qqwy

TypeCheck Core Team

If you are doing this as a hobby-project, however, I would like to say: do use a Virtual Private Server. There’s no better way to learn something than doing it yourself, and there is a plethora of tutorials out there.

wmnnd

wmnnd

Do you have experience administering a Linux server? If not, you might not want to use a VPS.

Instead, take a look at PaaS services; You can run Elixir on CloudFoundry or other systems via Docker, even Google App Engine now supports Elixir or you could go with a specialized service like Gigalixir.

Where Next?

Popular in Questions Top

chokchit
** (DBConnection.ConnectionError) connection not available and request was dropped from queue after 2733ms. You can configure how long re...
New
Kurisu
For example for a current url like http://localhost:4000/cosmetic/products?_utf8=✓&query=perfume&page=2, I would like to get: ...
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
lucidguppy
I have a super simple question about elixir - how would I take a file like this foo bar baz and output a new file that enumerates th...
New
srinivasu
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call t...
New
komlanvi
Hi everyone, I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
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
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New

Other popular topics Top

New
hariharasudhan94
lets say i have a sample like a = 20; b = 10; if (a > b) do {:ok, "a"} end if (a < b) do {:ok, b} end if (a == b) do {:ok, "equa...
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
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
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

We're in Beta

About us Mission Statement