3 ms·
Recently I just finished tearing down all my self-host services. Things facing the public internet might be convenient, but heck if I want to face that security
by XorNot 6y ago
Recently I just finished tearing down all my self-host services. Things facing the public internet might be convenient, but heck if I want to face that security nightmare in an ongoing way.
All my git repos now live in a "git" folder I share amongst my fileserver and other machines with syncthing, hosting only the bare repos. If I need pull requests or issue tracking, it's got to be something that goes with the repository - as it always should've been, really.
- edfletcher_t137 6y agoThis, 1000%. There's good reason infrastructure-as-a-service has become so popular: self-hosting _sucks_. Not only is there the constant and every-growing security nightmare for which companies like GitHub have entire world-class teams, but let's not forget the fact that self-hosting means you're a sysadmin again. Which _sucks_. The interesting write-up would be the one describing what the experience has been like 6-, 12-, 18-months down the road. It's easy to be optimistic and idealistic at the outset, much more difficult to remain so in the face of the day-to-day realities.
- sdoering 6y ago(nearly) all my projects live in an account on uberspace.com. This is a German shared hosting provider with quite great offerings. You get a shell (ok, no root/sudo because shared hosting) with 10GB space, databases and what not. A vibrant community providing installation resources for a massive amount of tooling: https://lab.uberspace.de/ https://lab.uberspace.de/ I am in no way affiliated to them just a happy customer for 10+ years now. btw: it is pay what you like, but min 1€ per month.
- theamk 6y agoInstallation is the easy part. The hard part is remembering to update all of your software, and making sure you do it fast enough in case there is a zero-day. The worst part is discovering that you installed a simple app and forgot about it; and now hackers got in, encrypted your files and database, and now want a ransom.
- deleted 6y ago[deleted]
- totetsu 6y agoWhat about using something like tailscale / wireguard and selfhosting inside a private vpn?
- alexhutcheson 6y agoIf you’re the only user, you can avoid almost all the security issues by not exposing any HTTP ports to the internet, and instead accessing any web interfaces through SSH port forwarding. For example: 1. Run Gitea on your server, but make it only available on localhost. 2. Connect to your server via SSH, and use the -L flag to forward the port that Gitea is using e.g. ssh -L 8888:localhost:8888 me@myserver.com 3. Access Gitea by opening http://localhost:8888 http://localhost:8888 (or whatever port you’re using) in your browser. However, this doesn’t work if you’d like to collaborate with anyone who you don’t trust enough to give SSH access to your machine. It would also be annoying or impossible to open the web interfaces on mobile devices.
- fluidcruft 6y agoYou could also use wireguard for this sort of thing and keep everything on a VPN.
- ycm2007 6y agoWhat do you think about a service like I'm building https://cloudblast.network https://cloudblast.network (Opens Apr 1) Do you think it's something you'd try?.. Makes it easy to use self-hostable software, Gogs for example. Combines discovery, hosting and backup. Updates are automatic.
- Can_Not 6y agoMy thoughts: Does this service allow me to deploy the apps on my own a VPS and/or dedicated server? Does this service offer to host the apps I deploy? Does this service allow me to specify a docker container? There should be a full list of supported deployable apps. Can I use forks of the available apps, or deploy from a git repo? Do I get analytics (cpu, ram, visitors)? [Assuming clear answers on earlier questions] So I can deploy a ghost blog from my phone? Maybe this could be elaborated. Any plans to release a video example of the service's usage?
- ycm2007 6y ago1 > Does this service allow me to deploy the apps on my own a VPS and/or dedicated server? 2 > Does this service offer to host the apps I deploy? 3 > Does this service allow me to specify a docker container? 4 > There should be a full list of supported deployable apps. 5 > Can I use forks of the available apps, or deploy from a git repo? 6 > Do I get analytics (cpu, ram, visitors)? 7 > [Assuming clear answers on earlier questions] So I can deploy a ghost blog from my phone? Maybe this could be elaborated. 8 > Any plans to release a video example of the service's usage? ANSWERS 1. On the roadmap, you'll have the ability to automatically deploy your apps to several locations (VPS, AWS, home servers, etc.) 2. Absolutely. Nearly any web app can be wrapped with a definition file and added to your personal library and shared with others. I find wrapping an existing app takes less than an hour. 3. Yes. Apps are docker containers wrapped with a definition file. 4. For sure! Once the service launches there will be a free tier with a fully searchable index. 5. Eventually you'll be able to choose versions of apps and import from repos. 6. That's an interesting idea, cpu, ram, disk use and bandwidth are tracked, number of visits could be too. I could see this being available as a power user option. 7. Yes. Would look like opening the browser on your phone, logging into your account and clicking the Ghost graphic. Now you have a URL to your new public instance of Ghost. 8. There's an instant use free tier but we're considering also making a short 60 second "Intro to using Cloudblast" video to jumpstart new users.