<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sigrid Keydana</title>
    <description>The latest articles on DEV Community by Sigrid Keydana (@sigrid-hal9).</description>
    <link>https://dev.to/sigrid-hal9</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4203150%2Fca4a5678-c4eb-48ed-96f3-01160dd81580.png</url>
      <title>DEV Community: Sigrid Keydana</title>
      <link>https://dev.to/sigrid-hal9</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sigrid-hal9"/>
    <language>en</language>
    <item>
      <title>Cómo mover una base de datos de Heroku Postgres con pg_dump y pg_restore</title>
      <dc:creator>Sigrid Keydana</dc:creator>
      <pubDate>Wed, 02 Dec 2026 16:41:37 +0000</pubDate>
      <link>https://dev.to/sigrid-hal9/como-mover-una-base-de-datos-de-heroku-postgres-con-pgdump-y-pgrestore-10g0</link>
      <guid>https://dev.to/sigrid-hal9/como-mover-una-base-de-datos-de-heroku-postgres-con-pgdump-y-pgrestore-10g0</guid>
      <description>&lt;p&gt;&lt;em&gt;Respalda, descarga, restaura y comprueba los conteos de filas — a un Postgres administrado o a Postgres en tu propio contenedor.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Mover el código de Heroku a otro host es relativamente fácil: es un repositorio. Mover la &lt;strong&gt;base de datos&lt;/strong&gt; es el paso más riesgoso, porque ahí vive lo que no se puede regenerar. Este tutorial muestra el camino estándar con &lt;code&gt;pg_dump&lt;/code&gt; y &lt;code&gt;pg_restore&lt;/code&gt;, y cómo comprobar que nada se perdió en el camino.&lt;/p&gt;

&lt;p&gt;Trabajo en Hal9, donde hacemos Cloudish, un hosting en el que un agente de IA puede desplegar la app. Lo uso como ejemplo para el destino "Postgres en tu propio contenedor"; cuando conviene un Postgres administrado, lo digo. Los comandos son los mismos en cualquier destino.&lt;/p&gt;

&lt;h2&gt;
  
  
  Antes de empezar
&lt;/h2&gt;

&lt;p&gt;Necesitas tres cosas:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;La URL de la base de origen.&lt;/strong&gt; En Heroku:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   heroku config:get DATABASE_URL --app mi-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Aparece algo como &lt;code&gt;postgres://usuario:clave@host:5432/nombre&lt;/code&gt;. Trátala como un secreto: no la pegues en un chat ni la subas a un repositorio.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;code&gt;psql&lt;/code&gt;, &lt;code&gt;pg_dump&lt;/code&gt; y &lt;code&gt;pg_restore&lt;/code&gt; instalados.&lt;/strong&gt; Vienen con PostgreSQL. Comprueba con &lt;code&gt;pg_dump --version&lt;/code&gt;; usa una versión de &lt;code&gt;pg_dump&lt;/code&gt; &lt;strong&gt;igual o más nueva&lt;/strong&gt; que la del servidor de origen (si es más nueva, añade &lt;code&gt;--no-comments&lt;/code&gt; si da problemas, pero en general una más nueva funciona).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Un destino vacío.&lt;/strong&gt; Una base de datos recién creada, sin tablas. Restaurar sobre una base con datos puede dejar tablas duplicadas o mezcladas.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Paso 1: haz el respaldo
&lt;/h2&gt;

&lt;p&gt;Hay dos formas. La primera usa la CLI de Heroku y descarga un archivo &lt;code&gt;.dump&lt;/code&gt; (formato personalizado):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;heroku pg:backups:capture --app mi-app
heroku pg:backups:download --app mi-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Eso deja un archivo &lt;code&gt;latest.dump&lt;/code&gt;. La segunda usa &lt;code&gt;pg_dump&lt;/code&gt; directamente contra la URL:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# formato personalizado (recomendado: un solo archivo, restaura con pg_restore)&lt;/span&gt;
pg_dump &lt;span class="s2"&gt;"$DATABASE_URL"&lt;/span&gt; -Fc -f respaldo.dump

&lt;span class="c"&gt;# o SQL plano (legible, restaura con psql)&lt;/span&gt;
pg_dump &lt;span class="s2"&gt;"$DATABASE_URL"&lt;/span&gt; -f respaldo.sql
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;El formato personalizado (&lt;code&gt;-Fc&lt;/code&gt;) comprime y permite restaurar de forma selectiva; es la mejor opción para una migración.&lt;/p&gt;

&lt;h2&gt;
  
  
  Paso 2: prepara el destino
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Opción A — Postgres administrado.&lt;/strong&gt; Crea la base en tu proveedor nuevo (Neon, Supabase, Render, DigitalOcean…) y apunta su URL. No hay nada más que instalar; salta al Paso 3.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Opción B — Postgres en tu propio contenedor&lt;/strong&gt; (el caso de Cloudish). Levantas Postgres con un volumen para que los datos sobrevivan a los reinicios:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker run -d --name postgres \
  -e &lt;span class="nv"&gt;POSTGRES_PASSWORD&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;una-clave-fuerte \
  -e &lt;span class="nv"&gt;POSTGRES_USER&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;app \
  -e &lt;span class="nv"&gt;POSTGRES_DB&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;app \
  -v pgdata:/var/lib/postgresql/data \
  -p 5432:5432 \
  postgres:16
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;El volumen &lt;code&gt;pgdata&lt;/code&gt; es lo importante: es el disco donde Postgres guarda los datos, y debe vivir en un disco persistente. En Cloudish, ese disco se conserva entre reinicios y despliegues; en otros hosts, comprueba que el volumen sobreviva a un reinicio, o perderás la base al redeploy.&lt;/p&gt;

&lt;h2&gt;
  
  
  Paso 3: restaura
&lt;/h2&gt;

&lt;p&gt;El detalle que evita el 90 % de los errores son las banderas &lt;code&gt;--no-owner&lt;/code&gt; y &lt;code&gt;--no-privileges&lt;/code&gt;. Heroku crea la base con un nombre de usuario aleatorio que &lt;strong&gt;no existe&lt;/strong&gt; en el destino; sin esas banderas, &lt;code&gt;pg_restore&lt;/code&gt; falla con &lt;code&gt;role "..." does not exist&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# para el .dump (formato personalizado)&lt;/span&gt;
pg_restore --no-owner --no-privileges -d &lt;span class="s2"&gt;"$NUEVA_URL"&lt;/span&gt; respaldo.dump

&lt;span class="c"&gt;# para el SQL plano&lt;/span&gt;
psql &lt;span class="s2"&gt;"$NUEVA_URL"&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; respaldo.sql
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;-d "$NUEVA_URL"&lt;/code&gt; es la URL de la base de destino. Si prefieres variables por separado, &lt;code&gt;pg_restore -h HOST -U USUARIO -d NOMBRE&lt;/code&gt; funciona igual.&lt;/p&gt;

&lt;h2&gt;
  
  
  Paso 4: comprueba los conteos de filas
&lt;/h2&gt;

