惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Threat Research - Cisco Blogs
C
CERT Recently Published Vulnerability Notes
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
S
Securelist
K
Kaspersky official blog
V
Vulnerabilities – Threatpost
C
Cisco Blogs
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Hacker News: Ask HN
Hacker News: Ask HN
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Security Affairs
Forbes - Security
Forbes - Security
Spread Privacy
Spread Privacy
C
CXSECURITY Database RSS Feed - CXSecurity.com
P
Palo Alto Networks Blog
H
Hacker News: Front Page
L
Lohrmann on Cybersecurity
Cloudbric
Cloudbric
S
Schneier on Security
Simon Willison's Weblog
Simon Willison's Weblog
I
InfoQ
人人都是产品经理
人人都是产品经理
PCI Perspectives
PCI Perspectives
月光博客
月光博客
爱范儿
爱范儿
Jina AI
Jina AI
WordPress大学
WordPress大学
N
News and Events Feed by Topic
Cyberwarzone
Cyberwarzone
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
小众软件
小众软件
Google Online Security Blog
Google Online Security Blog
W
WeLiveSecurity
V
V2EX
阮一峰的网络日志
阮一峰的网络日志
美团技术团队
博客园 - 司徒正美
Scott Helme
Scott Helme
AI
AI
L
LangChain Blog
A
Arctic Wolf
博客园 - 【当耐特】
量子位
S
SegmentFault 最新的问题
The GitHub Blog
The GitHub Blog
MyScale Blog
MyScale Blog
腾讯CDC
博客园 - 叶小钗
Last Week in AI
Last Week in AI
S
Secure Thoughts

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
I Stopped Paying Google and Built My Own Cloud
Hasib Ahmed · 2026-06-17 · via DEV Community

How I replaced Google Photos, Google Drive, and Google Home with a self-hosted Raspberry Pi 5 setup - and what the full technical stack looks like.

There's a quiet moment every tech-literate person eventually hits. You open your cloud storage dashboard, see the number creeping up, and think: I'm paying a subscription fee, every month, forever, just to store my own photos and files on someone else's computer.

That was me, but with a bit of added weight. It's not just my data I'm responsible for.

Over the years, I've quietly become the unofficial digital curator for my entire family. The person everyone sends photos to after a birthday party. The one who backs up the wedding videos. The one who scans and stores the important documents, passports, contracts, and sentimental things so they don't get lost. My parents, siblings, extended family: if something matters and it's digital, there's a good chance it eventually lands with me.

That's a responsibility I take seriously. And for a long time, Google was my answer - until the storage bill started quietly creeping past 2TB, and I started thinking more carefully about what it actually means to hand all of that data over to "big tech".

So I built my own home server. A tiny, almost silent box sitting in my house that now handles everything Google Drive and Google Photos did, plus more, for a one-time hardware cost of £340.

This is the story of how I did it, why I did it, and exactly how you can too.


Why I Did It

The cost was the trigger, but it wasn't the only reason.

When you use Google Photos, Google Drive, or any cloud storage service, your files live on their servers. You're trusting a corporation to keep them safe, not snoop through them, not change their pricing, and not shut down the product one day. Google has a long history of killing beloved products. Google Photos itself famously ended its unlimited free tier in 2021. As well as this, recent AI trends and auto opt-in data processing had me thinking there had to be a better way for my own photos and videos to remain private to me.

But the thing that really focused my mind was thinking about what I was actually storing. This isn't just my holiday photos. It's:

  • Videos and pictures my family have taken of my childhood
  • Scanned copies of family documents that only exist in one place
  • Every photo & video from the last family wedding
  • Memories that, if lost, are probably gone forever

Being the person everyone trusts with that data means I can't afford a casual approach to storage. If Google decides to raise prices again, change a policy, or simply shut down a product, I don't have a fallback. That felt like an unacceptable risk once I really sat down and thought about it.

