my-appengineer Go to my-app.engineer
4:42
Next in Your workspace

Move your own cluster

Watch next

Move a VPS into your workspace

4:25Your workspace

A real shop with its database and files moves from a rented VPS into a private workspace, without downtime.

Transcript490 words

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.

Subtitle file: ws-move-vps.vtt