&lt;p&gt;Nunca des por hecho que la restauración funcionó porque no mostró errores. Compara el número de filas de las tablas importantes entre origen y destino:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# en el origen&lt;/span&gt;
psql &lt;span class="s2"&gt;"$DATABASE_URL"&lt;/span&gt; -c &lt;span class="s2"&gt;"SELECT count(*) FROM usuarios;"&lt;/span&gt;
psql &lt;span class="s2"&gt;"$DATABASE_URL"&lt;/span&gt; -c &lt;span class="s2"&gt;"SELECT count(*) FROM pedidos;"&lt;/span&gt;

&lt;span class="c"&gt;# en el destino&lt;/span&gt;
psql &lt;span class="s2"&gt;"$NUEVA_URL"&lt;/span&gt; -c &lt;span class="s2"&gt;"SELECT count(*) FROM usuarios;"&lt;/span&gt;
psql &lt;span class="s2"&gt;"$NUEVA_URL"&lt;/span&gt; -c &lt;span class="s2"&gt;"SELECT count(*) FROM pedidos;"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Los números deben coincidir exactamente. Para revisar todas las tablas de una vez, lista primero &lt;code&gt;\dt&lt;/code&gt; y luego recorre las que importan. Un error silencioso (una secuencia sin reiniciar, un índice que no se creó) puede no verse hasta que la app falla en producción.&lt;/p&gt;

&lt;h2&gt;
  
  
  Paso 5: apunta la app a la base nueva y prueba
&lt;/h2&gt;

&lt;p&gt;Cambia la variable de entorno de la app:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Heroku&lt;/span&gt;
heroku config:set &lt;span class="nv"&gt;DATABASE_URL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;... --app mi-app

&lt;span class="c"&gt;# Cloudish / contenedor: define DATABASE_URL en la configuración de la app&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Después, corre una prueba real: crea un registro, bórralo, abre la página que lista datos. El conteo de filas confirma que los datos llegaron; solo una escritura confirma que la app puede usarlos.&lt;/p&gt;

&lt;h2&gt;
  
  
  Errores comunes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;role "..." does not exist&lt;/code&gt;&lt;/strong&gt; — te faltaron &lt;code&gt;--no-owner --no-privileges&lt;/code&gt; (o estás restaurando como un usuario que no es dueño). Es el error más frecuente al salir de Heroku.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;relation "..." already exists&lt;/code&gt;&lt;/strong&gt; — el destino no estaba vacío. Crea una base nueva y vuelve a intentar.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;permission denied for schema public&lt;/code&gt;&lt;/strong&gt; — en Postgres 15+, el esquema &lt;code&gt;public&lt;/code&gt; no se regala a cualquiera; crea el usuario dueño o ejecuta &lt;code&gt;GRANT ALL ON SCHEMA public TO tu_usuario;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Los &lt;code&gt;INSERT&lt;/code&gt; fallan con claves duplicadas&lt;/strong&gt; — las &lt;strong&gt;secuencias&lt;/strong&gt; (los autoincrementales) no se reiniciaron. Tras restaurar, corrige el valor con &lt;code&gt;SELECT setval(pg_get_serial_sequence('usuarios','id'), (SELECT max(id) FROM usuarios));&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Codificación distinta&lt;/strong&gt; — si el destino no acepta &lt;code&gt;UTF8&lt;/code&gt;, cráalo con &lt;code&gt;ENCODING 'UTF8'&lt;/code&gt;; casi todo Heroku Postgres es UTF8.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Cuándo usar cada destino
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Postgres administrado&lt;/strong&gt; conviene si no quieres operar la base: copias de seguridad, actualizaciones y alta disponibilidad de otro. Pagas por ello.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Postgres en tu propio contenedor&lt;/strong&gt; conviene si la app es pequeña, quieres control total y ya despliegas contenedores: un volumen persistente es todo lo que necesitas. Es la opción que usamos en Cloudish, porque la app y su base viajan juntas en el mismo despliegue.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;El respaldo con &lt;code&gt;pg_dump&lt;/code&gt; y la restauración con &lt;code&gt;pg_restore&lt;/code&gt; son los mismos en ambos casos; lo único que cambia es quién opera el servidor al final.&lt;/p&gt;




</description>
      <category>postgres</category>
      <category>cloud</category>
      <category>aiops</category>
      <category>devops</category>
    </item>
    <item>
      <title>Cómo correr Postgres dentro de tu propia app en Cloudish</title>
      <dc:creator>Sigrid Keydana</dc:creator>
      <pubDate>Mon, 16 Nov 2026 13:33:30 +0000</pubDate>
      <link>https://dev.to/sigrid-hal9/como-correr-postgres-dentro-de-tu-propia-app-en-cloudish-2nd2</link>
      <guid>https://dev.to/sigrid-hal9/como-correr-postgres-dentro-de-tu-propia-app-en-cloudish-2nd2</guid>
      <description>&lt;p&gt;&lt;em&gt;Cloudish no tiene un servicio de Postgres administrado. Aquí te muestro cómo arrancar tu propio Postgres dentro del contenedor de tu app, con el disco persistente, y qué límites asumes a cambio.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Escribí este texto con ayuda de una IA y lo revisé contra la documentación de Cloudish el 16 de noviembre de 2026. Trabajo en Hal9, donde hacemos Cloudish, por eso aparece como ejemplo; señalo dónde conviene usar un servicio administrado en su lugar.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lo que vas a construir
&lt;/h2&gt;

&lt;p&gt;Una app (aquí, Node.js) que corre en un contenedor de Cloudish y usa &lt;strong&gt;Postgres corriendo en el mismo contenedor&lt;/strong&gt;, con los datos en un &lt;strong&gt;volumen persistente&lt;/strong&gt;. El contenedor puede reiniciarse o quedarse sin saldo: el volumen conserva la base de datos.&lt;/p&gt;

&lt;p&gt;Lo que Cloudish dice sobre esto es directo: &lt;em&gt;"Cloudish has no managed Postgres/MySQL offering. A database running in your own app, with its data on a volume, is a normal, working setup: the container restarts, the volume keeps the data."&lt;/em&gt; Es decir: no es un atajo extraño, es una configuración prevista.&lt;/p&gt;

&lt;h2&gt;
  
  
  Paso 0 — La API key (una llamada, sin registro)
&lt;/h2&gt;

&lt;p&gt;Cloudish funciona por API. Creas una key con una sola llamada, sin cuenta ni tarjeta:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -X POST https://cloudish.ai/api/v1/keys \
  -H &lt;span class="s2"&gt;"content-type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{"alias": "mi-app", "agent": "claude-code", "model": "claude-opus-5-5", "ref": "cc-s10a7"}'&lt;/span&gt;
&lt;span class="c"&gt;# -&amp;gt; { "apiKey": { "alias": "mi-app", "balance": 0.1 }, "key": "cld_...", "claimUrl": "https://..." }&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Guarda la &lt;code&gt;key&lt;/code&gt; en &lt;code&gt;$CLOUDISH_API_KEY&lt;/code&gt;; autentica todas las llamadas que siguen (&lt;code&gt;Authorization: Bearer $CLOUDISH_API_KEY&lt;/code&gt;). Las keys nuevas traen 0,1 créditos para empezar; un crédito es un dólar. El &lt;code&gt;claimUrl&lt;/code&gt; sirve para que, más tarde, una persona asocie la key a su cuenta y añada créditos (funciona una vez y expira en 30 minutos).&lt;/p&gt;

&lt;h2&gt;
  
  
  Paso 1 — Crear el proyecto con un volumen
&lt;/h2&gt;

