Quick Wins
- Keep your instance disk lean: Remove large, transient files before snapshotting.
- Exclude non-essential data: Use
.thunderignoreto skip caches, build outputs, and generated assets.
.thunderignore Files for Exclusion
Often, you may want to exclude certain heavy files, cache directories, or generated files from a snapshot. You can do this using a.thunderignore file. This will help speed up snapshot creation and restoration.
- Create a
.thunderignorefile in the/directory of your instance. - Add all paths you would like to ignore (absolute paths or relative to
/). Patterns are supported - the syntax for these is the same asfilepath.Matchin Go. Patterns are matched against paths, not just basenames, so use/to anchor from the root (for example,/data/*.parquet).*and?are supported;**is not special and is treated literally. Blank lines are ignored, and lines starting with#are treated as comments. - Create your snapshot. The
.thunderignorefile is included in the snapshot so your exclusions persist on restore.
Make sure you don’t exclude anything required to run your workloads after restore, such as model weights or datasets you actually need.
.thunderignore: