3 ms·
I am about to embark on this myself. I was tossing up between DO's app platform (good: no server admin, bad: emphatical, lock in) or just renting a VM like this
by quickthrower2 3y ago
I am about to embark on this myself. I was tossing up between DO's app platform (good: no server admin, bad: emphatical, lock in) or just renting a VM like this. This pushes me towards VM.
Setting up a python server environment seems to be hard work, with lots of steps (gunicorn and all that) but that said they make the point about using Docker. So maybe docker compose could take a lot of the pain out of it.
- cpursley 3y agoCheck out render.com as well.
- hairofadog 3y agoI’ve been eyeing render.com for a pretty standard rails stack. Have you experienced any drawbacks or limitations with it so far?
- cpursley 3y agoWorks great with Rails. I’m mostly using it with distributed Elixir natively (which other platforms can’t handle), Hasura (in docker) and some static SPAs (free). I find it just as easy as Heroku, but cheaper. As someone who hates messing with servers and prefers to focus on my product, render is perfect for me.
- riskable 3y agoApache Libcloud supports DigitalOcean: https://libcloud.readthedocs.io/en/stable/compute/drivers/digital_ocean.html https://libcloud.readthedocs.io/en/stable/compute/drivers/di... So as long as you don't mind writing your deployment scripts using Python you can make them reasonably portable (though honestly every provider has a little bit of quirkiness that needs to be worked around but it's usually trivial stuff). Should solve 95% of that "lock in" problem.
- AlexITC 3y agoGo for it! It isn't as complex as it seems, then, you can decide whether it is worth it. One advantage from DO is the regular backups. Like you said, you can go for executing docker compose on the server if you want to do it fast.