my-appengineer Dokumentacja

Przenieś istniejącą aplikację

Nie wszystko zaczyna się od promptu. Jeśli twoja firma już gdzieś działa, zakładka Przestrzeń robocza proponuje konfigurację dopasowaną do miejsca, w którym działa dziś.

Ostatnia aktualizacja: 2026-09-05

Zobacz to

Film po angielsku, z angielskimi napisami.

Move a VPS into your workspace 4:25 A real shop with its database and files moves from a rented VPS into a private workspace, without downtime.
Transkrypcja

This is Harbour Bikes, a real bike rental site. It runs on a small rented server, a VPS. Its bookings and bikes live in a Postgres database on that server. We will move all of it without taking the site down. In my-app.engineer, open your workspace and go to Setup. Choose Move something you run. Pick the card for apps on a VPS or server. It gives you one command. You run it on the server, over SSH. Here it runs on the real server. It installs the Observer, a small program that only looks. It has no AI and changes nothing. When it is done, it prints a private link to open.

Open that link, and your server draws itself in 3D. Each shape is something that runs there: the web app, the database and their storage. This panel says what the Observer may do. It only reads, it has no AI, and your data stays on the machine. Back in the platform, make a pairing code. It works once, for fifteen minutes. Type the code into the Observer. Pairing sends a list of your apps, never passwords or data. One more click lets this machine carry out the steps you approve. A restart makes it read only again. The platform now sees your server, and everything it found there. Open the migration plan. It shows what moves: the web app, its database and its uploaded files, kept together as one group. And what stays behind, with the reason for each. Choose where it goes: your private workspace. Type the address the shop keeps. Visitors use this one address the whole time. Approve the plan, and the move starts. Now it works through the steps on its own. We cut out the waiting. First the database is copied and loaded into your workspace. Then the uploaded files. The app starts in your workspace. It is sealed, so it cannot reach the outside world yet. Then it tests the copy itself. It answers, and it holds the data. Now the cutover, in four careful steps. First your address goes through the platform, which hands every visit straight back to the old server. Then shadow. Real visits are replayed on the copy and its answers are thrown away. Visitors still get the old server. Then canary. A small share of real visitors is served by the copy, then more, and every step is watched. Any trouble rolls it back on its own. Then the flip. Your workspace now serves the shop. Shutting down the original is the one step that waits for you. Nothing that big happens on its own. Open the site. At the bottom you can see it is served from your workspace now. The same thirty seven bookings came along. Book a bike, and the new booking is saved in its new home. The old server still runs, untouched. It is your way back until you retire it.

Otwórz stronę filmu
Move your own cluster 4:42 A real shop on a k3s cluster, with its database and files, moves into a private workspace without downtime.
Transkrypcja

This is Harbour Bikes, a real bike rental site. This time it runs on a small Kubernetes cluster of its own, k3s, on one rented machine. Its bookings and bikes live in Postgres, inside that cluster, with their own storage. We will move all of it without taking the site down. In my-app.engineer, open your workspace and go to Setup. Choose Move something you run. Pick the card for your own k3s or k8s cluster. It gives you the same one command. You run it where kubectl works. Here it runs on the cluster's machine. It finds the cluster and gives the Observer a view that can only look. It has no AI and changes nothing. When it is done, it prints a private link to open. Open that link, and your cluster draws itself in 3D. Each shape is something that runs there: the web app, the database and their storage. This panel says what the Observer may do. It only reads, it has no AI, and your data stays on the machine. Back in the platform, make a pairing code. It works once, for fifteen minutes. Type the code into the Observer. Pairing sends a list of your apps, never passwords or data. One more click lets this machine carry out the steps you approve. A restart makes it read only again. The platform now sees your cluster, and everything it found there. Open the migration plan. It shows what moves: the web app, its database and its uploaded files, kept together as one group. And what stays behind, with the reason for each. Choose where it goes: your private workspace. Type the address the shop keeps. Visitors use this one address the whole time. Approve the plan, and the move starts. Now it works through the steps on its own. We cut out the waiting. First the database is copied and loaded into your workspace. Then the uploaded files. The app starts in your workspace. It is sealed, so it cannot reach the outside world yet. Then it tests the copy itself. It answers, and it holds the data. Now the cutover, in four careful steps. First your address goes through the platform, which hands every visit straight back to your cluster. Then shadow. Real visits are replayed on the copy and its answers are thrown away. Visitors are still served by your cluster. Then canary. A small share of real visitors is served by the copy, then more, and every step is watched. Any trouble rolls it back on its own. Then the flip. Your workspace now serves the shop. Scaling down the original is the one step that waits for you. Nothing that big happens on its own. Open the site. At the bottom you can see it is served from your workspace now. The same fifty two bookings came along. Book a bike, and the new booking is saved in its new home. And your own cluster still runs, untouched. It is your way back until you retire it.

