On this page
Migrate to Kilby
Migrate to Kilby in the dashboard (/dashboard/migrate) moves an app from another platform. For the platforms that describe an app in a file, you paste or upload that file and Kilby converts it to a blueprint, a kilby.yaml:
- Paste or upload the file your platform already reads. Kilby reads it and sends it nowhere else.
- Read the notes. Each setting Kilby reads that did not carry over exactly as it was has a line, with the line of your file it comes from: needs your attention (carried over, with something for you to do), not carried over (Kilby has no equivalent, or the file cannot say it) and changed on the way. Settings Kilby does not read, such as stop grace periods and probe timings, get no line.
- Check the plan, then apply it. The converted file goes to the same plan as any blueprint: each service and database, what it costs at list prices, and anything that looks wrong. You can edit the file before you plan it. Nothing is created until you apply the plan.
Vercel and Netlify host front ends and run server code as functions; their files describe routing and functions, not services, so for them there is a guide instead of a converter.
What every conversion does#
Values that look like secrets are not written. A value that looks like a secret (a token or a key by its shape, a URL or a connection string with a password, or any value of a variable whose name says it is a secret, such as
DB_PASSWORD) is left out of the file: the variable becomessync: false, and the plan asks you for its value when you apply it. So does a variable whose value the platform takes from somewhere the file does not hold (your shell, a.envfile, a Kubernetes Secret, an encrypted value). A start command, pre-deploy command, build command or health check path that holds one is left out too, with a note. Detection goes by shape and by name, so check the file before you commit it.References are kept as references. A variable that points at another part of the stack (
postgres://app:app@db:5432/app,http://api:8000,${db.DATABASE_URL}) becomesfromDatabaseorfromService, so Kilby fills in the address of the new database or service. Its user and password are Kilby's.Databases start empty. A Postgres the file names becomes a Kilby database, on Postgres 17 and 18 (the source's version when Kilby offers it, otherwise the nearest newer one). Copy the data with Import data on the database's page, which reads a Postgres reachable from the internet over TLS, of the same version or an older one (Databases). Kilby databases have pgvector but not PostGIS, TimescaleDB or Citus, so a container of one of those stays a container. MySQL, MongoDB and the like have no managed equivalent either: a container of one runs as a service of its own, with a disk where the image keeps its data, and a hosted one stays where it is.
Redis becomes a Key Value. A blueprint cannot create a Key Value yet, so the notes say which one to create in the dashboard; then Connect a service on its page sets the variables that pointed at Redis.
Sizes become instance types. A memory size and a number of dedicated CPUs (a dyno, a machine, a container's limits) become the smallest Kilby instance type with at least as much of both; one larger than Kilby's largest gets the largest, and the notes say so. Shared CPUs, a share of a core, are not counted.
Code is built from a repository. A service the platform builds from source needs to know where the code is: the repository the file names, or the one you write in the form, or
repo: ., which means the repository that holds thekilby.yaml. In that last case, commit the file to the root of the repository and create the blueprint from it.What was private stays private. Kilby puts no login or IP allowlist in front of a service, so a service the source kept from the internet is a private service: a port published only on the host's loopback address, a database, model server or admin tool whose port Compose publishes for your own machine, and a route behind authentication or an allowlist (Traefik middlewares, Ingress annotations, internal load balancers). Change its type to web once the app itself asks for a login.
What has no equivalent is said, not guessed. Per-path routing of one domain to several services, scale to zero, multiple regions, privileged containers, host folders and sidecars have none; the notes name each one.
The converted file is a blueprint like any other, with the same limits on its size and on the number of services and databases (Blueprints).
Render#
Render has its own importer: paste a render.yaml in New, Blueprint, Import from Render. It carries services, databases, env groups and every kind of variable, and compares the price on both. See Blueprints.
Heroku#
Paste the Procfile, the app.json, or both.
- Each process type becomes a service:
weba web service, the others background workers.releasebecomes the pre-deploy command of the web service, which, as on Heroku, runs before each deploy and stops the deploy if it fails. - app.json's
formationgives each process its number of instances and its instance type (a dyno size becomes the smallest instance type with at least its memory). A process with a quantity of 0 is left out. - app.json's
envbecomes the variables of every process: plain values in an environment group that each service includes, so that a value made with"generator": "secret"is the same for all of them; values that look like secrets and required variables without a value are entered in the dashboard; optional ones without a value are left out. - The
heroku-postgresqladd-on becomes a database andDATABASE_URL(or the variable itsasnames) points at it. Redis add-ons (heroku-redis,rediscloudand others) become a Key Value. Heroku Scheduler's jobs are set in Heroku's dashboard, not in the file: add each as a cron job. Other add-ons have no equivalent: sign up with the provider and enter the variables it set. - Buildpacks: Kilby has none. It builds Node.js, Python and Go apps by itself and anything else from a Dockerfile, so a Ruby, PHP or Java app needs a Dockerfile in the repository (Rails 7.1 and later generate one). The last buildpack of app.json says the app's language, as on Heroku.
- Not carried: config vars set with
heroku config:set(they are not in the files:heroku configlists them),scripts.postdeploy(run it once yourself after the first deploy), review apps and Heroku CI settings.
Railway#
Paste railway.json or railway.toml (config as code). A Railway file describes one service.
build.builderDOCKERFILEanddockerfilePathbuild the Dockerfile; other builders (Nixpacks, Railpack) leave it to Kilby's detection.buildCommand,startCommandandpreDeployCommandcarry over, andhealthcheckPathbecomes the health check.numReplicas(or the replicas of every region ofmultiRegionConfig) becomes the number of instances, andcronSchedulemakes a cron job.requiredMountPathbecomes a disk at that path, of the smallest size: setsizeGbto what your data needs.- The service is a web service: whether it has a public domain is set in Railway's dashboard, so change its type if it serves no traffic.
- Not in the file, so not carried: variables, databases and domains, which live in Railway's dashboard. Copy the variables from the service's Variables tab, add each database to the blueprint and copy its data with Import data.
sleepApplicationand regions have no equivalent: every Kilby service runs all the time, in one region. Overrides underenvironmentsare not applied.
Fly.io#
Paste fly.toml.
- Each process group of
[processes]becomes a service. The one[http_service](or a[[services]]with anhttphandler) serves is a web service on itsinternal_port, with its HTTP check as the health check; a[[services]]with TCP handlers only becomes a private service; the others are workers. [build]imageruns that image; otherwise Kilby builds the Dockerfile (dockerfile), and[build.args]become build variables. Buildpack builders are left to Kilby's detection.[deploy]release_commandbecomes the pre-deploy command of the web service, with its timeout.[env]becomes the variables,[[vm]]the instance type, and[mounts]a disk atdestinationwith itsinitial_size, on the process groups it names.- Not carried: secrets set with
fly secrets(they are not in the file:fly secrets listshows their names), a Fly Postgres attached withfly postgres attach(add a database and import its data),auto_stop_machines(Kilby does not stop idle services),[[statics]],[metrics],[[files]], swap, and regions.
DigitalOcean App Platform#
Paste the app spec: .do/app.yaml, the output of doctl apps spec get, or a deploy template.
servicesbecome web services, or private services when they have onlyinternal_portsand no route;workersbecome workers;static_sitesbecome static sites; a job withkind: PRE_DEPLOYbecomes the pre-deploy command of the service built from the same code, and a job with aschedulea cron job.github,gitlabandgitgive the repository and the branch;imagegives the image (one in DigitalOcean's registry needs registry credentials saved in the workspace).source_dir,dockerfile_path,build_command,run_command,http_port,health_check,instance_count,instance_size_slugandautoscalingcarry over.databaseswithengine: PGbecome databases; Redis and Valkey ones Key Value. Bindable variables become references:${db.DATABASE_URL},HOSTNAME,PORT,USERNAME,PASSWORDandDATABASEof a database, and${api.PRIVATE_URL}andPRIVATE_DOMAINof a component.${APP_URL}and public URLs are not known before the first deploy, so you enter them.domainsgo on the web service that serves/. Not carried: routing different paths of one domain to different components (each web service gets its own address),POST_DEPLOYandFAILED_DEPLOYjobs, functions, MySQL, MongoDB, Kafka and OpenSearch databases, alerts, and encrypted secrets, which you enter again.
Docker Compose#
Paste the docker-compose.yml (or compose.yaml) you run in production; docker compose config --no-interpolate prints it with its overrides merged and without the values of your .env file.
- A service with
portsbecomes a web service on its container port, unless the port is bound to the host's loopback address (127.0.0.1,::1) or the image is a database, cache, search engine, vector database, model server, queue or admin tool: those are private services. One with onlyexpose(or that other services call by name) is a private service, the rest workers. A service Traefik routes to (itstraefik.http.routerslabels) becomes a web service with those domains, or a private one when a middleware asks for a login or allows only some addresses. buildbuilds the repository (itscontextbecomes the folder, itsdockerfilethe Dockerfile, itsargsbuild variables);imageruns the image.commandandentrypointbecome the start command,deploy.replicasthe instances, its memory and CPU limits the instance type, and an HTTPhealthcheckagainst localhost the health check.- A
postgrescontainer becomes a database, and aredisorvalkeyone a Key Value. A one-off container that runs migrations before the app starts (depends_onwithservice_completed_successfully, or a migration command) becomes the app's pre-deploy command. - The first named volume of a service becomes its disk, of the smallest size unless you change it (Compose does not say a volume's size); a MySQL, MongoDB or PostGIS container without one gets a disk where its image keeps its data. Bind mounts (folders of your machine), the Docker socket,
env_fileandsecretsfiles are never read: copy what they hold into the image or the dashboard. - On Kilby the start command replaces the image's entrypoint as well as its command, so for official images that start through
docker-entrypoint.shthe start command begins with it. Services underprofilesare left out, and so are reverse proxies and tools that drive Docker itself (Traefik, nginx-proxy, Watchtower): every web service gets its own HTTPS address.
Kubernetes#
Paste the manifests, separated by --- (or a List). Render Helm charts first with helm template and kustomizations with kubectl kustomize.
- A Deployment, StatefulSet or ReplicaSet becomes a service running its container: a web service when an Ingress or a
LoadBalancerService reaches it, a private service when a Service selects it (or when the Ingress asks for authentication or an allowlist, or the load balancer is internal or allows only some addresses), a worker otherwise. Its port is the Service's target port, its health check the readiness probe's HTTP path, its instance type comes from the memory and CPU of its resources, and its instances fromreplicasor a HorizontalPodAutoscaler on CPU. - A CronJob becomes a cron job (Kilby's schedules are in UTC). A migration in an init container or a Job that runs the same image becomes the pre-deploy command.
envvalues carry over; values from a ConfigMap in the manifests are filled in; values from Secrets are never imported, only their names. A persistent volume becomes a disk with its claim's size, and Ingress hosts become custom domains.- A Postgres StatefulSet becomes a database. Not carried: sidecar containers (only the main container runs), DaemonSets, values from
fieldRef, node selectors and affinity, privileged containers, path-based routing to several services, and objects Kilby manages itself (namespaces, RBAC, network policies, certificates).
Vercel#
There is no converter: vercel.json describes routing and functions. The guide in the dashboard (Migrate to Kilby, Vercel) walks through it. In short:
- A static site (Vite, Create React App, Astro, Next.js with
output: 'export') becomes a static site built from the repository: its build command and output folder. - A Next.js or other server-rendered app becomes a web service that runs
next start(or the framework's server) all the time. API routes, Server Actions and middleware run inside it;next startreadsPORT, which Kilby sets. - Environment variables are entered again (
vercel env pullwrites them to a file you can read); the ones the build reads are marked Build. Cron jobs become cron jobs. Domains move to the service's Domains tab. - No equivalent: Serverless and Edge Functions outside Next.js, the edge network (your services run in Kilby's region), redirects in
vercel.json(put them innext.config.js), Blob storage and Analytics.
Netlify#
There is no converter: netlify.toml describes builds, redirects and functions. The guide in the dashboard walks through it. In short:
A static site becomes a static site with the build command and publish directory of
[build]. A single-page app getsindex.htmlfor its own routes, and an unknown path gets your404.html;_redirectsand_headersare not read.A server-rendered app becomes a web service that runs the framework's server (Node adapters for SvelteKit and Astro instead of Netlify's).
No equivalent: Netlify Functions and Edge Functions (serve those routes from a web service), Forms, Identity and Split Testing. Scheduled Functions become cron jobs.
Related#
- Blueprints: the file a conversion writes, and the plan.
- Databases: Import data from another Postgres.
- Deploy from Git: what Kilby builds from a repository, and how it reads Render's and Heroku's files.
- Environment variables and secrets: entering the values a conversion leaves to you.