# Lathe documentation - [Guides](https://docs.lathe.live/guides.md): Guides to your product infrastructure: flat pricing, database migration, data engines, app deployment and sign-in on one machine. - [Lathe documentation](https://docs.lathe.live/index.md): Run the engines your product needs on one dedicated machine. Start with guides for the portal, REST API and MCP. - [App deployment tutorials](https://docs.lathe.live/tutorials.md): Deploy apps beside Postgres, connect GitHub, configure Auth, and run production workloads on Lathe step by step. - [Deploy a Next.js guestbook](https://docs.lathe.live/guestbook.md): Deploy one Next.js guestbook with Postgres and Auth through the Lathe portal, REST API or MCP, then verify persistence. - [Your own machine](https://docs.lathe.live/machine.md): Learn what Lathe means by a dedicated virtual machine: one customer per VM, with its own kernel, root filesystem and local disk. - [Connect to PostgreSQL](https://docs.lathe.live/postgres.md): Connect to Lathe PostgreSQL with TLS, pooling and network allowlists from an app, terminal or database client. - [Plans, limits and policies](https://docs.lathe.live/limits.md): Read current Lathe plan limits, regions, backups, resizing rules, account limits and operational policies. - [Lathe REST API reference](https://docs.lathe.live/api.md): Create and manage Lathe instances, apps, databases, jobs and webhooks with the REST API. - [Lathe MCP server reference](https://docs.lathe.live/mcp.md): Connect an AI agent to Lathe through MCP and manage instances, apps, databases and deployments with the available tools. - [A managed database with a flat price you can compute](https://docs.lathe.live/guides/flat-price-database.md): One dedicated machine, one monthly price from $15: storage, 20 TB of traffic, backups, TLS and the console included. Nothing metered. - [Managed Postgres: traffic included, no metering](https://docs.lathe.live/guides/no-egress-fees.md): Every Lathe instance includes 20 TB of traffic a month at full speed. Pull backups, run exports, move your data out: traffic is included in the flat price. - [A database that never pauses and never meters](https://docs.lathe.live/guides/never-paused.md): No scale-to-zero, no cold starts, no paused projects, no usage meters. One dedicated machine that is on all month for one price from $15. - [Postgres on a cheap VPS, or the same box run for you](https://docs.lathe.live/guides/vps-vs-managed.md): A VPS with Postgres on it is the right call until the night it stops answering. What self-hosting costs in hours, what Lathe does instead, and when each fits. - [pgvector embeddings on a dedicated Postgres machine](https://docs.lathe.live/guides/pgvector.md): Embeddings are big and cheap to rebuild. Run pgvector on a dedicated machine with storage and 20 TB of traffic included, from $15 a month. Nothing metered. - [Supabase alternative: one machine, one flat bill](https://docs.lathe.live/guides/supabase-alternative.md): Your app, Postgres and sign-in on one dedicated machine, one flat price from $15 a month, no price per user. What changes, what you give up, and the move. - [A Neon alternative that never scales to zero](https://docs.lathe.live/guides/neon-alternative.md): Neon meters compute and scales to zero. Lathe gives you a dedicated Postgres machine, always on, from $15 flat. What changes and how to move. - [ElephantSQL alternative: where to run Postgres now](https://docs.lathe.live/guides/elephantsql-alternative.md): ElephantSQL is discontinued. Lathe runs PostgreSQL 17 on a dedicated machine from $15 a month, flat. How to move, and when it is not the fit. - [PostgreSQL vs Supabase: what the difference is](https://docs.lathe.live/guides/postgres-vs-supabase.md): Supabase is a platform built around PostgreSQL. What it adds, what is plain Postgres, and how to run the Postgres part alone from $15 a month. - [Fly.io Postgres alternative with one flat price](https://docs.lathe.live/guides/fly-postgres-alternative.md): Fly.io Managed Postgres starts at $38 a month plus storage, with failover. Lathe is one Postgres machine from $15, storage included. The honest trade. - [DigitalOcean Managed Postgres alternative](https://docs.lathe.live/guides/digitalocean-postgres-alternative.md): DigitalOcean's smallest managed Postgres node is $15.15 for 1 GiB of memory, storage by the GiB. Lathe prices a whole machine instead. What each includes. - [Move a Postgres database with pg_dump and pg_restore](https://docs.lathe.live/guides/migrate-postgres.md): Moving a PostgreSQL database between providers in three commands: dump, restore, switch the connection string. What to check, and how to keep downtime short. - [A database for side projects, with no surprises](https://docs.lathe.live/guides/database-for-side-projects.md): One dedicated machine for all your small projects at $15 a month: never paused, never metered, storage and 20 TB of traffic included. - [Postgres, Redis, NATS and S3 storage on one machine](https://docs.lathe.live/guides/one-machine.md): Any mix of Postgres 17, Redis 8, CouchDB 3, NATS 2 and SeaweedFS 4 on one Lathe instance, each on its own TLS port with its own credentials and memory budget. - [Host a container beside its Postgres, flat price](https://docs.lathe.live/guides/host-your-app.md): Put the image of your app on the dedicated machine that runs its database: deploy from a push, your domain, TLS, nothing metered. From $15 a month. - [Sign-in for your app with no price per user](https://docs.lathe.live/guides/auth-flat-price.md): Managed sign-in with the users in your own Postgres: email links, OAuth, MFA, sessions, in the flat plan price. Users are never a line on the bill. - [Leave Supabase and keep supabase-js for sign-in](https://docs.lathe.live/guides/supabase-js-compatible.md): Move the Postgres and the sign-in to a dedicated machine at a flat price without rewriting the front end: supabase-js keeps working against the Auth engine. - [Vercel + Supabase alternative, no full-time DevOps](https://docs.lathe.live/guides/vercel-supabase-alternative.md): A founder-builder's honest guide to the tradeoffs between Vercel + Supabase, DIY self-hosting, and one managed dedicated machine. - [Lathe vs Vercel + Supabase](https://docs.lathe.live/guides/lathe-vs-vercel-supabase.md): Compare Lathe with Vercel and Supabase on price, integrations and fit. See the one-machine limits and when separate platforms work better. - [The real cost of Vercel + Supabase at scale](https://docs.lathe.live/guides/vercel-supabase-cost.md): Current Vercel and Supabase plan, seat, traffic and overage prices, compared with a flat-price dedicated machine. - [Deploy from Claude Code, Cursor or ChatGPT](https://docs.lathe.live/guides/deploy-from-ai-agent.md): Copy-paste MCP setup for Claude Code, Cursor and ChatGPT, then create a machine, deploy an app and retrieve short-lived connection credentials. - [Railway alternative with one flat bill](https://docs.lathe.live/guides/railway-alternative.md): An honest Railway comparison for small teams: per-second resource billing versus a managed dedicated machine with app, database and auth on one flat bill. - [Render alternative for app, database and cache](https://docs.lathe.live/guides/render-alternative.md): Compare Render web services, Postgres and Key Value with one managed dedicated machine, including current entry prices and the architectural tradeoffs. - [Heroku alternative: one machine, one flat price](https://docs.lathe.live/guides/heroku-alternative.md): Heroku dynos, Postgres and Key-Value priced side by side with one managed machine for app, database and sign-in, plus where Heroku is better. - [Firebase alternative on Postgres, one flat price](https://docs.lathe.live/guides/firebase-alternative.md): Firebase's usage-based plans versus one machine with Postgres and sign-in at a flat price: what moves, what you give up, and who should stay. - [Redis to Postgres: cache, queue, or one machine](https://docs.lathe.live/guides/redis-to-postgres.md): Cache-aside, queues and data moves between Redis 8 and PostgreSQL 17, with real commands and the decision criteria for one machine or two. - [Self-hosted Supabase in production | Lathe](https://docs.lathe.live/guides/self-host-supabase-production.md): Self-hosted Supabase gives you control, but also backups, upgrades and recovery. Compare that work with a managed app, Postgres and auth machine. - [Lathe vs a self-managed VPS: cost and time](https://docs.lathe.live/guides/lathe-vs-vps-cost.md): A quotable cost and operations table for a self-managed VPS versus Lathe, with honest assumptions and the cases where DIY is the better choice.