Budget Self-Hosted Stack
I run five side projects on one DigitalOcean Droplet for $24 a month. This stack handles 80k monthly visitors combined and has taught me more about infrastructure than years of managed platforms ever did.
Public stack
I used to deploy new features to all users and hope nothing broke. Now everything ships behind a flag — dark-launch to 1%, roll out to 10%, graduate to everyone with a kill switch always ready.
Workflow stack
Data layer
User records, beta group memberships, and flag override configs stored in Postgres — the flag evaluation logic queries the database for user-specific targeting rules.
Open tool profileFeature flags and analytics
Flags, A/B tests, and analytics in one tool — define the rollout percentage and PostHog tracks conversion differences between control and treatment without a separate analytics integration.
Open tool profileBilling
New features behind flags often graduate to paid add-ons — the flag graduation workflow maps naturally to creating a Stripe product and gating access on entitlement.
Open tool profileDeployment
Instant rollbacks on the hosting layer give me a second kill switch if the feature flag alone isn't enough — server-side rendering means flags re-evaluate fresh on every request.
Open tool profileCI gates
Automated tests run against both flag-on and flag-off combinations in CI — a matrix test job catches regressions in both states before anything reaches production.
Open tool profileOpen-core analytics, replay, flags, experiments, error tracking, warehouse, pipelines, and logs on PostHog Cloud—generous per-product free tiers each month, then usage-based rates (e.g. ~$0.00005/event for analytics after the first 1M events).
Payments infrastructure for the internet: card present and online processing, Billing for subscriptions and invoicing, Connect for marketplaces, Tax, Radar fraud tools, and Terminal for in-person hardware.
Frontend cloud from the Next.js creators: Git-connected deployments, preview URLs per branch, serverless and edge functions, CDN, analytics, and team workflows—optimized for modern JavaScript frameworks.
GitHub-native CI/CD: YAML workflows on GitHub-hosted or self-hosted runners, reusable workflows, OIDC to clouds, and per-minute billing for private repos beyond plan quotas.
Compare tools in this stack