&lt;p&gt;Subes un contexto de build (un tar.gz con tu &lt;code&gt;Dockerfile&lt;/code&gt;) y, en la misma llamada, pides el volumen:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;tar --exclude=&lt;span class="s1"&gt;'.env*'&lt;/span&gt; --exclude=&lt;span class="s1"&gt;'.git'&lt;/span&gt; -czf context.tar.gz .
curl -X POST https://cloudish.ai/api/v1/projects \
  -H &lt;span class="s2"&gt;"Authorization: Bearer $CLOUDISH_API_KEY"&lt;/span&gt; \
  -F &lt;span class="s2"&gt;"name=mi-app"&lt;/span&gt; -F &lt;span class="s2"&gt;"port=8080"&lt;/span&gt; \
  -F &lt;span class="s2"&gt;"alwaysOn=true"&lt;/span&gt; \
  -F &lt;span class="s2"&gt;"cpuCores=0.5"&lt;/span&gt; -F &lt;span class="s2"&gt;"memoryGb=1"&lt;/span&gt; \
  -F &lt;span class="s2"&gt;"volumeEnabled=true"&lt;/span&gt; -F &lt;span class="s2"&gt;"volumeSizeGb=5"&lt;/span&gt; -F &lt;span class="s2"&gt;"volumeMountPath=/data"&lt;/span&gt; \
  -F &lt;span class="s2"&gt;"context=@context.tar.gz"&lt;/span&gt;
&lt;span class="c"&gt;# -&amp;gt; { "build": { "id": 123, "status": "running" }, ... }&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Detalles que importan:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;volumeSizeGb&lt;/code&gt; solo admite 1, 5 o 20.&lt;/strong&gt; Aquí 5 GB. &lt;code&gt;volumeMountPath&lt;/code&gt; por defecto es &lt;code&gt;/data&lt;/code&gt;; lo ponemos explícito para que el script de arranque lo encuentre.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;alwaysOn&lt;/code&gt;&lt;/strong&gt; lo mantiene despierto. Una base de datos que se duerme a los 15 minutos sin tráfico te devuelve errores de conexión cuando la app vuelve a despertar antes que ella; para una base, &lt;code&gt;alwaysOn&lt;/code&gt; (o un &lt;code&gt;sleepAfterMinutes&lt;/code&gt; muy alto) es lo razonable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;cpuCores&lt;/code&gt;/&lt;code&gt;memoryGb&lt;/code&gt; en 0.5/1 es el tamaño &lt;code&gt;small&lt;/code&gt;.&lt;/strong&gt; La doc es clara: el tamaño por defecto (&lt;code&gt;shared&lt;/code&gt;) &lt;em&gt;"Not a good fit for anything that must not restart, anything running a database inside the container"&lt;/em&gt; — no lo uses para esto.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;El volumen solo se monta en un contenedor:&lt;/strong&gt; &lt;em&gt;"A volume can only attach to one container, so an app with one can't run replicas."&lt;/em&gt; No puedes escalar la base a varias réplicas; es una sola instancia.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;El build corre del lado de Cloudish (nada de &lt;code&gt;docker build&lt;/code&gt; local). Sondea hasta que termine:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl https://cloudish.ai/api/v1/images/builds/123 -H &lt;span class="s2"&gt;"Authorization: Bearer $CLOUDISH_API_KEY"&lt;/span&gt;
&lt;span class="c"&gt;# -&amp;gt; { "build": { "status": "running" }, ... }   luego "succeeded" o "failed"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Paso 2 — El Dockerfile
&lt;/h2&gt;

&lt;p&gt;Añade el paquete &lt;code&gt;postgresql&lt;/code&gt; a tu imagen y deja que el arranque (no el build) inicialice la base:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight docker"&gt;&lt;code&gt;&lt;span class="k"&gt;FROM&lt;/span&gt; node:22-slim

