On this page
  1. The deployment gap
  2. Step 1: Secrets and configuration
  3. Step 2: HTTPS and DNS
  4. Step 3: CI/CD — automate the deploy
  5. Step 4: Health checks and monitoring
  6. Step 5: Databases — indexes, backups, connections
  7. Step 6: Scheduled jobs and background work
  8. Step 7: Resilience — what happens when things break
  9. Step 8: Deployment strategy — how to ship without breaking
  10. Step 9: Security review
  11. Step 10: Cost awareness
  12. Checklist
  13. FAQ
    1. My AI-generated app works locally. What do I need to do before deploying?
    2. What’s the fastest way to deploy an AI-generated app?
    3. What’s the one thing vibecoders miss most often?
    4. Do I need all of this for a hobby project?
  14. Related topics
  15. Sources
guide

Deploying AI-Generated Apps to Production: A Vibecoder's Checklist

Your AI wrote the app. Now here's every step between 'it works on my machine' and 'it's running in production.' Deployment, monitoring, secrets, databases, and the checklist your AI didn't include.

Quick answer

  • Your AI writes the app. It skips deployment entirely. You need: HTTPS, secrets, health checks, monitoring, backups, and indexes.
  • Use a PaaS for your first deploy — Railway, Fly.io, or Render. Not Kubernetes.
  • Every step below links to a full guide. Work through them in order on your first deploy.

The deployment gap

AI coding assistants are brilliant at writing application code. They’re terrible at operations — the work of making that code run reliably on the internet. Your assistant will generate a beautiful Express or FastAPI server and then… stop. No health check. No monitoring. Hardcoded secrets. No database indexes. No error alerting.

That’s the deployment gap. These guides bridge it.


Step 1: Secrets and configuration

Your AI hardcoded something. Find it before you deploy.


Step 2: HTTPS and DNS

No exceptions. Every production app needs TLS.


Step 3: CI/CD — automate the deploy

Push to main, deploy. No manual steps, no forgotten commands.


Step 4: Health checks and monitoring

Your AI wrote an app that runs. It didn’t write anything that tells you when the app isn’t running.


Step 5: Databases — indexes, backups, connections

Your AI writes queries. It never adds indexes, sets up backups, or configures connection pooling. Do these before real data hits the database.


Step 6: Scheduled jobs and background work

Your AI added setInterval or a cron job. It didn’t add monitoring for them.


Step 7: Resilience — what happens when things break

Your AI writes the happy path. Production is the unhappy path. Add these before you need them.


Step 8: Deployment strategy — how to ship without breaking

Choose a strategy before you need it. A bad deploy with no rollback plan is a panic attack.


Step 9: Security review

Run through these before any real users hit the app.


Step 10: Cost awareness

Your AI doesn’t know your budget. Neither does the cloud provider.


Where this bites vibecoders

The AI builds a working app in hours. The vibecoder ships it. And then: the database slows to a crawl (no indexes), secrets leak through the frontend (hardcoded API keys), scheduled jobs fail silently (no monitoring), and the domain expires (no renewal alert). The checklist above is the difference between a demo and a deployed application. Work through it once, and it becomes muscle memory.

Checklist

Before first deploy:

  • Secrets in environment variables, never in code
  • HTTPS configured
  • Health check endpoint returning 200
  • Uptime monitoring with alerts
  • Database indexes on columns used in WHERE clauses
  • Automated database backups
  • CI/CD pipeline running tests on every push
  • SAST scanning in CI
  • Security headers configured

Before any real traffic:

  • Connection pooling configured
  • Rate limiting on public endpoints
  • Circuit breaker for external service calls
  • Dead letter queue for failed async jobs
  • Cron job monitoring
  • Rollback plan tested

FAQ

My AI-generated app works locally. What do I need to do before deploying?

At minimum: put secrets in environment variables (never in code), add a health check endpoint, configure HTTPS, set up error alerting, and add database indexes. The AI writes the app but skips all five of these. Each has a linked guide below.

What’s the fastest way to deploy an AI-generated app?

A static site goes on Netlify or Cloudflare Pages. A backend with a database goes on Railway, Fly.io, or Render — platforms that handle provisioning, SSL, and deployment from Git. Avoid Kubernetes for your first deploy; use a PaaS until you outgrow it.

What’s the one thing vibecoders miss most often?

Monitoring. The AI generates the app, the vibecoder deploys it, and nobody knows it’s down until a user complains — days later. Set up uptime monitoring and health check alerting before you do anything else post-deploy.

Do I need all of this for a hobby project?

No. For a hobby project, do steps 1-4 (secrets, HTTPS, CI/CD, monitoring) and skip the rest. For anything with paying users or other people’s data, do all ten steps.


Sources

Share: