Where to Deploy?
Intro
Have your client in the loop asap.
Thats one of the outcomes of the lean startup
So when the code works on your machine: how about sharing it with real users?
VPS
VPS, just a computer somewhere else in the world.
I started using GCP free tier to get started with cloud.
Later, I got dissapointed with Oracle Cloud.
Then decided to try these VPS for fun and see how my linux skills got better.
Any of these can help you serve your Apps to people, unless you want to do so from your homelab!
DO
From ~4/m for 1vcpu
Hetzner
Competitive prices ~4$ for 2 vcpu
Germany or Finland
Linode
The basic ones goes for around 60$/y for 1vcpu
They have several locations, including US, JAPAN, EU AMS
Others
Elestio
I used https://elest.io/ to try some open source projects.
Their mission is great:
Fully managed DevOps platform to deploy your code and open-source software
- You manage it all from https://dash.elest.io/login
They also provide guides and high level features on the OSS projects.
See: https://elest.io/fully-managed-services/hosting-and-infrastructure
Conclusions
Its up to you:
Get a x300, get a ~15w avg at 0,25eur/kwh will cost you ~32eur/y (or 2,74 a month)
Deploy on one of these smaller servers for a little bit more of the price, but you forget about the initial costs.
A new repo for SelfHosters:
Get https/SSL
Do that cleanup from time to time:
#df -h
docker stop $(docker ps -a -q) #stop all
#docker volume rm $(docker volume ls -q | grep -v '^portainer_data$') #rm all volumes but portainer
#docker system df
#docker image prune -a
#docker builder prune -a --force
#docker system prune --all --volumes #just clean all...
Goodies for Servers
- Dont forget about fail2ban:
VPNs: Like Mullvad or ProtonVPN as covered here
Get https/SSL via Cloudflare tunnel or Traefik v3.3 setup.
Goodies for Marketers
https://docs.serpbear.com/deployment/deploying-to-elestio-1-click
https://elest.io/fully-managed-services/applications/crm-erp
FAQ
Hosting a Forum
Node.js based forum software built for the modern web
https://github.com/JAlcocerT/Docker/blob/main/Communication/lemmy/docker-compose.yml
Hosting an eCommerce
MIT | Ultra-fast, Cloud-native, API-first PHP e-commerce framework for building custom online shops, scalable marketplaces and complex B2B apps