Dev.to AI 🤖 Ai 👁 0 📖 4 min read

How to Deploy Filament by Galaxy (and Why CDC Won't Run on the Local CLI)

Filament by Galaxy is an open-source (Apache 2.0, Go) data movement engine that launched on Product Hunt on November 13, 2026 at #2 Product of the Day. My first three posts in this series covered the first pipeline, the

Filament by Galaxy is an open-source (Apache 2.0, Go) data movement engine that launched on Product Hunt on November 13, 2026 at #2 Product of the Day. My first three posts in this series covered the first pipeline, the CDC gotcha, and driving Filament from an AI coding agent. This one answers the question those posts kept raising: when do you stop running Filament on your laptop, and what does deploying it actually look like?
The short answer: stay local until you need CDC, a team, or shared scheduled runs. Then deploy — and know which kind of deployment you are building.

Why the local CLI has a ceiling

The local CLI keeps its state in SQLite and runs an in-process event bus. That is fine for learning, development, and full or incremental pipelines on one machine. It is also the reason CDC does not run there.
CDC pipelines need Filament's PostgreSQL-backed datastore to durably track replication streams. Try one on the local CLI and the run fails with an error about being unable to durably admit replication streams. Full and incremental pipelines are the local ones; CDC means deploying Filament as a server first. (I covered the two traps — CDC on the local CLI, and hard deletes invisible to incremental reads — in my second post.)
So the deployment decision is really a read-mode decision. If your answer is CDC, you are deploying. If your answer is full or incremental, the laptop is still enough.

The deployment options, in one table

| Option | What it is | When it fits |
| Local CLI | Single binary; SQLite state; per-command engine or filament up | Learning, development, full and incremental pipelines on one machine |
| Standalone image | One container image bundling the components | Small shared evaluation deployments |
| Kubernetes + Helm | Server, control plane, and worker as separate processes; PostgreSQL stores state; NATS JetStream carries events; each run executes as its own worker Job | The documented production path; required territory for CDC and team use |
| Hosted one-click (Railway / Render / DigitalOcean) | Prebuilt deploy templates in the deployment guides | A shared deployment without running Kubernetes |
| Embedded in Go | go get github.com/galaxy-io/filament@latest, import the app package and the connectors you need | Filament as a library inside your own service |
| Python / TypeScript SDKs | Create connections, discover resources, build and run pipelines from Python or TS/JS | Teams whose control layer already lives in those languages |
For most people the real choice is between hosted one-click and Kubernetes + Helm. One-click gets a shared deployment up without operating Kubernetes. Helm is the documented production path — and the only one that gives you CDC with a team on it.

Four details that catch first deployments

1. Match the release tags. Use the same release tag for the server, control-plane, and worker images. A split deployment needs a datastore, an event bus, and a secret provider — mismatched versions across those pieces is a silent failure waiting to happen.
2. Watch the -libc worker images. Worker images with a -libc suffix include the connectors that depend on native libraries. Some sinks only exist in that variant — if a connector is missing on your deployment, check the image variant before anything else.
3. Secrets move to the deployment's secret provider. On a local context, secret references resolve from your CLI's environment. On a remote context, a value you send to a server is moved into the deployment's secret provider and removed from the connection configuration. Never put literal credentials in YAML, prompts, or chat logs — environment references on local, the provider on deployed.
4. Contexts are how you switch targets. filament context add registers a deployment, filament context use (or --context NAME per command) switches to it, and filament auth login authenticates. Credentials and contexts are stored separately, with owner-only permissions. The same CLI drives your laptop and your server — the context is the only thing that changes.

The decision rule I use

  • Full or incremental, one machine, just me: local CLI.
  • CDC, or a second person needs to see the same runs: deploy. Hosted one-click first; Kubernetes + Helm when it has to be production.
  • Filament as a component inside my own service, not a standalone tool: embedded Go library or the SDKs. Deploying does not make your pipelines better. It makes CDC possible and runs shareable — and it costs you a datastore, an event bus, and a secret provider to operate. Pay that cost when the read mode demands it, not before. ## The free starter kit I put the full walkthrough into a free starter kit: the complete Chapter 1, three copy-paste pipeline templates, and a 55-second video of a real Filament run (CLI 0.53.0) — free here: https://payhip.com/b/YG6a3 The full pack (14 sections, 12 agent prompts, 3 workflow templates, the deployment guide, and troubleshooting) is $9.99: https://payhip.com/b/KFJ4e Not affiliated with or endorsed by Galaxy. Deployment details checked against Filament's official docs on November 15, 2026 — the project is pre-1.0 and moving fast, so re-check before you deploy.
📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.