sf nodes, this guide helps you migrate to sf instances.
Install the new CLI
sf nodes) to sf-old. You can manage your legacy nodes
by running sf-old nodes.
Log in
sf me
prints the ID of the account you signed in with.
Migrate your nodes
Migrate all running and pending nodes with a single command. Running nodes will not stop during the process.<node-name>-pool.
Use your migrated instances
SSH into an instance.Extend a reservation
Just like withsf-old nodes, instances shut down when their reservation ends. You can check when
an instance will shut down.
Create new instances
To launch a new instance (the equivalent ofsf-old nodes create --reserved), create a pool,
buy compute time into it, and then create an instance.
Why separate pools?
You can run multiple instances in one pool, but we recommend separate pools for the use casesf nodes was built for.
Actions in a pool can affect all instances running in it. Imagine Alice and Bob both have a dev
instance in the same pool. If Alice sells back the remaining time
on her instance, it reduces the pool’s allocation to 1. At that point, one of their instances
gets terminated - and without careful coordination, it might be the wrong one.
Separate pools avoid this problem entirely.