Skip to content

Rok Snapshot Restoration

Rok snapshots provide the ability to version entire environments much in the same way that you can version code with Git. Rok snapshots enable you to iterate on your environment as you transform datasets, develop models, and develop other aspects of an ML workflow. The pipeline is always reproducible, thanks to the immutable snapshots, and you do not have to build new Docker images for each pipeline run.

Rok Group Snapshot URL

Rok enables restoring group snapshots in their entirety on new Notebook Servers. This enables you to recreate a complete environment exactly the way it was at any point in time. To do this you need to copy the URL from the Rok Snapshot.

rok bucket url

With the URL copied you can provide the Rok Group Snapshot as reference when creating a new Notebook Server. If the URL is accepted you will see a notification as shown in the image below:

rok bucket url load

Rok Volume Snapshot URL

Rok permits loading specific workspace or data volumes snapshots during creation of the Notebook Server. As with the entire group snapshot each of the volumes snapshots (workspace and data) has a specific URL with the workspace volume always first in the list of snapshot volumes.

rok volume url

You can then specify this URL for either workspace or data volume snapshot by selecting Existing and specifying the URL when creating the Notebook Server and adding volumes to it.

rok volume url notebook

Rok Pipeline Step Snapshot URL

Rok also permits loading the group snapshot taken before or after the execution of pipeline steps into a Notebook Server to recreate the captured execution state. The snapshot and the associated URL can be accessed from the “snapshot in the Rok UI” link under the Visualizations option in the Kubeflow UI.

step snapshot link

Once the group snapshot is open you can copy the URL by selecting the copy icon.

step rok snapshot url