MHN
Add a comment on Hacker News →
85 of 321 comments
  1. The cloud space is absurd, we've sat by for 2 decades while the likes of AWS define every aspect of deployment, auth, even containerisation.

    Containerisation was supposed to mean host anywhere, literally redeploy a complex set of services and their connections on any cloud provider at the drop of a hat. That is what a f**ing shipping container is, you rock up to any port in the world and the same container is lifted by any crane onto any ship or truck.

    Amazon, Google, Microsoft - these people have sold vendor lock-in to the very segment of tech society that should have been fighting it tooth and nail. 20 years ago you ftp'd some PHP files and it just worked, now you have to figure out 20 IAM profiles and shit your files across buckets because everything must be 1000000x scalable out of the box.

    No joke I was building a static firebase site the other day and just wanted a simple way to password protect it (like http auth) for staging so my client could see it - of all the useless shit firebase tries to lock you into they can't even do something as simple as basic http auth without a shit show and spinning up a cloud run instance or something to check a static password.

    Yes we 100% need fix hosting, everything should be portable, simple, generic.

  2. These guys have been spamming issues in repos trying to promote this project and no disclosure whatsoever that they are associated with the project.

    https://github.com/search?q=%22cloudinabottle.toml%22&type=i...

  3. I think the time for this space is here. The appetite to depart from subscriptions and loaning your personal data to ad/ai companies is stronger than ever.

    Currently, a lot of this space is docker compose based and simply inaccessible to so many who may otherwise be interested. Whether or not it's this project or another, I hope something gathers enough steam soon to truly break the barriers to entry.

  4. "We (Imbue, the company I work for) also offer a managed version, which I think is really important to making this widely accessible - and it gives us a straightforward business model to support the project."

    Looking at your hosted page, I see no reference to backups. I see in your docs reference to backup, but you should definitely offer some sort of turnkey, appropriately-marked-up backup solution. Configuration difficulty is what kills self-hosting on the front end, updates make it hard over time, but when it all dies and then I have no backup is when I give up.

    I can't find any reference to disk size limits anywhere. Can I host Immich on this? Can I host my media server? What will it cost? Surely not $10/month for my media collection. I'm not a hoarder and mostly have stuff ripped from my personally-owned media, which limits the size, and you're still not hosting that for $10/month. I see you have Jellyfin in the set of apps but I don't know what it will cost. The CPU & RAM limits I understand from the deploy page.

    Oh, and I'm specifically referring to your hosted service here.

  5. This is a great project! Yes, the personal cloud is coming and it's going to be for everyone.

    I'm working on a project with similar goals but some different design decisions - instead of the typical containers I'm going for thin-client apps that hit a common data layer built on a fully serverless architecture. Not ready for production quite yet, but for those interested: https://starkeep.app/

  6. This isn't the hard part of self-hosting, at least not anymore. In the comments here there are lots of examples of similar projects that solve basically the same problem (app selection and deployment). To make self-hosting "easy" we need to solve domain registration, DNS management, and port-forwarding configuration.

    This probably requires a project more like OpenWRT that includes an API-driven relationship with a registrar. The lack of a standard (consumer accessible) domain registration API is a huge hole in automating this. If such a project gets some traction, then it could migrate to a physical router that prospective self-hosters could buy. With domain registration, DNS management, and port forwarding all in the router's software, then the remaining hard parts can be sufficiently automated to make self hosting accessible to the average gaming console owner.

  7. There seems to be a lot of variance between stated and revealed preferences around self-hosting.

    It often seems like presenting the image of being autonomous to our peers seems more important than actually achieving it.

    It takes a lot of energy to replicate what AWS and friends have done once we factor in concerns like the passage of time and entropy. I've never been able to keep a media/NAS appliance alive for much longer than 3-4 years. Inevitably, there is some kind of catastrophic event and I have to start all over with new vendors, etc. Even without any data loss this gets old. I promise you get tired of this after a while. It might seem like that would never happen and then one day it does.

    You can get so much more done if you can actually afford to use the cloud. I have a really hard time believing that many people are genuinely winning on total cost of ownership with self hosting.

  8. This is a great idea and I wish it success. Self-hosting shouldn't be a nightmare of researching and setting up 20 different applications.

    Is there something similar in progress for a "tech company tech stack"? As in, rather than trying to assemble your own custom infrastructure by finding an RPC system, permissions/group manager, credential management, storage, database, service discovery, job management, monitoring etc. one "opinionated" stack that you can easily deploy, as long as you're OK accepting their choices, with all these parts already bundled and wired up.

  9. This pitch is somewhat interesting, but, much like Sandstorm, browsing the library of pre-built apps kind of leaves me cold. It's too much like browsing a rather tiny mobile app store. There are maybe three apps that I might be interested in.

    Since we have AI now, I think exe.dev's pitch is better: they provide Linux VMs, a web proxy, and integrations. You can ask the AI to build whatever web app you like. I'd love to have exe.dev, but running on my Mac Mini.

  10. If this can largely automate the backup and update side of things, then it seems like a great middle ground for people like me:

    I’m trying to self-host as much of my stuff as possible, but don’t have time to tinker like I used to. Hence updates, backups (etc) fall by the wayside in favour of “set and forget”.

  11. Sandstorm had a radically more innovative model of hosting: instead of helping you host apps, each document was its own instance. This was really interesting, but as this article notes, did need deep integration with the apps.

    I'd be interested to see if your more pragmatic approach plays out. Being able to start by taking apps "off the shelf" largely unmodified, then gradually adding integration via standard proxy features, seems sensible.

    In any case, doing single sign on between apps is just a very sensible and worthwhile place to start.

  12. So many docker app supervisors nowadays.

    I'm surprised there's no such thing as a self-hosted deployment spec. An opinionated docker-compose file (or similar) with well defined inputs, outputs, and requirements that works for the average use-case.

  13. Cloudron does something very similar (I'm a user): https://www.cloudron.io/

    1. Yup, they just released Cloudron 10

  14. There is a bit more mature project that does the same: https://selfprivacy.org

  15. What's wrong with coolify?
    Their ecosystem help start a service with pretty much zero issues.
    And they also show that maintaining a large amount of click-n-deploy services can't keep up with the releases of all of them.
    They hit the sweet spot of having everything in a second and maintaining it with ease over time.

  16. I have been working on literally this exact project for the past 6 months, down to the nomenclature used. Running into this on HN is… strange.

  17. Making self-hosting really accessible isn't that easy, even if it's easy to setup the server machine itself.
    One needs to make their server machine accessible to everyone, which isn't generally possible due to how networks work, one needs a white IP address and making sure no incoming connections are rejected by the internet provider.
    Also one needs a domain. Obtaining it requires some bureaucratic burden, costs money and pricing isn't always transparent.

    These barriers are high enough, so that common people can't create/host their own sites. Only skilled enthusiasts or professionals can afford having their own site.

  18. I'm glad to see this, auth in particular is a real sore spot in self-hosting. In terms of the available integrations, Home Assistant feels like a big missing item - it's the core of many folks home server deployments.

  19. I really like the idea, and I would like to see Tailscale evolve Aperture in this direction. Tailscale is already an easy way for anyone to connect their devices, which is essential for any sort of "personal cloud", and Aperture, while initially something of an AI gateway, is also facilitating connections to other services and apps.

    If you're building a personal cloud, you also want your AI connected to it, but probably with some degree of management. Aperture already provides a fair amount in this area, and probably with a connector for Cloud in a Bottle, could give your AI safe access.

  20. I'm trying to understand the difference between this project and FreedomBox. I mean it's great to have options, but have any of them looked over that way? Heck, FreedomBox is even built into Debian now.

  21. Reminds me of my old idea dating back to 2014 (https://linuxdreams.blogspot.com/2015/03/cloud-in-box-applia...). Interestingly the blog is still active.

    I did a few pitches related to this at Nasscom Startup warehouse and IITM RTBI. Though this was welcomed by the panel members but it never took off due to lack of capital for such a startup during those times in India. I had to abandon and focus on my day job.

  22. Found this and never looked anywhere after: https://github.com/opencloud-eu/opencloud

    golang.

  23. I'm running my homelab on NixOS with systemd containers, which I admit isn't for everyone. Still, I think it's a better base than Ubuntu.

  24. Looks really interesting! I'd like to see immich in the available apps. For me the Auth part is not super important. But has it one-click updates?

  25. If your "opt-in platform features" and "interface to allow permissioned access to data and capabilities between different apps" is more expressive/discoverable than eg Cloud Foundry's "Service Broker" approach[0], then I am pretty excited! I run a lot of disparate services which don't interoperate except through explicit workflow automation pipelines (I use ConcourseCI to eg upload images to Immich [1] albums, but others might use n8n[2] for the same purpose).

    The "workflow automation" approach is a lot of resource overhead and broker-config maintainance, but my kingdom to be able to arbitrarily compose apps' states, eg commutimemap.com + Craigslist.

    1. https://www.cloudfoundry.org/technology/open-service-broker-...
    2. https://github.com/gavmor/immich-concourse-resource
    3. n8n.io
  26. Now the key question, can the hardware be made accessible to everyone. Its definitely an improvement to make self hosting software easier but the process of setting even a raspberry pi for an average consumer interested in self hosting is still a barrier. They probably will be able to figure it out via youtube and some reddit posts but there should be an easier process or way

  27. >At the core, it's just an Ubuntu machine with a web server that hosts a dashboard and routes HTTP(s) requests to containerized apps.

    So no fail over/redundancy? I think at minimum it should be two machines, so one can break. That is one of the important features of cloud applications as far as I'm concerned.

    You don't have to deal with the problem of a single computer breaking.

  28. How does it deal with storage? Storage is always the weakest link in self hosting. Having a bunch of stateless containers is ultimately just a fancy docker compose file. Still valuable, but you need a proper story for storage. Ideally all storage would be on individual volumes per app and all backed up etc.

  29. I am rooting for local-first approach [1] as a superior alternative to self-hosting

    [1]: https://www.inkandswitch.com/essay/local-first/

  30. Interesting project! I've found self hosting a lot more approachable with the advent of AI to help with inevitable errors. I run every new app in its own service account and as a rootless podman quadlet. There are three main difficulties that I come up against with every app. First is backups, or more accurately restoring data. My understanding is that just taking a snapshot doesn't always give you a working restore point because an app could be mid-database migration or something like that. Second is updates, and third is accessibility outside the network. I am slowly working on my own solutions, interested to know how you tackle those though?

  31. It's sad that open source / open-internet projects always have a clunky design. Here, the main screenshot, at the top, uses a monospaced System font. You might as well display a terminal and it's a wrap. To appeal to broader audiences:

    • You both need to trigger the potential OSS contributors, with references to Debian, Ubuntu maybe, and appeal to big donors, which is another topic entirely,
    • And ALSO have a design that triggers the broader audiences and therefore, very "turnkey", very packaged, very "Comment like and subscribe", one-click install on your NAS, etc. Privacy is then a characteristic but services are the real features.
  32. with wasm and v8 isolates -- the world should move away from containers.

    you literally have a sandbox environment that behaves the same everywhere and is very performant.

    but I guess people don't know shit anymore since they delegated thinking to 'llms'

  33. Between podman docker and general VM's there hasn't been a better time to be selfhosting. I tend to find any abstractions on top of this to be quite limiting and difficult to extricate yourself once something goes wrong.

  34. Proxmox + community-scripts.org is pretty great.

  35. App catalog looks good, but they miss Home Assistant which is a major inconvenience

  36. In case someone is asking: THIS is what a launch article should be like. 10/10.

  37. > making self-hosting accessible to everyone

    This happens with making many small to medium level resource hungary apps, for personal usage, run on one VPS which is not a heady duty machine costing heavy duty money. I have tried this on similar machines 2GB RAM and 1-2 VCPU and after 2-3 apps it starts swaying like a drunkard in slow motion even in that SSH session. But at least this one seems to be better than something like PikaPods, in combo pricing regard (I am not saying one is generally better over the other), where the pricing is rather per app.

  38. Congratulations on the launch, I 100% agree with your vision:
    > run on your instance (it's really easy!)

    I silently published AliaJS a year ago, since it's still in alpha in my opinion., But I keep releasing improvements, coming in the next few days, a one liner CLI turnkey quickstart script: `npx aliajs new`. I'll also provide a clickable user interface (Electron app). This is exciting, happy to see where the community is going with cloud tools that empower the individual actors.

  39. Running the authoritative dns for the zone seems elegant, although wouldn’t that imply you absolutely can’t use cloudflare or similar services to avoid ddos/bots?

  40. > nextcloud: slow and unreliable, and more enterprise-targeted now

    bewcloud could be a lean alternative for home users if that's something you'd like to offer.

  41. This is neat! I've been building something very similar for personal use. I may lift a little bit of the app manifest part.

    I'm a little surprised that there's just one backup app, instead of each app coming with its own backup sidecar. To backup Immich, for instance, requires coordinating between its four different programs. I guess I'll read more about how that backup app works too ha

  42. An aside: Fantastico was such a wonderful piece of software for me to learn and toy and tinker with web stuff. I was so impressed by the simplicity of it. (I phased out of the shared scene a almost two decades ago; I guess everyone moved to Softaculous, https://softaculous.com/fantastico/)

  43. I don’t really understand the benefit vs. Kubernetes? Like, with modern agents and a generic Kubernetes cluster (and there are SO MANY providers), a good LLM harness can do basically anything you’d want to do, if you structure your work properly.

    And heck, harnesses like Claude Code have a phone friendly UI too.

  44. One thing that I found LLMs useful for is devops.

    I had rather good experience using agents to setup and deploy own cloud, Jellyfin and co. I experimented also getting a VPS, just giving the LLM the ssh keys and having at it. It’s pretty good.

    If the AI stays afloat, then I think the future lies somewhere there. Not too sure about the security side of the things …

  45. We need gmail, docs and sheets replacements. With AI, maybe people can develop solid alternatives very quickly. And Linux phones.

    Trillion dollar companies try to extract more and more from us, the only response is for us to develop alternative solutions and continuously chip away at their strengths- what made them monopolies in the first place.

  46. Great project! I have had conversations along these lines with my colleagues for quite some time now. Will definitely try.

    The docs mention cloudinabottle.toml but the app repos all have openhost.toml. Did you folks change the name of the platform?

    Also, can you point to how the unified auth works? Couldn't find anything in the manifest spec.

  47. Honest question - why can't I just vibecode a solution? I rented a $5 lightsail instance, and so far AI has been great at deploying individual containers, creating safe boundaries, letting them interact, etc. What do I not know that makes me want Cloud in a Bottle?

  48. > coolify: hosts containerized apps, but every app is an island with its own login and little integration with the host or other apps.

    That’s not an issue tho, I want each application to be a separate login, so I can have one pointed to a different subdomain or domain not all in one login and location.

  49. > Rent a box from whoever you like, and turn it into your own personal cloud.

    Yeah, that’s not what cloud computing is.

  50. I think what this needs to be truly accessible by general public is a mobile app (most people don’t have computers) and to be able to deploy it (including setting up domains) from there. Payments would definitely be a problem because of the various app stores’ rules.

  51. How is this different from say Docker? I procrastinated getting acquainted with the latter for a long time because I thought it was more for industrial-scale infrastructure, but when I finally wound up using it I was surprised at how easy and low-maintenance it was.

  52. > 53 is required because instance runs its own authoritative DNS server.

    Are you planning to offer alternative solutions for this, e.g. pointing a wildcard A record at the server running the instance? I'd rather not run a publicly accessible DNS server.

  53. I'm confused, isn't a self-hosted cloud something like openstack or kubernetes?

  54. Are there currently any per-app CPU or memory limits? If not, could an app with a memory leak or high CPU usage affect the entire server and other applications? Are there any plans to enforce resource limits using Podman/cgroups?

  55. I am moving to completely self hosting because of 1 thing.

    The availability of good fast cheapish home internet connection.

    Would never consider it while it was fibre to the node.

    Fibre to the home 1g down and 400 up for $150 aussie. Makes everything viable

  56. Poking around and have to ask an obvious question: What's the difference between this and Canonical's Juju from twenty years ago? Isn't this just the same thing, but with newer tools?

  57. I've been really enjoying exe.dev

    Instant spin ups and restarts

    Easy interfaces ssh web cli AI agent

    Integration aplenty

  58. In an ideal world where software is well-written, you don't need containers to make self-hosting easy. You just copy over the binary with some config files and run it.

  59. A bit narrow definition of a "cloud", no..? More like a microservice server on rails

    Bits missing from cloud being global CDN (selfhosted), routing, regional sharding, etc.

  60. Curious how this compares to Cosmos Cloud (https://cosmos-cloud.io/).

    I picked it a few years ago for much the same reason as anyone else (sick of this shit), and it's main attraction to me was it being a turnkey solution that focus security so i wasn't as likely to completely fuck everything important up.

    I think a "simple" installation package would be very attractive to most people, and while cosmos has a lot of growing to do in order to be that, I'm still pretty happy with it.

    I'm even more happy to see more in this space, because I'm just at the point of "do i stick with cosmos or do i start rolling it all myself" and god the leap is terrifying if you're thinking of exposing to the internet. I get it, but at the same time it feels like you're always one missed config away from a potential nightmare, and that's after the "welp guess this is my second job" problem.

  61. I recently bought a motherboard for my first self made pc. Six to eight sata slots is already enormous and the fact that you pay once and use your hardware freely opened my eyes. I was paying a subscription for cloud 1 tb for a trivial service. I am now hoarding my torrents worry free and plan to convert it to NAS. However i do still use my onedrive plan shared with three friends for 10 dollars for sharing large files till i set up my own nas with a good permanent net connection. The other issue is that I’m renting currently and if I’m changing countries I’ll have to rely on the onedrive again

  62. Basically what we were already doing before Cloud took over distributed computing and grid computing as industry terms, Open Stack and a few others.

  63. has anyone bothered to check the code, dependencies especially dockerfile and god forgive me performance of this project !?

    the pain point presented correctly especially comparison … but what about remedy?

    https://github.com/cloud-in-a-bottle/cloud-in-a-bottle/

  64. I've been interested in something like this for awhile. Cloud or self hosting in-a-box. Should be simple for layman.

  65. a similar project which i think is a lot better than this (in fact it's so good i'm jealous of its genius) is https://exe.dev. It feels like something that hasn't really hit the mainstream yet but I suspect everyone will be talking about soon.

  66. I thought that Coolify had centralized auth.

  67. [deleted]

  68. Surprised to not mention Cloudron in the alternative list. Probably the biggest player in this space

  69. I’m used to unraid for my home system. Is this an app that would run as a container across my jbod?

  70. It is all fun and games on-prem until it’s time for the annual support contracts.

  71. I'm just not understanding the point...

    Have LLMs just made it too easy to make new projects?

  72. > nextcloud: slow and unreliable, and more enterprise-targeted now

    What a load of bull.

  73. The unified auth + inter-app permissions are the real differentiator vs Coolify/CapRover-style container hosts. Data tiers (local DBs vs S3/R2 archive) also look like the practical way to make Immich/Jellyfin viable without giant managed disks.

  74. accessible self hosting is already here, its called 'claude' or 'codex' you basically start it and tell it what you need, dont even have to know any software names.

  75. systemd is all you need

    1. And someone else's machine

  76. Raise your hand if you clicked here, because you thought/assumend, that the link is about Anthropic/Claude selfhosting, because you missread the first word in the headline!

    :-D

  77. seems kind of like https://caprover.com/

  78. You don't need docker anymore - it is safe and fast to deploy as systemd services.

    And yeah AWS and the likes made for big money spenders with gigantic DevOps teams, not one person handling everything.

    We at DollarDeploy were advocating that for 95% of your usage needs you don't need anything but one server and if outgrow it just switch to a bigger one.

    I think one cloud in a bottle should be solved differently - apps deployed independently but additional thin layer for MDM - so logins and core data is at one place.

    Imagine if your self hosted wordpress, outline, nextcloud and etc share same logins and access levels, bootstrapped with same information without the need to type it for every app.

  79. Like pikapod?

  80. No offense, but this is not accessible to everyone. Seriously, take a look at the setup instructions and tell me with a straight face that a 4 year old could set this up.

    https://cloudinabottle.org/docs/setup/shared_homeserver.html

    There's no reason this couldn't be made as simple as double clicking a .exe and then the whole thing gets setup.

  81. Never thought that people on HN would be seriously discussing an obviously vibe coded thing.

  82. Another similar offering: https://runtipi.io/

  83. Meh. Maybe I'm a grinch, but I don't see this as easier. I have a little NUC running Ubuntu. Putting services on it is easy: PiHole, OwnCloud, Wireguard, etc.

  84. Cloudron?