Otwórz stronę filmu
Use your own root domain (example.com) 1:48 Why a root domain cannot have a CNAME, and the three ways to point example.com at your app: ALIAS or ANAME, www with forwarding, or an A record, with guides for the common registrars.
Transkrypcja

Open Domain & email from the three dots on an app card Same window, same tab. Under the subdomain example, find the root domain. A root domain is the bare name, like example.com. It cannot have a CNAME, the DNS rules do not allow it. DNS is the address book of the internet. At the root, the book can only hold a server address, not another name. Option one: an ALIAS record. Some companies call it ANAME. It points the root at your app by name, and follows the app if it moves. This list shows which DNS hosts offer it. Cloudflare does. Hetzner and GoDaddy do not. Option two: use www. A CNAME on www is allowed. Connect www here, then at your registrar turn on forwarding from the root to www. Option three, the last resort: an A record with the server address. It works everywhere, but you must change it by hand if the server ever moves. Below are short guides for the common companies: TransIP, Hostinger, GoDaddy, Namecheap and Cloudflare. Namecheap: open Advanced DNS, then add a new record under Host Records. Cloudflare: add the record and switch the proxy to DNS only, the grey cloud. Otherwise the check fails. Add the record, type your domain below, press Check, then Connect. Nothing was connected in this video.

Otwórz stronę filmu

Gdzie to dziś działa?

VPS lub serwerKontenery Docker albo zwykłe usługi Linux (systemd + nginx). Rozpoznawane są oba warianty. Sparuj maszynę i otrzymaj plan migracji tego, co na niej działa.
Własny klaster k3s / k8sWarstwę sterowania utrzymujesz samodzielnie. Przenieś całość, a trafi do prywatnej przestrzeni roboczej, czyli dedykowanego klastra, którym zarządzamy za ciebie.

Trzecia ścieżka, czyli zarządzane klastry w chmurze, takie jak EKS, AKS czy GKE, nie jest jeszcze dostępna. Potrzebne elementy istnieją, ale nie zostały sprawdzone na prawdziwym zarządzanym klastrze, więc panel mówi to wprost, zamiast udawać.

Z VPS

  1. Sparuj serwer. Połącz go przez swoje prywatne połączenie Tailscale, tak samo jak przy dodawaniu maszyny.
  2. Sprawdź, co zostało znalezione. Platforma wyświetla kontenery i usługi, które widzi na maszynie.
  3. Otrzymaj plan migracji. Każda aplikacja staje się wdrożeniem w twojej przestrzeni nazw, z woluminami danych i zmiennymi środowiskowymi. Zatwierdzasz, zanim cokolwiek zostanie przeniesione.

Z pliku docker-compose

Aplikację opisaną plikiem compose, z jedną usługą lub kilkoma, można wdrożyć do twojej przestrzeni nazw bez zmian. Usługi stają się obiektami Deployment, wystawione porty obiektami Service i Ingress, a woluminy trwałymi woluminami. Frontendy, które wymagają kompilacji, są budowane wewnątrz twojej przestrzeni roboczej.

Własne domeny

Każda aplikacja odpowiada pod adresem <app>.<your-username>.my-app.engineer. Aby użyć własnej domeny:

  1. Dodaj rekord CNAME u swojego dostawcy DNS, kierując nazwę hosta na cel podany w oknie domeny aplikacji (działa też rekord A wskazujący podany adres).
  2. Połącz domenę w oknie domeny aplikacji w panelu.
  3. Odczekaj około minuty. Certyfikat TLS zostanie wystawiony automatycznie, a domena zacznie działać przez HTTPS.

Samodzielna obsługa nazw hostów

Jeśli wolisz w ogóle nie zależeć od platformy na brzegu sieci, zainstaluj w swojej przestrzeni roboczej narzędzia Ingress (Traefik) i cert-manager i terminuj TLS u siebie. Zobacz Narzędzia przestrzeni roboczej.

← Narzędzia przestrzeni roboczejPlany i rozliczenia →