&lt;span class="k"&gt;RUN&lt;/span&gt; apt-get update &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; apt-get install -y postgresql &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; rm -rf /var/lib/apt/lists/*

&lt;span class="k"&gt;WORKDIR&lt;/span&gt; /app
&lt;span class="k"&gt;COPY&lt;/span&gt; package*.json ./
&lt;span class="k"&gt;RUN&lt;/span&gt; npm ci
&lt;span class="k"&gt;COPY&lt;/span&gt; . .

&lt;span class="k"&gt;COPY&lt;/span&gt; entrypoint.sh /entrypoint.sh
&lt;span class="k"&gt;RUN&lt;/span&gt; chmod +x /entrypoint.sh

&lt;span class="k"&gt;ENV&lt;/span&gt; &lt;span class="nv"&gt;PGDATA&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/data/postgres
&lt;span class="k"&gt;ENTRYPOINT&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"/entrypoint.sh"&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;CMD&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"node"&lt;/span&gt;, &lt;span class="s2"&gt;"src/index.js"&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Paso 3 — El script de arranque (la parte delicada)
&lt;/h2&gt;

&lt;p&gt;La documentación lo resume así: inicializa con &lt;code&gt;initdb&lt;/code&gt; &lt;strong&gt;solo si aún no está inicializado&lt;/strong&gt;, arranca con &lt;code&gt;pg_ctl&lt;/code&gt;, crea rol y base de datos de forma &lt;strong&gt;idempotente&lt;/strong&gt; (se ejecuta en cada boot, así que tras la primera vez debe ser un no-op), corre las migraciones al arranque, y &lt;strong&gt;recrea &lt;code&gt;/var/run/postgresql&lt;/code&gt; antes de empezar&lt;/strong&gt; (Kubernetes lo remonta vacío en cada arranque del contenedor):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;#!/bin/sh&lt;/span&gt;
&lt;span class="c"&gt;# entrypoint.sh — arranca Postgres y luego tu app&lt;/span&gt;
&lt;span class="nb"&gt;set&lt;/span&gt; -eu

&lt;span class="nv"&gt;PGDATA&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"${PGDATA:-/data/postgres}"&lt;/span&gt;
&lt;span class="nv"&gt;DB_NAME&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"${DB_NAME:-app}"&lt;/span&gt;
&lt;span class="nv"&gt;DB_USER&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"${DB_USER:-app}"&lt;/span&gt;
&lt;span class="nv"&gt;DB_PASSWORD&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"${DB_PASSWORD:-}"&lt;/span&gt;

mkdir -p &lt;span class="s2"&gt;"$PGDATA"&lt;/span&gt; /var/run/postgresql
chown -R postgres:postgres &lt;span class="s2"&gt;"$PGDATA"&lt;/span&gt; /var/run/postgresql

&lt;span class="c"&gt;# 1. Inicializar el clúster solo la primera vez&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt; ! -s &lt;span class="s2"&gt;"$PGDATA/PG_VERSION"&lt;/span&gt; &lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;then&lt;/span&gt;
  su postgres -c &lt;span class="s2"&gt;"initdb -D '$PGDATA' -U postgres --auth-local=trust --auth-host=trust"&lt;/span&gt;
&lt;span class="k"&gt;fi&lt;/span&gt;

&lt;span class="c"&gt;# 2. Arrancar el servidor (solo escucha en 127.0.0.1, dentro del contenedor)&lt;/span&gt;
su postgres -c &lt;span class="s2"&gt;"pg_ctl -D '$PGDATA' -o '-p 5432 -c listen_addresses=127.0.0.1' -w start"&lt;/span&gt;

&lt;span class="c"&gt;# 3. Crear rol y base de datos (idempotente: no-op tras la primera vez)&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; ! su postgres -c &lt;span class="s2"&gt;"psql -p 5432 -tAc \"SELECT 1 FROM pg_roles WHERE rolname='$DB_USER'\""&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; grep -q 1&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;then&lt;/span&gt;
  su postgres -c &lt;span class="s2"&gt;"psql -p 5432 -c \"CREATE ROLE $DB_USER LOGIN PASSWORD '$DB_PASSWORD'\""&lt;/span&gt;
&lt;span class="k"&gt;fi&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; ! su postgres -c &lt;span class="s2"&gt;"psql -p 5432 -tAc \"SELECT 1 FROM pg_database WHERE datname='$DB_NAME'\""&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; grep -q 1&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;then&lt;/span&gt;
  su postgres -c &lt;span class="s2"&gt;"createdb -p 5432 -O $DB_USER $DB_NAME"&lt;/span&gt;
&lt;span class="k"&gt;fi&lt;/span&gt;

&lt;span class="c"&gt;# 4. Migraciones al arranque (tu comando aquí)&lt;/span&gt;
&lt;span class="c"&gt;# npm run migrate || true&lt;/span&gt;

&lt;span class="c"&gt;# 5. Tu app&lt;/span&gt;
&lt;span class="nb"&gt;exec&lt;/span&gt; &lt;span class="s2"&gt;"$@"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;La contraseña &lt;strong&gt;no va en el código ni en el contexto de build&lt;/strong&gt;: se pasa como secreto cifrado (Paso 4).&lt;/p&gt;

&lt;h2&gt;
  
  
  Paso 4 — El secreto (DB_PASSWORD)
&lt;/h2&gt;

&lt;p&gt;Los secretos se guardan aparte, cifrados en reposo, y se inyectan al contenedor como variables de entorno:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -X PUT https://cloudish.ai/api/v1/projects/MI_ALIAS/mi-app/secrets \
  -H &lt;span class="s2"&gt;"Authorization: Bearer $CLOUDISH_API_KEY"&lt;/span&gt; -H &lt;span class="s2"&gt;"content-type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{"name": "DB_PASSWORD", "value": "una-contraseña-larga-y-única"}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Dentro del contenedor, la app lee &lt;code&gt;DB_PASSWORD&lt;/code&gt; y &lt;code&gt;DATABASE_URL=postgres://app:...@127.0.0.1:5432/app&lt;/code&gt;. La base escucha en &lt;code&gt;127.0.0.1:5432&lt;/code&gt; &lt;strong&gt;dentro del contenedor&lt;/strong&gt;; el puerto &lt;code&gt;8080&lt;/code&gt; que declaraste en Paso 1 es el de tu app (tu servidor HTTP), no el de Postgres.&lt;/p&gt;

&lt;h2&gt;
  
  
  Paso 5 — Backups (tuyos)
&lt;/h2&gt;

&lt;p&gt;Aquí está el límite más importante: &lt;strong&gt;no hay backups administrados.&lt;/strong&gt; La documentación sugiere añadir endpoints de administración que descarguen un backup (&lt;code&gt;pg_dump&lt;/code&gt;) y acepten uno para restaurar, detrás de un secreto, y automatizarlo enviando el archivo a algo que ya tengas (Google Drive, Dropbox, un bucket S3) o a otra app tuya en otro datacenter:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# dentro del contenedor, para descargar un backup&lt;/span&gt;
su postgres -c &lt;span class="s2"&gt;"pg_dump -p 5432 -Fc -U postgres app"&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; /tmp/app.dump
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Exponer &lt;code&gt;pg_dump&lt;/code&gt; como endpoint es fácil de hacer mal (cualquiera con el URL podría leer o sobrescribir tus datos). Si lo expones, protégelo con un token de secreto y verifícalo en tu código.&lt;/p&gt;

&lt;h2&gt;
  
  
  Los límites, a la vista
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sin réplicas.&lt;/strong&gt; El volumen va a un solo contenedor; no hay failover. Si el contenedor se reinicia, Postgres arranca de nuevo con el mismo volumen (eso sí está cubierto).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tú corres los backups&lt;/strong&gt; y las migraciones. No hay servicio que lo haga por ti.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Un datacenter.&lt;/strong&gt; Hoy Cloudish corre en un único datacenter ("seattle"); la expansión a otros está planeada.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;El tamaño importa.&lt;/strong&gt; Usa &lt;code&gt;small&lt;/code&gt; o más; el tamaño &lt;code&gt;shared&lt;/code&gt; no es apto para una base de datos dentro del contenedor.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lo bueno del volumen:&lt;/strong&gt; no se factura aparte (&lt;em&gt;"Persistent volumes are not billed"&lt;/em&gt;), y si la key se queda sin saldo, la app se detiene pero &lt;strong&gt;el volumen y sus datos se conservan&lt;/strong&gt; y no se cobran; la app vuelve a arrancar cuando hay créditos. &lt;em&gt;"Deleting the project is what destroys the data."&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Cuándo no usar esto
&lt;/h2&gt;

&lt;p&gt;Si necesitas &lt;strong&gt;réplicas de lectura, failover automático, backups administrados o un punto de recuperación gestionado&lt;/strong&gt;, usa un servicio administrado (Neon, Supabase, RDS, Cloud SQL…). La ventaja de este montaje es otra: una base de datos real, en tu propio contenedor, sin pagar un servicio aparte y con todo el control en tus manos.&lt;/p&gt;

&lt;p&gt;Si solo guardas unos pocos datos, considera &lt;a href="https://hal9ai.github.io/ai-builders-wiki/How-to-run-an-app-that-keeps-its-own-SQLite-database.html" rel="noopener noreferrer"&gt;SQLite&lt;/a&gt; (en inglés) primero: la doc de Cloudish lo llama &lt;em&gt;"simplest option for most apps"&lt;/em&gt; — un archivo en el volumen, sin proceso extra.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pruébalo
&lt;/h2&gt;

&lt;p&gt;Cloudish es una opción si quieres que una IA publique la app por su cuenta: &lt;a href="https://cloudish.ai/?ref=cc-s10a7" rel="noopener noreferrer"&gt;cloudish.ai&lt;/a&gt;. La documentación que usé está en &lt;a href="https://cloudish.ai/skill.md" rel="noopener noreferrer"&gt;cloudish.ai/skill.md&lt;/a&gt;, sección "A database that persists".&lt;/p&gt;

</description>
      <category>cloud</category>
      <category>devops</category>
      <category>postgres</category>
      <category>cloudcomputing</category>
    </item>
    <item>
      <title>What makes for an agent-native cloud? Five tests</title>
      <dc:creator>Sigrid Keydana</dc:creator>
      <pubDate>Fri, 13 Nov 2026 10:12:03 +0000</pubDate>
      <link>https://dev.to/sigrid-hal9/what-makes-for-an-agent-native-cloud-five-tests-1d1l</link>
      <guid>https://dev.to/sigrid-hal9/what-makes-for-an-agent-native-cloud-five-tests-1d1l</guid>
      <description>&lt;p&gt;An &lt;strong&gt;agent-native cloud&lt;/strong&gt; is a cloud an AI agent can sign up for, pay for, and deploy to with no person in the loop.&lt;/p&gt;

&lt;p&gt;That is not a standard term yet — it is new, and we are one of the people trying to define it, so the rest of this article is the definition made checkable: five tests, each one answered against the hosts' own docs, so you can verify or argue with it instead of taking our word. AI assistance was used in preparing this article.&lt;/p&gt;

&lt;h2&gt;
  
  
  The five tests
&lt;/h2&gt;

&lt;p&gt;For each test, the useful form is the question an agent actually runs into mid-deploy:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Can the agent get its own credential?&lt;/strong&gt; If a human has to create the account, add a card, and mint a token first, the agent is not deploying alone — it is deploying after a person. The test: can the agent mint its own key with one call, no browser?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Is there a ceiling the agent can't spend past?&lt;/strong&gt; An agent told "deploy this" can loop, retry, and spawn resources. The test: is there a hard, prepaid limit, or just an alert that a person might see too late?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Can the agent check the build and app logs itself?&lt;/strong&gt; "Done" is not a deployment status; it is a judgment the agent should be able to reach from logs. The test: can the agent read build and runtime output with the same key it deploys with?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Can the agent hand the project to a person later?&lt;/strong&gt; An agent-built app eventually needs an owner with a browser. The test: is there a claim link or handoff that does not require the agent to share its own key?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Can it give a sub-agent its own smaller budget?&lt;/strong&gt; The real deployments are nested — an orchestrator hands a slice to a sub-agent. The test: can you mint a child key with its own cap?&lt;/p&gt;

&lt;h2&gt;
  
  
  The table, checked against the docs
&lt;/h2&gt;

&lt;p&gt;Marks are &lt;strong&gt;Yes&lt;/strong&gt;, &lt;strong&gt;Partly&lt;/strong&gt; or &lt;strong&gt;No&lt;/strong&gt;, each backed by the host's own docs, pricing or CLI pages, checked 13 November 2026.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Test&lt;/th&gt;
&lt;th&gt;Cloudish&lt;/th&gt;
&lt;th&gt;Fly.io&lt;/th&gt;
&lt;th&gt;Railway&lt;/th&gt;
&lt;th&gt;Render&lt;/th&gt;
&lt;th&gt;DigitalOcean&lt;/th&gt;
&lt;th&gt;Vercel&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Agent gets its own credential&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Yes&lt;/strong&gt; — &lt;code&gt;POST /api/v1/keys&lt;/code&gt; returns a key, no login, no card&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;No&lt;/strong&gt; — a person creates the account, card and token first&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;No&lt;/strong&gt; — a person creates the account and token&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;No&lt;/strong&gt; — a person creates the API key in the dashboard&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;No&lt;/strong&gt; — a person creates the API key in the dashboard&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;No&lt;/strong&gt; — a person's account and token come first&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hard spend ceiling&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Yes&lt;/strong&gt; — prepaid balance, stops at zero&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Partly&lt;/strong&gt; — alerts on a card on file&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Partly&lt;/strong&gt; — an opt-in hard usage limit (stops workloads when hit), not a prepaid cap&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Partly&lt;/strong&gt; — alerts on a card on file&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Partly&lt;/strong&gt; — alerts on a card on file&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Partly&lt;/strong&gt; — spend management, not a prepaid cap&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Agent reads build and app logs&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Yes&lt;/strong&gt; — same key reads logs&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Yes&lt;/strong&gt; — &lt;code&gt;fly logs&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Yes&lt;/strong&gt; — &lt;code&gt;railway logs&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Yes&lt;/strong&gt; — Render API&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Yes&lt;/strong&gt; — &lt;code&gt;doctl&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Yes&lt;/strong&gt; — &lt;code&gt;vercel logs&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hand the project to a person&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Yes&lt;/strong&gt; — claim link&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Partly&lt;/strong&gt; — manual account/team handoff&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Partly&lt;/strong&gt; — manual team handoff&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Partly&lt;/strong&gt; — manual team handoff&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Partly&lt;/strong&gt; — manual team handoff&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Partly&lt;/strong&gt; — manual team handoff&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sub-agent with its own budget&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Yes&lt;/strong&gt; — child keys&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Partly&lt;/strong&gt; — scoped deploy tokens, not budgeted&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;No&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;No&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;No&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;No&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The two tests that separate the field are the first two. Every host lets an agent read logs once it has a key (test 3), so that one is a table of equals. The claim-link and child-key rows (tests 4 and 5) are where the conventional hosts still expect a person to be the account owner.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who's strong where
&lt;/h2&gt;

&lt;p&gt;From this table, we can directly see each host's strengths:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Render's free tier&lt;/strong&gt; is the best price for a light app a person is willing to babysit — $0, as long as you accept that the filesystem is ephemeral.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Railway's opt-in hard usage limit&lt;/strong&gt; is the cleanest "can't overspend" answer for a human-owned hobby app.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fly.io&lt;/strong&gt; has the strongest agent story among the conventional hosts: a real CLI (&lt;code&gt;fly deploy&lt;/code&gt;), a &lt;code&gt;fly.toml&lt;/code&gt; the agent can edit, and scoped deploy tokens — a person just has to be there first.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vercel&lt;/strong&gt; is the obvious pick when a person iterates on a Next.js-style site and wants a preview on every change.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusions
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Vercel&lt;/strong&gt; when a person is iterating on a frontend and wants PR previews.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Railway, Render or Fly.io&lt;/strong&gt; when a person is around to sign up — they are more battle-tested for always-on, heavy workloads.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AWS or GCP&lt;/strong&gt; for platform teams that need IAM, compliance and regions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloudish&lt;/strong&gt; when the branch is really "no person is around": an agent told to deploy at 2 a.m., a CI step that ships a preview, a tutorial that ends with "and put it online."&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Hopefully, you've found some useful guidance in this article!&lt;br&gt;
As always, if you read this as a later time, please keep in mind that docs can also drift from the product — the table above is what the docs say as of this writing, not a promise.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Written by the team behind &lt;a href="https://cloudish.ai/?ref=cc-s8a1" rel="noopener noreferrer"&gt;Cloudish&lt;/a&gt;, at &lt;a href="https://hal9.com/" rel="noopener noreferrer"&gt;Hal9&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>cloud</category>
      <category>agents</category>
      <category>devops</category>
    </item>
    <item>
      <title>What five clouds' own docs tell an AI agent about where to keep app data</title>
      <dc:creator>Sigrid Keydana</dc:creator>
      <pubDate>Thu, 05 Nov 2026 10:50:47 +0000</pubDate>
      <link>https://dev.to/sigrid-hal9/what-five-clouds-own-docs-tell-an-ai-agent-about-where-to-keep-app-data-9n3</link>
      <guid>https://dev.to/sigrid-hal9/what-five-clouds-own-docs-tell-an-ai-agent-about-where-to-keep-app-data-9n3</guid>
      <description>&lt;p&gt;Your agent can put an app online. Will it know how to keep the app's data?&lt;/p&gt;

&lt;p&gt;Interestingly, one does not imply the other. In this article, we ask a precise question: when an AI agent wants to figure out where the data goes, what does each host actually tell &lt;em&gt;it&lt;/em&gt; — it, the agent: not a human reading the docs, but an agent reading the machine-readable index the host publishes for agents.&lt;br&gt;
We checked five clouds on 5 November 2026. We build one of them, Cloudish, and employed AI in preparing this.&lt;/p&gt;

&lt;h2&gt;
  
  
  The method
&lt;/h2&gt;

&lt;p&gt;A growing number of hosts publish an &lt;code&gt;llms.txt&lt;/code&gt;: a short index a model can fetch, written for agents, not for a browser. It lists the pages that matter and the rules for working with the platform. An agent told "deploy this, and keep its data" starts there.&lt;/p&gt;

&lt;p&gt;We read each host's &lt;code&gt;llms.txt&lt;/code&gt; (and its agent skill file where one exists) and looked for one thing: what does it say about where app data lives, and what keeps or deletes it. For each host we asked whether the agent-facing text answers that question at all — or leaves the agent to guess.&lt;/p&gt;

&lt;h2&gt;
  
  
  What each host tells an agent
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Cloudish — the only one that answers the data question in the index
&lt;/h3&gt;

&lt;p&gt;Cloudish's &lt;code&gt;llms.txt&lt;/code&gt; opens with "Cloudish is a container cloud an AI agent can deploy to on its own." Then, under spending and persistence, it tells the agent the answer directly: "An optional persistent volume per app (SQLite works well on it); not billed." And when the money runs out: "at zero, builds and deploys answer &lt;code&gt;402&lt;/code&gt; and its running apps stop within a minute, volumes kept."&lt;/p&gt;

&lt;p&gt;An agent gets the whole story from the index: the app runs in a container, there is a disk, SQLite works on it, and stopping the app or running out of credit does not delete the disk.&lt;/p&gt;

&lt;p&gt;What the index does not say is just as important: there is no managed Postgres or MySQL, and no disk backups. An agent that assumes a managed database gets this wrong. Cloudish's skill file states it plainly elsewhere — "No managed Postgres/MySQL offering" — but the &lt;code&gt;llms.txt&lt;/code&gt; itself does not.&lt;/p&gt;

&lt;h3&gt;
  
  
  Render — names disks and Postgres, skips the catch
&lt;/h3&gt;

&lt;p&gt;Render publishes an agent index with setup guides for Claude Code, Cursor and others. For data it says: "Persistent Disks: Preserve your service's filesystem changes across deploys", and "Render Postgres: Deploy fully managed, enterprise-grade databases."&lt;/p&gt;

&lt;p&gt;That is a real answer: attach a persistent disk, or use managed Postgres. But the index never mentions the catch that matters most to a hobby app — Render's &lt;em&gt;free&lt;/em&gt; web service has no disk of its own, and its files are lost on every redeploy, restart, or spin-down. That is in the human docs; the agent-facing index is silent on it. An agent that reads only the index could put a SQLite file on a free Render service and lose it on the first restart.&lt;/p&gt;

&lt;h3&gt;
  
  
  Fly.io — managed Postgres up front, volumes hidden in the fine print
&lt;/h3&gt;

&lt;p&gt;Fly.io's &lt;code&gt;llms.txt&lt;/code&gt; has an explicit "AI-agent notice" and lists "Managed Postgres" — "Production PostgreSQL with backups, failover and connection pooling" — alongside "Persistent, hardware-isolated Linux computers for agents." So an agent learns Fly has managed Postgres and persistent machines.&lt;/p&gt;

&lt;p&gt;But the word "volume" — Fly's own term for the disk a container attaches — does not appear in the index at all, even though volumes are a core part of Fly's docs. An agent told "use Fly with a volume" has to leave the index and go find it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Railway — volumes named once, nothing about what survives
&lt;/h3&gt;

&lt;p&gt;Railway's &lt;code&gt;llms.txt&lt;/code&gt; has a whole "For AI Agents" section and even "Free VMs, no sign up". Data appears in a single breath: "deploy, databases, volumes, functions, config." The word "volume" is there; what happens to the data on it is not. Nothing in the index says what survives a redeploy, a sleep, or a canceled plan. The agent learns the feature exists, not what it keeps.&lt;/p&gt;

&lt;h3&gt;
  
  
  Vercel — the index says nothing about data at all
&lt;/h3&gt;

&lt;p&gt;Vercel's &lt;code&gt;llms.txt&lt;/code&gt; is the most polished of the five — MCP, a plugin, skills, sandboxes. But search it for where a database or a file goes and you find nothing. The only storage word sits in a template blurb: "Deployable starter projects for frameworks, AI, storage, and more." An agent reading only Vercel's index learns Vercel can deploy web apps, and nothing about where their data lives — which, for a serverless function with no mounted disk, is the first thing it needs to know.&lt;/p&gt;

&lt;h2&gt;
  
  
  The table
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Host&lt;/th&gt;
&lt;th&gt;Names a database or disk in its agent index?&lt;/th&gt;
&lt;th&gt;What an agent is told about data&lt;/th&gt;
&lt;th&gt;What the agent still has to guess&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Cloudish&lt;/td&gt;
&lt;td&gt;Yes — "persistent volume per app"&lt;/td&gt;
&lt;td&gt;Volume, SQLite works, kept at zero balance&lt;/td&gt;
&lt;td&gt;No managed DB, no backups&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Render&lt;/td&gt;
&lt;td&gt;Yes — "Persistent Disks", "Render Postgres"&lt;/td&gt;
&lt;td&gt;Disk and managed Postgres exist&lt;/td&gt;
&lt;td&gt;Free tier has no disk; files are ephemeral&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fly.io&lt;/td&gt;
&lt;td&gt;Partly — "Managed Postgres"&lt;/td&gt;
&lt;td&gt;Managed Postgres, persistent machines&lt;/td&gt;
&lt;td&gt;Volumes exist but aren't named&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Railway&lt;/td&gt;
&lt;td&gt;One word — "volumes"&lt;/td&gt;
&lt;td&gt;Volumes exist&lt;/td&gt;
&lt;td&gt;What survives on them&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vercel&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Nothing&lt;/td&gt;
&lt;td&gt;Everything&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What this costs a builder
&lt;/h2&gt;

&lt;p&gt;The gap shows up as a specific failure. An agent asked to "put my to-do app online and keep the to-dos" reads the index, finds a way to deploy, and picks a host that either has no disk (Vercel's serverless functions, Render's free tier) or keeps the disk secret (Fly's volumes). The app works on day one. The data vanishes on the first redeploy. The builder, who is not a programmer, has no idea why.&lt;/p&gt;

&lt;p&gt;This is not a bug in any one host. It is what happens when the index an agent reads is written to sell a platform, not to answer "where does my data go?" Only one of the five wrote that answer into the index.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to paste to your agent
&lt;/h2&gt;

&lt;p&gt;Don't let the agent stop at "deployed." Add one sentence:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Before you deploy, tell me where this app's data will be stored, and what will delete it — a redeploy, a restart, sleep, an expiry date, or only me deleting it. If it needs a disk or a database, name the one you'll use.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If the agent answers "it's deployed, it's fine," ask again. A good agent names the host, the disk or database, and what wipes it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where Cloudish fits
&lt;/h2&gt;

&lt;p&gt;Cloudish is the one we build, but the reason this study flatters it is real: of the five, it is the only host whose agent-facing index answers the data question directly. But the same index shows where Cloudish loses — no managed Postgres or MySQL, and no backups on the disk. If you need a managed database with failover and backups, the agent index points to Fly.io or Render, not to us. That is the honest version, and it is the one we'd rather you quote.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Written by the team behind &lt;a href="https://cloudish.ai/?ref=cc-s7a1" rel="noopener noreferrer"&gt;Cloudish&lt;/a&gt;, at &lt;a href="https://hal9.com/" rel="noopener noreferrer"&gt;Hal9&lt;/a&gt;. The five &lt;code&gt;llms.txt&lt;/code&gt; files were read on 5 November 2026; links below.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Sources (checked 2026-11-05)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Cloudish — &lt;a href="https://cloudish.ai/llms.txt" rel="noopener noreferrer"&gt;https://cloudish.ai/llms.txt&lt;/a&gt; (and &lt;a href="https://cloudish.ai/skill.md" rel="noopener noreferrer"&gt;https://cloudish.ai/skill.md&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Render — &lt;a href="https://render.com/llms.txt" rel="noopener noreferrer"&gt;https://render.com/llms.txt&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Fly.io — &lt;a href="https://fly.io/llms.txt" rel="noopener noreferrer"&gt;https://fly.io/llms.txt&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Railway — &lt;a href="https://railway.com/llms.txt" rel="noopener noreferrer"&gt;https://railway.com/llms.txt&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Vercel — &lt;a href="https://vercel.com/llms.txt" rel="noopener noreferrer"&gt;https://vercel.com/llms.txt&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>aiagents</category>
      <category>cloud</category>
      <category>devops</category>
      <category>llmstxt</category>
    </item>
    <item>
      <title>Your agent put the app online. Will your data still be there next week?</title>
      <dc:creator>Sigrid Keydana</dc:creator>
      <pubDate>Fri, 23 Oct 2026 18:16:03 +0000</pubDate>
      <link>https://dev.to/sigrid-hal9/your-agent-put-the-app-online-will-your-data-still-be-there-next-week-4koo</link>
      <guid>https://dev.to/sigrid-hal9/your-agent-put-the-app-online-will-your-data-still-be-there-next-week-4koo</guid>
      <description>&lt;p&gt;You asked your coding agent to "just put it online." It did. You got a link, the app works, and you've already added your first five to-dos.&lt;/p&gt;

&lt;p&gt;Here's the question nobody asked: where did those five to-dos go, and what will delete them?&lt;/p&gt;

&lt;p&gt;It depends on the route your agent picked. One keeps nothing on a server. One keeps your database for 72 hours. One wipes your SQLite file (a whole database in a single file) every time the app falls asleep. We looked at seven routes, starting with the ones where nobody signs up. We build Cloudish, one of the seven, and used AI in preparing this post.&lt;/p&gt;

&lt;h2&gt;
  
  
  How long does your data last?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmxpni8ti1qpjoset5hzr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmxpni8ti1qpjoset5hzr.png" alt="Chart of how long app data lasts on each route if nobody claims, upgrades or backs up anything: Netlify with no account keeps no data on a server; Render Free web loses files at the next nap, restart or redeploy; an unclaimed Neon project expires after 72 hours; Render Free Postgres expires after 30 days and is deleted 14 days later; Cloudish, Railway and Fly.io volumes are kept until deleted." width="800" height="606"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Route&lt;/th&gt;
&lt;th&gt;Who signs up first&lt;/th&gt;
&lt;th&gt;Where the data lives&lt;/th&gt;
&lt;th&gt;What deletes it&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Netlify, no account&lt;/td&gt;
&lt;td&gt;Nobody, for static sites&lt;/td&gt;
&lt;td&gt;Nowhere on a server&lt;/td&gt;
&lt;td&gt;Nothing to lose; claim the site within an hour to keep it&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claimable Neon&lt;/td&gt;
&lt;td&gt;Nobody&lt;/td&gt;
&lt;td&gt;A Postgres database, up to 100 MB&lt;/td&gt;
&lt;td&gt;The whole project, after 72 hours, unless a person claims it&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cloudish with a volume&lt;/td&gt;
&lt;td&gt;Nobody&lt;/td&gt;
&lt;td&gt;A disk of 1, 5 or 20 GB&lt;/td&gt;
&lt;td&gt;Only deleting the project&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Render Free web service&lt;/td&gt;
&lt;td&gt;A person&lt;/td&gt;
&lt;td&gt;The app's own disk&lt;/td&gt;
&lt;td&gt;Every redeploy, restart or nap&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Render Free Postgres&lt;/td&gt;
&lt;td&gt;A person&lt;/td&gt;
&lt;td&gt;A 1 GB Postgres database&lt;/td&gt;
&lt;td&gt;Expires after 30 days; deleted 14 days later unless upgraded&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Railway with a volume&lt;/td&gt;
&lt;td&gt;A person, on the $5 Hobby plan&lt;/td&gt;
&lt;td&gt;A disk&lt;/td&gt;
&lt;td&gt;Removed 60 days after you cancel&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fly.io with a volume&lt;/td&gt;
&lt;td&gt;A person, with a card&lt;/td&gt;
&lt;td&gt;A disk on one machine&lt;/td&gt;
&lt;td&gt;A drive failure, if it's your only copy&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Netlify: online in seconds, but nothing saved
&lt;/h2&gt;

&lt;p&gt;Netlify's command line has a flag that, in its own words, "is useful for AI agents": &lt;a href="https://docs.netlify.com/start/quickstarts/deploy-from-ai-code-generation-tool/" rel="noopener noreferrer"&gt;&lt;code&gt;netlify deploy --allow-anonymous&lt;/code&gt;&lt;/a&gt;. It "creates a project with a live URL. You have one hour to claim ownership by logging in or creating a Netlify account."&lt;/p&gt;

&lt;p&gt;The catch for data comes right after: "sites or apps that use serverless functions or edge functions will require an account."&lt;/p&gt;

&lt;p&gt;So this route is for pages. A portfolio, a landing page or a demo is perfect. A to-do list that saves to a server needs an account, or another route.&lt;/p&gt;

&lt;h2&gt;
  
  
  Claimable Neon: a real database, on a 72-hour clock
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://neon.com/docs/reference/claimable-neon" rel="noopener noreferrer"&gt;Claimable Neon&lt;/a&gt; lets your agent create a Postgres database with no account at all. Neon is upfront about the limits: "Unclaimed projects expire in 72 hours (&lt;code&gt;project.expires_at&lt;/code&gt;) and are capped at 100 MB storage and 1 GB transfer. Claim codes expire in 15 minutes (&lt;code&gt;expires_in&lt;/code&gt;). Those are two clocks."&lt;/p&gt;

&lt;p&gt;Two things catch people out:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The claim code goes stale fast.&lt;/strong&gt; It lasts 15 minutes. Your agent can ask for a fresh one, but only while the project itself is still alive.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claiming changes the password.&lt;/strong&gt; When you claim, Neon "revokes the project key, access tokens, and database password," and tells you to "Fetch a new &lt;code&gt;DATABASE_URL&lt;/code&gt; there." Your live app keeps using the old one until someone updates it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Great for a database you'll claim today. Not for data you want to keep without anyone ever logging in.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cloudish: a disk nobody has to sign up for
&lt;/h2&gt;

&lt;p&gt;Cloudish is the one we build. Here's how it keeps your data, and where it falls short.&lt;/p&gt;

&lt;p&gt;Your agent creates its own key with one call. In &lt;a href="https://cloudish.ai/llms.txt?ref=cc-s5a1" rel="noopener noreferrer"&gt;Cloudish's words&lt;/a&gt;, there's "No signup, browser, card, OAuth or approval step." The app runs as a container, and the agent can give it a disk, which Cloudish calls a &lt;a href="https://cloudish.ai/skill.md?ref=cc-s5a1" rel="noopener noreferrer"&gt;volume&lt;/a&gt;, of 1, 5 or 20 GB.&lt;/p&gt;

&lt;p&gt;What deletes it? According to the &lt;a href="https://www.cloudish.ai/?ref=cc-s5a1#faq" rel="noopener noreferrer"&gt;FAQ&lt;/a&gt;, the volume "survives restarts, redeploys, idle scale-downs and running out of credits," and "only goes away when the project is deleted." If the prepaid balance runs out, the app stops within a minute, but the data on the disk stays.&lt;/p&gt;

&lt;p&gt;What to know before you pick it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;One app copy per disk.&lt;/strong&gt; "A volume can only attach to one container, so an app with one can't run replicas." If you need several copies sharing a disk, look elsewhere.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No managed database.&lt;/strong&gt; "Cloudish has no managed Postgres/MySQL offering." SQLite on the disk is the simple path; you can also run Postgres inside the container.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It isn't free.&lt;/strong&gt; &lt;a href="https://cloudish.ai/instances.md?ref=cc-s5a1" rel="noopener noreferrer"&gt;Disks aren't billed&lt;/a&gt;, but the app is, per second while it runs. The smallest size costs $0.0107 an hour, and by default the app sleeps after 15 quiet minutes, for free. Used an hour a day, that's about $4.90 a year; always on, $94.03.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The smallest size can restart.&lt;/strong&gt; An app on it that uses more than its 0.2 GB of memory "can be restarted" when its machine runs short. The disk survives that. For Postgres inside the container, Cloudish suggests a bigger size, about $13.53 a year at an hour a day.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Great for an app your agent deploys with SQLite or a small Postgres, when nobody wants to sign up. Not for apps that need several copies on one disk, or a managed database with backups.&lt;/p&gt;

&lt;h2&gt;
  
  
  Render Free: free, but your SQLite file won't last
&lt;/h2&gt;

&lt;p&gt;Render Free needs a person: step one in &lt;a href="https://render.com/docs/free.md" rel="noopener noreferrer"&gt;Render's docs&lt;/a&gt; is "Sign up for Render." It's free, though, so it's worth knowing what happens to your files there.&lt;/p&gt;

&lt;p&gt;Render "spins down a Free web service that goes 15 minutes without receiving any inbound traffic." The next visitor wakes it up, which "takes about one minute."&lt;/p&gt;

&lt;p&gt;Then the part that matters: "any changes to your web service's filesystem (uploaded images, local SQLite databases, etc.) are &lt;em&gt;lost&lt;/em&gt; every time the service redeploys, restarts, or spins down." Render also "might restart a Free web service at any time," and a free service can't get a disk of its own.&lt;/p&gt;

&lt;p&gt;For data, Render's free option is Free Postgres, with "a fixed storage capacity of 1 GB." But "Free Render Postgres databases expire 30 days after creation." You then get 14 days to upgrade before "Render deletes the database (along with all of its data)."&lt;/p&gt;

&lt;p&gt;Great for an API that stores nothing. Not for SQLite, uploads, or anything you want next month.&lt;/p&gt;

&lt;h2&gt;
  
  
  Railway, Fly.io and Render: disks with backups
&lt;/h2&gt;

&lt;p&gt;If losing the data would really hurt, the safest bet is still a person with an account on a host that backs up its disks. Even Cloudish's FAQ points people to Railway, Render or Fly "if a human wants a long-running container with a volume and is happy to sign up in a browser and put a card on file."&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://docs.railway.com/pricing/plans.md" rel="noopener noreferrer"&gt;Railway&lt;/a&gt;:&lt;/strong&gt; the Hobby plan is $5 a month and "includes a resource usage credit of $5." Disk space costs "$0.15 / GB / month", and services with &lt;a href="https://docs.railway.com/volumes.md" rel="noopener noreferrer"&gt;volumes&lt;/a&gt; "support manual and automated backups." Cancel Hobby, and Railway deletes the disk's data 60 days later.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://fly.io/docs/about/pricing.md" rel="noopener noreferrer"&gt;Fly.io&lt;/a&gt;:&lt;/strong&gt; a volume costs "$0.15/GB/month". Fly &lt;a href="https://fly.io/docs/volumes/overview.md" rel="noopener noreferrer"&gt;takes daily snapshots&lt;/a&gt; and keeps them "for five days by default." It also warns: "Always provision at least two volumes per app," because volumes don't copy data to each other. And after you &lt;a href="https://fly.io/docs/getting-started/sign-up-sign-in.md" rel="noopener noreferrer"&gt;sign up&lt;/a&gt;, "At some point, you'll be prompted for credit card payment information."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://render.com/docs/disks.md" rel="noopener noreferrer"&gt;Render&lt;/a&gt;, paid:&lt;/strong&gt; attach a persistent disk to a paid service. Render "automatically creates a snapshot of your persistent disk once every 24 hours," and "Snapshots are available for seven days after they're created."&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These disks share one limit with Cloudish's: a disk belongs to one running copy of your app. A Render disk "is accessible by only a single service instance," a Fly volume "can be attached to only one Machine," and on Railway, "&lt;a href="https://docs.railway.com/volumes/reference.md" rel="noopener noreferrer"&gt;Replicas cannot be used with volumes&lt;/a&gt;."&lt;/p&gt;

&lt;h2&gt;
  
  
  Which route for which app?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A demo that saves nothing:&lt;/strong&gt; Netlify, no account, if it's only pages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A database for today:&lt;/strong&gt; Claimable Neon. Claim it within 72 hours, then give the app its new &lt;code&gt;DATABASE_URL&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A free API that stores nothing:&lt;/strong&gt; Render Free.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;An app with SQLite, deployed by your agent, with nobody to sign up:&lt;/strong&gt; Cloudish with a volume.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data you can't lose:&lt;/strong&gt; a person signs up for Railway, Fly.io, or a paid Render service with a disk.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  One question to ask your agent
&lt;/h2&gt;

&lt;p&gt;Next time you say "put it online," paste this in too:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Before you deploy, tell me: does this app save anything? If yes, where will it be stored, and what will delete it (a redeploy, a restart, sleeping, an expiry date, or only me)? If I need to claim something to keep it, tell me how long I have.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A good agent answers in a line per question. If yours can't, it picked the route before checking.&lt;/p&gt;

&lt;p&gt;And whatever you choose, keep your own copy of anything you can't lose. Have the app export it somewhere else every so often.&lt;/p&gt;

&lt;p&gt;Did your data ever vanish after a deploy? Tell us what happened in the comments.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Written by the team behind &lt;a href="https://cloudish.ai/?ref=cc-s5a1" rel="noopener noreferrer"&gt;Cloudish&lt;/a&gt;, at &lt;a href="https://hal9.com/" rel="noopener noreferrer"&gt;Hal9&lt;/a&gt;. Limits and prices as of October 23, 2026.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>database</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
