Building My Own AI-Powered iCloud
As a developer with an ever-growing portfolio, I reached a breaking point with "Free Tier sprawl." Juggling a dozen Supabase accounts for a dozen different projects wasn't just messy—it was inefficient. To solve this, I decided to build my own unified backend UI inspired by Supabase but powered by FoundationDB (FDB). Choosing FDB was a nod to my love for Apple’s engineering; it’s the same distributed transactional engine they use to power iCloud. By building my own "layer" on top of FDB, I’ve gained the ability to scale my projects indefinitely without ever hitting a subscription ceiling.
The infrastructure is where this project truly breathes, utilizing a sophisticated dual-hosted hybrid cloud model. I host the core data storage and heavy-duty processing in my home lab to maintain total ownership and zero costs, while leveraging AWS to host the public-facing UI and API gateway. This setup gives me the best of both worlds: the raw privacy and economy of a self-hosted environment combined with the global uptime and low-latency edge presence of a major cloud provider. It’s a rock-solid foundation that feels as snappy as a native Apple service.
The real "secret sauce" of this build is the integration of a custom Model Context Protocol (MCP) server. I’ve developed specific "skills" for my private MCP server that allow Claude Code to interact directly with my FoundationDB instance. While I’m coding, the AI isn’t just guessing—it has the power to read schemas, push updates, and perform live read/write operations directly to my database. This creates a seamless loop where the AI understands my data layer as deeply as I do, turning my IDE into a command center for my entire project ecosystem.
This "massive win" is more than just a way to save on hosting fees; it’s a customized developer experience tailored to how I think and build. By combining the legendary reliability of FoundationDB with a hybrid AWS-home setup and AI-driven automation, I’ve built a platform that can grow with me for years. I no longer spend time configuring infrastructure for new ideas—I just tell my AI what to build, and the foundation is already there, waiting.