AMP icon indicating copy to clipboard operation
AMP copied to clipboard

Instance Migrator

Open mrickl opened this issue 5 years ago • 6 comments

If amp works as a controller or hybrid with multiple nodes the feature of an instance migrator would not be bad. This allows you to move the server to another node if you have a resource bottleneck on one node.

mrickl avatar Nov 09 '20 18:11 mrickl

This is planned.

PhonicUK avatar Nov 30 '20 15:11 PhonicUK

Bumping for visibility here, would be a good enhancement and bring the feature set alongside many other tools in the space.

southnode avatar Nov 22 '22 17:11 southnode

Realistically this should be a simple process, no?

Would require that a user have a common user on the nodes. Could have the caveat that it can only move between nodes on the same platform (Linux > Linux, Windows > Windows) Hit migrate Specify where it goes For Linux, via SCP, Windows you might have to get creative It gets moved, relevant instance.jsons get updated, ads' restarted, bing bang boom.

southnode avatar Jan 13 '23 12:01 southnode

Actually I'm planning on allowing cross-OS migrations in some situations. Linux -> Windows in Container for example.

The actual process of having AMP move instances between targets is non-trivial though in order to do it reliably. It needs to pack the data up, copy it over (via AMPs internal SFTP), verify the checksum, unpack it on the target, reconfigure it in place (the port mappings etc may be different), and verify its configuration before deleting the original.

PhonicUK avatar Jan 17 '23 10:01 PhonicUK

Is this still in the planned phase?

Revel8804 avatar Mar 12 '25 16:03 Revel8804

Yes but there's no timeline right now

PhonicUK avatar Mar 12 '25 21:03 PhonicUK