# Coming from Zeabur

> What works the same way as on Zeabur, what is different, and how to move your services, yourself or with a coding agent.

Used Zeabur and now want your services on your own server? Zeabur stops running on December 31, 2026. This page tells you what works the same way in Zeabur OSS, what you look after yourself, and how to move your services over.

**Projects, services, domains, variables and templates work the same as on Zeabur; the difference is that they run on your own server, which you look after**

- **Works the same**: Projects, services, domains, variables and templates
- →
- - **Zeabur**: Runs on Zeabur's servers. Zeabur looks after it.
  - **Zeabur OSS**: Runs on your own server. You look after it.

## What works the same way

| What you do on Zeabur | How to do it in Zeabur OSS |
| - | - |
| Create a project to group related services | [Create and manage projects](https://oss.zeabur.com/docs/zeabur/configure/projects) |
| Deploy from a Git repository | [Build and deploy a service from Git](https://oss.zeabur.com/docs/zeabur/deploy/git) |
| Deploy a Docker image | [Deploy a container image](https://oss.zeabur.com/docs/zeabur/deploy/image) |
| Import Docker Compose | [Import Docker Compose services](https://oss.zeabur.com/docs/zeabur/deploy/compose) |
| Upload a folder and deploy it | [Upload a folder and deploy a service](https://oss.zeabur.com/docs/zeabur/deploy/upload) |
| Deploy a template in one click | [Deploy from an application template](https://oss.zeabur.com/docs/zeabur/deploy/templates) |
| Create a database | [Create, back up, and restore databases](https://oss.zeabur.com/docs/zeabur/deploy/databases) |
| Add a domain to a service | [Add public domains and HTTPS](https://oss.zeabur.com/docs/zeabur/configure/domains) |
| Set environment variables | [Configure environment variables](https://oss.zeabur.com/docs/zeabur/configure/variables) |
| Read logs, restart, go back to the previous version | [View logs, events, and usage](https://oss.zeabur.com/docs/zeabur/configure/logs-terminal), [Restart, roll back, and pause services](https://oss.zeabur.com/docs/zeabur/configure/restart-rollback) |

For the Zeabur Catalog template that matches each popular Zeabur template, see [Templates from Zeabur](https://oss.zeabur.com/docs/catalog/get-started/zeabur-com-templates).

## What is different

- **The server is yours.** Zeabur OSS runs on your own server. You decide where your services run and how big the server is.
- **You pay the server provider.** Zeabur OSS is open-source software. It doesn't charge you and has no usage billing. You pay only for the server, to the cloud provider or data center you chose.
- **You look after it.** You or your team [upgrade Zeabur OSS](https://oss.zeabur.com/docs/zeabur/upgrade/steps), [back up the cluster](https://oss.zeabur.com/docs/zeabur/cluster/backups), and maintain the server.
- **You invite the members.** Each person signs in with their own passkey and can use only the projects you give them. See [Invite members and assign project permissions](https://oss.zeabur.com/docs/zeabur/cluster/members).
- **Projects don't move over by themselves.** Each service, its variables, and its data move once, by a coding agent or by you. See [Where to start](https://oss.zeabur.com/docs/zeabur/get-started/from-zeabur-com#where-to-start).

## Where to start

To move your Zeabur services, [hand the move to a coding agent](https://oss.zeabur.com/docs/zeabur/get-started/from-zeabur-com#hand-the-move-to-a-coding-agent), or [move step by step](https://oss.zeabur.com/docs/zeabur/get-started/from-zeabur-com#move-step-by-step) yourself. Both ways get a new server, set up Kubernetes and Zeabur OSS on it, then move the services. Kubernetes is open-source software that runs containers on one or more servers.

To try Zeabur OSS first without moving anything, pick an install path in [Get started](https://oss.zeabur.com/docs/zeabur).

## Hand the move to a coding agent

A coding agent such as Claude Code or Codex can get a server, install Zeabur OSS, and move your services over. It asks you before anything that costs money or changes something.

### Paste this sentence

Paste this into Claude Code or Codex:

```text
Read https://oss.zeabur.com/docs/zeabur/get-started/from-zeabur-com.md and move my services off Zeabur onto my own server, managed by Zeabur OSS.
```

The address points to [the Markdown copy of this page](https://oss.zeabur.com/docs/zeabur/get-started/from-zeabur-com.md). Run the agent on your own computer. The computer needs to reach the new server over SSH and to sign in to the Zeabur CLI.

### What the agent does

1. Lists the projects, services, variables, databases and domains on Zeabur, and exports the data.
2. Suggests a server, with the plan, region and monthly price.
3. Sets up Kubernetes on the new server with Zeatend, then installs Zeabur OSS with one `helm install`.
4. Creates each service again in Zeabur OSS, restores the databases and volumes, and tests each service at an `sslip.io` address.
5. When you agree, switches over: stops the services on Zeabur and syncs the data one last time. Then you change DNS.
6. Gives you Zeabur OSS's address, and how to deploy and back up from then on.

### What you do yourself

The agent stops at these steps and waits for you:

- Confirm the server's plan and price, and pay on the provider's own page.
- Before each write to the new cluster, look at what changes and agree.
- Open the admin link and create a passkey on your own device. Only you can create it; the agent doesn't open the link.
- Agree on when to switch over, and change your domain's DNS records.
- Delete the services on Zeabur, once you're sure you no longer need them.

Until you delete them or your Zeabur plan ends, the old services are still there, and you can switch back.

## Move step by step

A coding agent follows these steps, and you can follow them too. When you move by hand, skip the places where the steps ask the user.

### Rules for the agent

Read this page again at the start of each session; it changes with new versions. Talk to the user in their language.

- First read the Zeabur guide at <https://zeabur.com/blogs/migrate-from-zeabur.md> and follow its rules, inventory, data export and cutover. This page replaces its "Choosing a destination" and any step that asks the user to create the destination: the destination is always a server that runs Zeabur OSS, and you set it up.
- Never print secrets. Keep variables, exported settings and database dumps in files with mode `600`. At handover, delete the working copies, keep the backups the user wants, and tell them where those are.
- Ask the user, and wait for a clear yes, before you buy a server, before each write to the new cluster, before the cutover, and before you delete anything on Zeabur. The user changes DNS themselves.
- Never open, forward or use the admin setup link. Only hand it to the user.
- Don't change the services on Zeabur before the cutover.
- When these docs don't match what you see, trust what you see and tell the user.

### Before you start

Ask the user these before the inventory, in one message:

- **SSH access.** A server that Zeabur manages for the user can have no stored SSH credential, and then `server exec` fails. Ask for the address, the user name and a key or password for each such server.
- **Which services to move.** Include the suspended and stopped services, and ask for each one whether to move it. Create a stopped service in Zeabur OSS with 0 replicas, so it exists and doesn't run.
- **Sizes you can't read.** If you can't read a service's memory use, for example because it is stopped, start with the Medium size. After the first run, read the real use with `kubectl top pod` and set the size from it.

### Known limits

- **The running digest.** The Zeabur CLI doesn't show the digest of the image that runs. Resolve the tag to a digest with `docker buildx imagetools inspect <image>:<tag>`, pin that digest, and tell the user it is the digest the tag has now.
- **Builds need Keel.** Deploy from Git and Upload a folder both need Zeabur Builder and Keel. Install both before you create either kind of service.
- **Memory.** A service made from an image gets the Small size by default, so its memory maximum is 256 MiB. A service that used more on Zeabur is stopped with `OOMKilled`. Set each service's memory maximum from the use you recorded, with some room, in `resources.limits.memory` of its YAML. To raise it later, use **Settings** → **Compute**, as [Service settings](https://oss.zeabur.com/docs/zeabur/configure/service-settings) shows.
- **Prompts.** `variable list` and `domain list` ask which project to use. Pass `-i=false` and name the project and service with flags, so they don't wait for an answer.
- **Output size.** `service exec` returns at most 3 MB. Write a dump to a file inside the service and read it in pieces smaller than 3 MB, or connect to the database from outside.
- **SQLite.** Don't copy a SQLite file that an application has open. Make a logical copy with `sqlite3 app.db .dump > app.sql`, and restore it with `sqlite3 new.db < app.sql`.

### 1. Take stock of Zeabur

Follow "Before you start", "Inventory", "Container images", "Variables" and "Data" in the Zeabur guide. Ask the user for their own expiry date and plan around it, not around December 31.

Make a list with one row for each service in each environment:

- The source: a Git repository and branch, an image, a template, or a database's engine and version.
- The expanded variables, and the `.zeabur.internal` addresses that point at other services.
- Each volume's mount path and size.
- The `*.zeabur.app` domains and custom domains.
- The memory and disk the service uses now.

### 2. Get the server

Always use a new server. Keep the old one: until the cutover is done, it is the way back. If the user already has an empty server, use that one.

The server needs:

- Linux with systemd, on x86-64 or ARM64.
- A public IP address, with ports 80 and 443 open to the internet. Let's Encrypt connects on port 80 to check the addresses.
- Memory for what the services use on Zeabur, plus about 1900 MiB for K3s, and room for Zeabur OSS and its components. At least 30 GiB of free disk, plus the size of the data you move, with room to spare.

Create the server only through the provider's own MCP server or CLI, such as Hetzner (`hcloud`), DigitalOcean (`doctl`), Vultr (`vultr-cli`), Alibaba Cloud (`aliyun`) or Tencent Cloud (`tccli`). The user sets up the account and payment method on the provider's own site. Billing starts when you create the server, so first show the plan, region and monthly price, and wait for the user to agree.

When you create the server, add an SSH public key that the user agrees to, such as the migration key from "Server access" in the Zeabur guide.

### 3. Set up Kubernetes with Zeatend

On the server, get Zeatend, Helm 4 and `zeabur-identityctl`, as "Before you begin" in [Install with Zeatend](https://oss.zeabur.com/docs/zeabur/install/one-command) lists. Then write `/etc/zeatend/config.yaml` as "Choose the domain" and "Set up Kubernetes with Zeatend" on that page show. Keep `distribution: k3s`, and use `<IP>.sslip.io` as the domain.

In place of the `zeatend plan` and `zeatend apply` on that page, make a plan and show it to the user first:

```sh
sudo zeatend plan --json > plan.json
```

Tell the user the distribution, release, node name and every warning. When they agree, apply the same plan:

```sh
sudo zeatend apply --plan plan.json
```

If `apply` refuses the plan because the server changed after it was made, make a new plan and ask again.

### 4. Install Zeabur OSS with one helm install

First run the "Let the cluster trust sign-in" step in [Install with Zeatend](https://oss.zeabur.com/docs/zeabur/install/one-command), so the cluster accepts sign-in tokens. Its last command is a second `zeatend apply`, so show the user that plan too, as in step 3. Then run the `helm install` as "Install Zeabur OSS" in [Install with Zeatend](https://oss.zeabur.com/docs/zeabur/install/one-command) shows. When it finishes, it prints the link that creates the first admin account. The link works once and expires in 24 hours.

Hand the link to the user. Ask them to open it, create a passkey, and sign in with it at `https://zeabur.<IP>.sslip.io`. Wait until they say they are signed in.

Work on the cluster with `sudo k3s kubectl` on the server. Don't copy the admin kubeconfig to another computer.

### 5. Install the components the services need

Choose the components from the inventory:

| On Zeabur | Component |
| - | - |
| Services built from Git, or from an uploaded folder | `zeabur-builder`, `keel` |
| PostgreSQL | `cloudnative-pg` |
| MySQL | `moco` |
| MariaDB | `mariadb-operator` |
| MongoDB | `percona-mongodb` |
| Redis | `dragonfly-operator`. Check that the app works with Dragonfly; if not, run Redis as an image service |
| Backups of volumes or databases | `velero`, `k8up` |

The user can install them on Zeabur OSS's **Cluster** → **Components** page, which lists the changes first. To install them yourself, print the manifests on your computer with [`zeaburctl components export`](https://oss.zeabur.com/docs/zeabur/reference/zeaburctl#components-export) and copy the file to the server. Show the diff to the user, and apply it once the user agrees:

```sh
zeaburctl components export cloudnative-pg zeabur-builder keel > components.yaml
sudo k3s kubectl diff --server-side -f components.yaml
sudo k3s kubectl apply --server-side -f components.yaml
```

Wait until the components' pods are running before you go on.

### 6. Create the projects and services again

Each Zeabur environment becomes one Zeabur OSS project. Production keeps the project's name; other environments are `<project>-<environment>`.

Write each service as YAML, using the table below. The section "Do the same with kubectl" on each linked page shows how to write each object:

| Zeabur | Zeabur OSS |
| - | - |
| Project | A namespace with the `zeabur.com/project: "true"` label. See [Create and manage projects](https://oss.zeabur.com/docs/zeabur/configure/projects) |
| Service built from Git by zbpack | A Build of the same repository: `dockerfile` when it has a Dockerfile, otherwise `railpack`. Carry over the root directory, commands and runtime versions from "Build" in the Zeabur guide. See [Build and deploy a service from Git](https://oss.zeabur.com/docs/zeabur/deploy/git). An exported image is only a stopgap |
| Prebuilt image or template service | The same image, pinned by digest as in [Known limits](https://oss.zeabur.com/docs/zeabur/get-started/from-zeabur-com#known-limits). See [Deploy a container image](https://oss.zeabur.com/docs/zeabur/deploy/image) |
| Database template | A Zeabur OSS database. See [Create, back up, and restore databases](https://oss.zeabur.com/docs/zeabur/deploy/databases) |
| Expanded variables, `.zeabur.internal` addresses | The expanded values from "Variables" in the Zeabur guide, with internal addresses changed to Zeabur OSS service names. See [Configure environment variables](https://oss.zeabur.com/docs/zeabur/configure/variables) |
| Volume | A new disk. See [Store files and back up volumes](https://oss.zeabur.com/docs/zeabur/configure/volumes) |
| `*.zeabur.app` | `<service>-<project>.<IP>.sslip.io` |
| Custom domain | A domain with an HTTP-01 certificate, added at the cutover. See [Add public domains and HTTPS](https://oss.zeabur.com/docs/zeabur/configure/domains) |
| Daily backup | Zeabur OSS backups. See [Back up a cluster and restore from a backup](https://oss.zeabur.com/docs/zeabur/cluster/backups) |
| Team members | Zeabur Identity invitation links. See [Invite members and assign project permissions](https://oss.zeabur.com/docs/zeabur/cluster/members) |

Create the project's namespace before the other objects. Before each write, show the user the diff, and apply only after they agree:

```sh
sudo k3s kubectl diff --server-side -f shop/
sudo k3s kubectl apply --server-side -f shop/
```

Put secret values in Secrets, not in ConfigMaps or a Deployment's `env`.

### 7. Restore the data and test

- Databases: create the Zeabur OSS database with the same engine and major version as on Zeabur. When it is ready, restore it with the tools of the same major version you exported with, such as `pg_restore`. See "Connect from outside the cluster" on the databases page for how to connect.
- Volumes: copy the exported files to the server. Start a temporary pod named `copy-data` from a small image such as `busybox`, with the new disk mounted at `/data`, and wait until it is ready. Stream the files into it with tar, then delete the pod.

  ```sh
  tar czf - -C /path/to/old/data . | sudo k3s kubectl -n shop exec -i copy-data -- tar xzf - -C /data
  ```

Test each service: open the web services at their `sslip.io` addresses and go through the main tasks, and check that workers and databases run and connect. Then ask the user to check too. Don't start the cutover until the services work.

### 8. Switch over

Follow "Cutover and rollback" in the Zeabur guide, and stop at these points:

1. Ask the user when to switch over, and wait for them to agree.
2. Stop the application services on Zeabur. Keep the databases running.
3. Stop the services in Zeabur OSS too, export the data once more, restore it in Zeabur OSS, and start the services again.
4. Add the custom domains to the services in Zeabur OSS.
5. Ask the user to point the domain's DNS records at the new server's IP address.
6. Wait for the certificates with `sudo k3s kubectl wait --for=condition=Ready certificate --all -n <project> --timeout=10m`, then open the domain.

To switch back, the user points DNS at the old records again, and you restart the services as the Zeabur guide shows. Data written to the new server after the cutover is not on Zeabur; copy it back before you switch.

### 9. Hand over

Give the user:

- Zeabur OSS's address, `https://zeabur.<IP>.sslip.io`, and each service's address.
- How to deploy a new version: [Deploy your first service](https://oss.zeabur.com/docs/zeabur/get-started/first-project).
- How to set up backups. Suggest S3 backups, with one test restore: [Back up a cluster and restore from a backup](https://oss.zeabur.com/docs/zeabur/cluster/backups).
- How to invite the team: [Invite members and assign project permissions](https://oss.zeabur.com/docs/zeabur/cluster/members).
- How to upgrade: [Upgrade Zeabur OSS](https://oss.zeabur.com/docs/zeabur/upgrade/steps).

Last, delete the secret files and working copies of database dumps you left on your computer, and any copy of an admin kubeconfig. Keep the backups the user wants. Ask the user before you remove the migration SSH key. Delete the services on Zeabur only after the user clearly agrees.
