Creating a snapshot typically takes 2-3 minutes to complete.
Creating a Snapshot
You can create a snapshot from any stopped instance using either the Thunder Compute Console or the CLI.Using the Console
- Navigate to the Thunder Compute Console.
- Find the instance you want to snapshot. The instance must be in a
STOPPED
state. - Check the box next to the instance, and click the “Snapshot” button in the action bar.
Using the CLI
To create a snapshot with the CLI, use thetnr snapshot
command:
<instance_ID>
: The ID of the instance to snapshot. The instance must be stopped. You can find the instance ID by runningtnr status
.<snapshot_name>
: A unique name for your snapshot.- Must contain only lowercase letters (a-z), numbers (0-9), and hyphens (-).
- Must be between 1 and 62 characters long.
Creating an Instance from a Snapshot
Once you’ve created a snapshot, you can use it to launch new instances.Using the Console
- Navigate to the “Snapshots” tab in the Thunder Compute Console.
- Find the snapshot you want to use.
- Click the “Create Instance” button.
- Configure your new instance as desired. The new instance’s disk size must be equal to or greater than the snapshot’s disk size.
Using the CLI
You can use a snapshot as a template when creating a new instance with thetnr create
command. The snapshot defines the initial disk content and size.
The new instance’s disk size must be equal to or greater than the original instance’s disk size. Decreasing the disk size is not supported.
Managing Snapshots
You can list and delete your snapshots using the CLI.List Snapshots
To see all your available snapshots and their details, including their compressed size:Delete a Snapshot
To delete a snapshot by name:This action permanently deletes the snapshot. It does not affect any instances that were created from this snapshot.