I wanted:

  • My data on my hardware in my house
  • No monthly fees beyond sips of electricity
  • Access from anywhere not just on my home network
  • Genuine resilience multiple backups, multiple locations, no single point of failure

The good news? All of this is completely achievable for a normal person with a bit of patience. You don't need to be a software engineer like me to get it up and running.


What It Looks Like Day To Day

Before getting into the technical weeds, here's what I actually use this thing for:

Immich replaces Google Photos. It looks almost identical, automatic photo backups from my phone, face recognition, map view, albums, the works. The app is free, open source, and genuinely excellent.

Nextcloud replaces Google Drive. Files, documents, calendar sync, contacts, all running on my server, syncing to my devices exactly like Google Drive does.

Home Assistant handles home automation. Lights, sensors, routines. Think of it as a private, local version of Google Home that doesn't need to connect to some cloud server far away to simply turn on my lights.

And the best part? I can access all of it from my phone, from a cafe, from anywhere in the world, through my own domain.


The Hardware

The brain of this setup is a Raspberry Pi 5, a small single-board computer roughly the size of a deck of cards. It sips electricity, runs silently, and is powerful enough to handle everything I need.

Here's the full hardware list and what I paid in December 2025:

Item Cost
Raspberry Pi 5 16GB Starter Kit £171.00
Pimoroni NVMe Base Duo (storage HAT) £30.00
Pimoroni NVMe Base Case £14.40
Raspberry Pi Official Active Cooler £4.80
Yottamaster Y7000Pro 2TB M.2 NVMe SSD £119.99
Total ~£340

⚠️ Heads up: Prices have risen since purchase. AI demand has pushed up the cost of compute and memory. Budget a little more if buying today.


The Software Stack

This is where people get intimidated. But the software is actually the easy part; most of it is one-click installs.

CasaOS - Your Dashboard

CasaOS is a slick web interface that sits on top of the Pi and lets you install and manage apps like Immich, Nextcloud, and Home Assistant with a single click. Think of it as an app store for your server. You access it by typing your Pi's local IP address into a browser.

Cloudflare - Your Front Door to the World

This is the clever bit that lets you access your server from anywhere, securely, without opening up your home network to the internet.

Cloudflare Tunnels creates an encrypted tunnel between your Pi and Cloudflare's network. When you visit yourdomain.com, Cloudflare securely routes that request to your Pi without your home IP address ever being exposed. It's free, and it's genuinely brilliant.

Nginx Proxy Manager - The Traffic Director

When a request comes in for yourdomain.com, something needs to direct it to the right app running on your Pi. Nginx Proxy Manager does exactly that. It's a visual interface for managing which web address goes to which app.

The Apps

App Replaces What it does
Immich Google Photos Photo & video backup, facial recognition, albums
Nextcloud Google Drive File storage, sync, calendar, contacts
Home Assistant Google Home Home automation & smart devices
Portainer - Advanced container management

What It Costs to Run

Electricity: A Raspberry Pi 5 under normal load uses roughly 5-10W. At UK energy prices, that's pennies per day - around £3-5/month at most.

Domain: My domain costs a few pounds a year through Cloudflare.

Cloudflare Tunnels: Free.

Backups (planned todo): AWS S3 Glacier Deep Archive for long-term cold storage costs roughly $0.00099/GB/month - that's about £1.50/month for 2TB.

So the ongoing cost is roughly £5-7/month - compared to Google One's 2TB plan at £8.99/month, and rising since I've almost filled my 2TB (next tier is the £18.99 a month 5TB which is why I really wanted to get this done before I hit the cap!).


Is It Worth It?

Yes - with one honest caveat.

There is a setup cost in time. Getting everything running took several evenings of reading, tinkering, and occasionally breaking things and starting over. It's not a 20-minute job.

But the context matters here. When you're just managing your own photos and files, maybe the risk of losing them to a cloud outage or a price hike is something you can accept. When you're the person holding irreplaceable family memories - wedding videos, childhood photos, documents that exist in one form only - that sways the decision. I could keep paying more and more in cloud storage costs, or I could try to take things into my own hands and build my own cloud storage.

Once it's running, it just works. And there's a real peace of mind in knowing that the photo from your childhood, or the scan of your parents' old documents, isn't one cancelled subscription away from disappearing.

Your data is yours. It should live somewhere you control.


Full disclosure, for redundancy, I'm still paying for Google storage until I get myself some more storage in the form of HDD drives & set up the S3 Glacier back-ups.


Google Graveyard - Killed by Google

Killed by Google is the open source list of dead Google products, services, and devices. It serves as a tribute and memorial of beloved services and products killed by Google.

favicon killedbygoogle.com


🔧 Technical Deep Dive

Everything below is for the people who want the full picture - every config, command, and where I was getting stuck.


Stack Overview

Raspberry Pi OS Lite (Bookworm)
└── CasaOS (dashboard + app management)
    ├── Immich
    ├── Nextcloud
    ├── Home Assistant
    └── Portainer
cloudflared (bare metal systemd service)
Nginx Proxy Manager (bare metal or container)

Networking:

Internet → Cloudflare DNS → Cloudflare Tunnel → cloudflared on Pi → Nginx Proxy Manager → App container


Operating System

Raspberry Pi OS Lite (Bookworm) - headless, no desktop environment. All access via SSH & then exposing ports for various software UI's.

# Install a useful system monitor for SSH sessions
sudo apt install bpytop


Booting from NVMe (Not SD Card)

SD cards are slow and will fail under sustained write load. Boot from the NVMe SSD instead.

Tool: rpi-clone by Jeff Geerling

# Step 1: Reflash SD card and boot normally

# Step 2: Format the NVMe drive cleanly
sudo nvme format /dev/nvme0n1 --force

# Step 3: Verify settings
sudo raspi-config

# Step 4: Clone SD → NVMe (rpi-clone, installed from git)

# Step 5: Shut down, remove SD card, confirm Pi boots from NVMe alone

💡 Note: rpi-clone handles the bootloader config automatically. Don't try to do this manually with dd unless you know what you're doing.


CasaOS

Installed on the bare OS. Manages Docker containers via a web UI.

Local access:

  • http://192.168.1.183:88 - ethernet (eth0)
  • http://192.168.1.184:88 - Wi-Fi (wlan0)

Fix: Port Conflict with Nginx on Reinstall

Symptom: After a reinstall, you see Nginx's default "Congratulations" page instead of the CasaOS dashboard.

Cause: A previous Nginx install is still running on port 80, blocking CasaOS. This threw me off, and I ended up reflashing and installing everything a couple of times here until I figured out the issue.

Fix:

sudo vi /etc/casaos/casaos.conf
# Add under [server]:
# HttpPort = 88

systemctl restart casaos
systemctl status casaos

# Verify at http://<PI_IP>:88


Cloudflare Configuration

DNS

All DNS for mydomain.com is managed in the Cloudflare dashboard at dash.cloudflare.com.

SSL

SSL certificates are issued via Let's Encrypt using a Cloudflare API token, handled through Nginx Proxy Manager.

Cloudflare Tunnels

Tunnels expose internal services to the internet without opening ports on your router or exposing your home IP.

Dashboard: one.dash.cloudflare.com

Setup rules:

  • The tunnel name must be unique and must not conflict with any existing *.mydomain.com subdomain
  • Each published application route automatically creates a CNAME DNS record in Cloudflare

cloudflared on the Pi

cloudflared runs as a bare-metal systemd service (not in a container — keeps it resilient).

# Authenticate and pull down the origin certificate
cloudflared tunnel login

# Install as a systemd service
sudo cloudflared service install <TUNNEL_ID>


Nginx Proxy Manager

Local access: http://192.168.1.183:81

Acts as a reverse proxy — routes incoming requests by hostname to the correct internal container port.

For each Cloudflare Tunnel route, add a matching Proxy Host in Nginx Proxy Manager:

Public hostname Forward to
drive.mydomain.com localhost:8080 (Nextcloud port)
photos.mydomain.com localhost:2283 (Immich port)

SSL termination is handled here via the Cloudflare API token.

Note: you can have whatever subdomain of your choosing as long as it's unique. I've used drive.mydomain and photos.mydomain as my muscle memory from Google's offerings is strong and it's also what I'm replacing with my self-hosted options.


Nextcloud

Trusted Domains

Nextcloud rejects requests from any domain not in its trusted list. Add yours to the config file.

File: DATA/AppData/big-bear-nextcloud/html/config/config.php

'trusted_domains' =>
array (
  0 => 'localhost',
  1 => '192.168.1.184',
  2 => 'drive.mydomain.com',
),

Add any additional IPs or subdomains you want to access Nextcloud from.


Portainer

Used alongside CasaOS for lower-level container management — useful for inspecting logs, environment variables, network configs, and volume mounts that CasaOS abstracts away.


Backup Strategy — Why This Is Probably The Most Important

I want to spend a bit more time on this than a typical homelab post would, because it's the part most people underestimate, as I did initially & the part where I refuse to cut corners.

I'm not just storing my own data. I'm the person my family trusts with photos from birthdays, weddings, and events that can never be re-shot. Important documents. Irreplaceable things. Losing that data because I only had one copy on one device isn't an option here & why I've dug into what "good" looks like in this area.

The 3-2-1 Rule

The industry standard for data resilience is the 3-2-1 Rule [Backblaze, Druva]:

  • 3 total copies of your data (your primary + two backups)
  • 2 different types of storage media (e.g. NVMe SSD + external HDD)
  • 1 offsite copy (stored remotely or in the cloud)

The reason for the rule is simple: any single backup can fail. A fire, a flood, a hardware failure, a ransomware attack — any of these can wipe out everything stored in one place. The 3-2-1 rule ensures no single event can take everything.

My Hybrid Backup Strategy (In Progress)

I'm implementing a layered approach that satisfies the 3-2-1 rule while keeping ongoing costs low:

Layer Storage Type Location Status
Primary 2TB NVMe SSD Live data Pi (home) Live
Backup 1 HDD Enclosure Local backup Home (separate device) Planned
Backup 2 AWS S3 Glacier Deep Archive Cold cloud backup Offsite Planned

Layer 1 — Primary (NVMe SSD): The live server. All data lives here, all apps read from here.

Layer 2 — Local HDD Enclosure: A separate external hard drive connected to the Pi. Scheduled snapshots copy the NVMe data here on a regular cadence. If the SSD fails, everything is recoverable within minutes from the same device. This is the next hardware addition I'm working on.

Layer 3 — AWS S3 Glacier Deep Archive: Weekly or fortnightly syncs push data offsite. This is the safety net for worst-case scenarios — fire, theft, or catastrophic hardware failure.

Property Detail
Use case Long-term archiving, accessed once or twice a year
Restore time Within 12 hours
Cost ~$0.00099/GB/month
Cost for 2TB ~£1.50/month

Glacier Deep Archive is designed for data you rarely need to touch but absolutely cannot lose. At roughly £1.50/month for 2TB, it's the cheapest insurance policy I'll have ever bought.

💡 Note: I'm still exploring additional backup options and tools — this is an evolving strategy rather than a finished one.


What's Next

  • HDD enclosure for local backups (Backup Layer 2)
  • Automated snapshot scheduling (NVMe → HDD)
  • AWS S3 Glacier Deep Archive sync (Backup Layer 3)
  • Explore additional hybrid backup tools and strategies
  • Run LLM agents on the server
  • Explore phone-triggered automations

Got questions, or are you also the unofficial family data hoarder? Drop a comment — or message me on LinkedIn.