How do I regain access to a UAB cloud.rc instance if I lost the private key?

If I’m using a UAB cloud.rc instance and I’ve lost the private key, what can I do to regain access? Failing that, how can I recover?

If you’ve lost the only copy of your private key for accessing a cloud.rc virtual machine (VM), there are a few options depending on circumstances. If you haven’t created additional keypairs within that instance’s ssh-agent, then it isn’t possible to regain access to that specific instance. However it should be possible to recover, possibly with loss of data.

Is your instance volume backed (the default behavior)?

  • No, not volume backed: Then your instance is stateless and can be simply be deleted and restarted.
  • Yes, volume backed: Will your volume be deleted when the instance is deleted (not default behavior)?