Summary
Copy your Supra configuration files from the old instance to the new instance. These files are located in SUPRA_HOME and include:
Your Operator CLI profile and the following:
Your Node Identity files:
The TLS files for the connection between your Validator and RPC nodes:
The genesis configuration files:
The Validator configuration file:
Optionally, copy the recent history of your validator. These files may be very large and are not required for your validator to function correctly.
Create a Docker Container from the latest Supra Validator Docker Image for the environment that you are targeting (Testnet or Mainnet), on the new instance.
Sync the latest database snapshot to the new instance.
The sync process is diff-based, so performing this sync before updating the network address of your Validator and syncing again, will enable it to rejoin the network much sooner once you update the network address.
If you are using the same DNS name as the network address of your new validator.
Update the IP address of the DNS record to that of the new instance.
Stop the Validator running on the old instance.
If you are using an IP address or a new DNS name as the network address of your new validator:
Rotate the network address of your Validator using the Supra CLI. This update will be applied when the next epoch begins.
Wait for the next epoch to begin.
Stop the Validator running on the old instance.
Wait for the first state snapshot to be taken after the new epoch begins. Snapshots are taken every half hour.
Sync the latest database snapshot to the new instance.
Start the Validator on the new instance.
Last updated