Cloud in a Bottle: making self-hosting accessible to everyone

(cloudinabottle.org)

162 points | by zplizzi 2 hours ago

31 comments

  • KomoD 26 minutes ago
    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...

    • ball_of_lint 2 minutes ago
      Looks like the account in question is deleted now - do you have the original username?
    • asdf88990 12 minutes ago
      Disclosure would be nice but 11-12 issues in entire GitHub is hardly spam.
    • edoceo 13 minutes ago
      It's only 11 in the last 48h, on lesser known projects.
  • drunner 2 hours ago
    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.

    • cube00 2 hours ago
      > The appetite to depart from subscriptions and loaning your personal data to ad/ai companies is stronger than ever.

      Only on HN, the general public don't care, they don't even know the name of their web browser.

      • myaccountonhn 1 hour ago
        General public is weird because everyone, yet no one, is the general public.

        Fwiw I've started to see a shift in many non-tech circles I'm a part of. Especially when you take the time to explain the problems. Many do care, they just aren't made aware of the issues.

        • edoceo 10 minutes ago
          GP typically means middle of the bell-curve. HN visitors and for sure commenters are at the degree of that curve...3-sta-nines away.
      • noman-land 33 minutes ago
        The general public will do whatever their friends do. If there was an iPhone charger sized box they could plug in anywhere and have their own personal cloud that can interconnect with other personal clouds, and a celebrity said it was cool to have one, the general public will do it without giving it a first thought.
      • sevenzero 1 hour ago
        True, most people get the full ad driven internet experience and it drives me nuts. Everytime I have to help other people with computer stuff I almost get an aneurysm when opening their browser...
    • GZGavinZhao 58 minutes ago
      The biggest difficulty is probably that from my observation, there's a sharp cutoff line somewhere between Gen Y and Z where anyone born before that (and don't work in tech) genuinely have no idea how to navigate their digital life and gets preyed on by those subscriptions. And these people are still a super large portion of the population paying for those subscriptions.

      Only Gen Z and later are starting to care and willing to spend the time and effort to self host. All the Gen X and Y people that I know of, including many that are very intelligent and accomplished in their field, literally have no idea how to operate a computer outside of watching youtube, checking emails, and opening Word documents. Ads? They hate it but have no idea how to disable them. iPhone running out of storage and iCloud says I can solve that for $2.99/mo? They would be like IDK what that is but sure I'll pay that $2.99 if that means I can record more videos of my kids.

      I really hate this situation, and I try my best to help out the folks around me who I see are getting ripped off (either they don't know or they know but think that's what it is). But still, it's really hard to communicate or teach those people when the skill of operating a computer has become intuition and human nature to me. I really can't put these things into words on the fly that would help them understand :(

      • ebiester 24 minutes ago
        Or, alternatively, I was a lot more willing to put in the time to self host before I had more money and less time. If it's truly important it's not in public. If it's public, I don't have time to keep up with security patches if I'm not being paid.
      • tokioyoyo 42 minutes ago
        > Only Gen Z and later are starting to care and willing to spend the time and effort to self host.

        Yeah, you’ll need a lot of supporting evidence for this claim. From my personal and professional experience, this doesn’t track. And given how online the younger generations are, it tracks even less. I think there might be a bias towards tech bubbles in that statement.

    • 0c3ca83 2 hours ago
      But this is a company building on AI.
  • malomalsky 1 minute ago
    >claude in contibutors >python No, thanks
  • kolleraa 1 hour ago
    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/

  • jerf 2 hours ago
    "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.

    • zplizzi 2 hours ago
      (author here) Thanks for flagging, I should make this more clear. Our managed instances have pretty small disks (~50GB), but there's a way to link a S3 bucket to your instance to use for bulk data storage. Apps that store bulk data (like immich/jellyfin) should automatically put it in the "archive data tier" which can be configured to go into this S3 bucket instead of local storage. We're planning to make this (and backups) an auto-configured part of our managed instances - billed separately (so you pay for just the additional storage you use; cloudflare R2 (S3 compatible) at-cost is like $15/TB/mo so it should be in that neighborhood).

      See docs on how this works: https://cloudinabottle.org/docs/how_it_works/data.html#the-a...

  • _ink_ 23 minutes ago
    Looks really interesting! I'd like to see immich in the available apps. For me the Auth part is not super important. But has the one-click update?
  • redrix 1 hour ago
    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”.

  • rgun 32 minutes ago
    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.

  • skybrian 1 hour ago
    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.

    • dbmikus 1 hour ago
      > I'd love to have exe.dev, but running on my Mac Mini.

      I'm working on exactly this bit (with some more tuning for messaging AI agents)

      https://github.com/gofixpoint/amika

      Doesn't run on your Mac Mini yet, but should get that enabled either this week or next

      If you sign up (free) I'll send you an email when the "Mac Mini mode + full OSS self-hosting" is live

  • Winfred-zz 2 hours ago
    >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.

    • praseodym 1 hour ago
      This also adds a lot of moving parts and failure modes. For self-hosting I’d rather have downtime on a simple system that’s easy to fix rather than a complex setup that stays up but needs more maintenance when some component fails.
  • passive 1 hour ago
    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.

    • hebetude 1 hour ago
      Yep, tailscale, sync things. Glued together a lot of services
  • tesnorindian 1 hour ago
    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.

  • ChaseRensberger 11 minutes ago
    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.
  • 6thbit 49 minutes ago
    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?
  • pietz 2 hours ago
    In case someone is asking: THIS is what a launch article should be like. 10/10.
  • anigbrowl 1 hour ago
    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.
  • Eji1700 29 minutes ago
    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.

  • bo1024 1 hour ago
    Cloudron does something very similar (I'm a user): https://www.cloudron.io/
  • ericfrederich 28 minutes ago
    I thought that Coolify had centralized auth.
  • joshmn 2 hours ago
    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/)
  • bitpush 2 hours ago
    > In the pre-cloud days, open source worked - authors distributed their software, and everyone "hosted" it for themselves (i.e. ran it on their own PC)

    This is just rose tinted vision of the past. None of the software of the past had the capability, reliability or robustness of modern sass.

    • wookmaster 2 hours ago
      I'm rather baffled by that statement, with docker its...as easy as its ever been
      • lmz 2 hours ago
        "capability, reliability or robustness" has nothing to do with ease.
      • gucci-on-fleek 2 hours ago
        Docker was first released 11 years after AWS though, so I'm not really sure that it counts as "pre-cloud".

        Regardless, I agree that Docker has made self-hosting stuff pretty easy, and arguably even easier than it was in the pre-cloud days.

    • marknsikora 1 hour ago
      Yea. When people talk about how simple things were in the past, I think they oblivious to the fact we were all writing out X11 configs by hand and having them break in all sort of strange and interesting ways. Open source has always been very "I gave it to you for free, I'm not going to hold your hand".
      • wizzwizz4 2 minutes ago
        I've written X configs by hand, but only to get a few extra pixels of overscan. I've never needed to do this. My experience has always been that things just work. The UI has never been great, in that I need more explanation than the built-in manuals provide – unlike, say, Windows 95, where you can learn everything you need to know by clicking around – but it's not hard to avoid breaking things, and it's not that hard to learn to do new stuff if you have a good book (or, lately, blog post) to consult.
    • em-bee 2 hours ago
      that statement does not make any claims about capability, reliability or robustness. the claims are rather cost and independence.
  • wmf 54 minutes ago
    Seems weird not to mention Umbrel.
  • andrewoneone 1 hour ago
    seems kind of like https://caprover.com/
    • VonGuard 12 minutes ago
      Yeah, but Docker Swarm?
  • 2OEH8eoCRo0 43 minutes ago
    I've been interested in something like this for awhile. Cloud or self hosting in-a-box. Should be simple for layman.
  • armanj 1 hour ago
    systemd is all you need
  • eointierney 27 minutes ago
    yunohost?
  • jasongi 1 hour ago
    I remember back when I first got into self-hosting (over a decade ago), I had a Netgear READYNAS. People made a small amount of plugins you could install. But the CPU was ARM before that was cool (I think mine was actually SPARC!) so it was a lot of effort to get things to compile, so plugins were usually quite outdated.

    Then I decided to painfully break out of vendor lock-in, built my own NAS with FreeNAS which was all the rage (still attached to a vendor, but at least I could control the hardware). This was before Docker really took off - the plugins were installed in FreeBSD jails. It worked for a while, but again, plugins could be woefully out of date and broken, upgrading the OS was a pain and would break all your plugins.

    Through the 10+ years of this... I now follow two simple rules: - separate your network storage and application hosting. Yes, it complicates things a little bit with NFS setups but it is a forcing function for a more resilient setup - use the docker container provided by the maintainers or LinuxServer.io. Vendor maintained wrappers can be initially helpful but end up as a form of tech debt when they're abandoned or neutered - especially when they're freemium and the company starts looking to squeeze.

    The quiet part of self-hosting is that it shifts the responsibility of security to the user. I'm sure cloudinabottle has more sensible defaults than provided docker containers, or builds in reverse proxies etc, but I doubt they're offering to take on liability for data loss or breaches.

    The problem I see you'll face are two-fold: 1. Projects like this have the power users self-select away from it and those who need a lot of hand-holding to self-select into it. If I know how to configure and deploy a docker container already I have no incentive to contribute. ReadyNAS got around this by having folks charge for their plugins (that were just OSS projects packaged up for their OS) but then it ruins the appeal, they likely only got away with it because they were only a couple of bucks and you were already locked in to the ecosystem via the hardware. 2. If the hosted aspect actually makes you money, required for the project to be continued long term, capitalism will ensure that incumbent cloud providers take that away from you by offering ready-made instances at your cost-price, like they did with redis, elasticsearch etc.

    Note that these are only issues if you're motivated by making a profit, or even a cost-neutral project. But if this is a charitable exercise backed by an entity that doesn't need the money, I wish you all the best - more things that let people dip their toes in are good! The cloud is all rent-seeking subscriptions and even with the recent supply shortages: fast, small, low-power compute is incredibly cheap these days, especially old business/mini machines.

  • EGreg 2 hours ago
    How do I reach out to you? We're building something that you might want to be a part of. (The "Safebox" comes with all the software you need, and you can just clone its AMI on AWS etc.) Would love to have a conversation.

    If you want to message me, find my email on https://qbix.com/about

  • charcircuit 1 hour ago
    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.

  • 0c3ca83 2 hours ago
    It's weird seeing someone trying to promote self-hosting, while building everything with Claude.
    • senectus1 27 minutes ago
      AI is a tool. the use of this tool to deliver something unrelated is... unrelated
    • ravenstine 2 hours ago
      Does self-hosting need to be all or nothing?
      • Forgeties79 1 hour ago
        I didn’t get that from their comment at all
    • majorchord 1 hour ago
      "It's weird seeing someone pay for food when they have a garden at home."
      • zdragnar 1 hour ago
        LLMs can be self hosted though. Using Claude to build a self hosting platform is a bit like telling people they should be vegan while you're eating a bacon sandwich.