Running Local Gemma in a Pelican Case: Autonomous Drone Inspection on GDC Edge
We built a drone-powered local anomaly detection system for a remote Canadian airfield. The whole thing was assembled, tested, and ready to ship, and then the client cancelled before rollout. It never saw the light of day in the field, which happens on hardware projects, though the architecture itself held up well.
The job was straightforward. At a remote airfield, someone has to check the perimeter fences for overgrown bushes or fallen trees breaking the fence, and check the runway for debris. Doing that manually takes too long, and streaming gigabytes of raw drone video to the cloud does not work when your connection is Starlink. Starlink works when it works, and sometimes there is no connection at all. I chose local-first inference inside one Pelican case over streaming video—trading higher upfront hardware work for predictable offline operation. The only thing that would change that call is reliable, low-cost fiber at the airfield.
What We Put in the Box
We packed the whole system into a single Pelican case acting as a portable server box. Inside it were a power supply with surge protection, a router, a switch, all the cabling and screws, and a Google Distributed Cloud (GDC) Edge server. Outside the box, it plugged into a Starlink antenna and the docking station for an $80k commercial drone (not the kind of drone you buy off the shelf).
I ordered the parts, flew out to bolt everything down and clip the servers in myself, owned the data-movement architecture, and worked directly with the engineers to build the services.
How Data Moves When the Drone Lands
[Autonomous Drone + Docking Station]
│ (Local LAN transfer on landing)
▼
┌──────────────────────────────────────────────────────────┐
│ Pelican Case Edge Box (GDC Edge + Switch + UPS) │
│ │
│ [Ingest] ──▶ [Video Chunker (Python)] │
│ │ │
│ ▼ │
│ [Local Gemma Inference Service] │
│ │ │
│ ┌───────────────┴───────────────┐ │
│ ▼ ▼ │
│ [Local PostgreSQL] [Clip Extractor] │
│ (Events & Metadata) (Image + ±10s Video Clip) │
│ │ │ │
│ └───────────────┬───────────────┘ │
│ ▼ │
│ [Local Operator Dashboard & Alerts] │
└──────────────────────┬───────────────────────────────────┘
│ (Sync when Starlink is up)
▼
[Google Cloud (History & Further Analysis)]
- Local offload: The drone flies the perimeter and runway, lands on its docking station, and dumps all the video and images over the local LAN into the Pelican case.
- Chunking and local Gemma: We split the backend into three or four small Python services so video ingestion, chunking, inference, and alerting do not block each other. One service cuts the video into chunks, and another feeds them into a local Gemma model on the GDC Edge server to look for anomalies.
- Small clips, not full video: Whenever Gemma flags something like a fallen tree on a fence or debris on the runway, the extractor saves the still frame plus a short clip covering 10 seconds before and 10 seconds after the event. That gives a human operator enough context to see what is going on without choking a satellite link.
- Local alerts first, cloud sync later: Events get written to a local PostgreSQL database and show up on a simple local dashboard so people on site can act right away. Whenever Starlink is back up, the flagged images, short clips, and metadata sync up to Google Cloud for historical review and further analysis.
Trade-Offs
| Choice | Why We Picked It | The Catch |
|---|---|---|
| Local Gemma vs. Custom CV (YOLO) | Catches varied issues like brush, downed trees, or runway debris without spending months labeling custom datasets upfront, and runs 100% offline. | Slower per frame and less predictable recall than a dedicated vision detector, so a human still needs to check the alerts. |
| ±10s Clips vs. Full Video Upload | Keeps satellite usage tiny while still giving operators enough context before and after the frame to know if it is real. | Raw unflagged video stays on local disk and needs a cleanup schedule so the box does not fill up. |
| Local Postgres + 3–4 Small Python Services | Easy to debug, and chunking, inference, and notifications stay separated. | You have to monitor local services and make sure everything restarts cleanly after a power cycle. |
| Sync to GCP Only When Online | Field operations do not care if Starlink is down for hours. | Cloud dashboards lag behind what the local box already knows. |
Where It Ended Up
We never got to put the box at the airfield, which was frustrating after getting all the way to ship-ready. Even so, it proved out the pattern: a GDC Edge server, local Postgres, small Python services, and local Gemma inside a single Pelican case can run real perimeter checks without depending on the internet.