skypilot-users

Is there a way to share skypilot state between two machines?

Can skypilot state be shared between machines for remote access?

Ch

Chris Bamford

Asked on Nov 07, 2023

Currently, sharing skypilot state between machines is not supported natively. However, you can achieve this by syncing the ~/.sky and ~/.ssh/{config,sky-key,sky-key.pub} files across machines using Google Drive, Dropbox, or similar services. This should allow you to SSH into the cpunode from different locations. If you have different $HOME paths on the machines, you may need to update the IdentityFile path in ~/.ssh/config after copying it to the destination machine. Alternatively, you can explore using a solution like Terraform, which uploads the state to an S3 bucket and syncs it for remote access.

Dec 19, 2023Edited by