*HTRC Data Capsule is funded in part by a grant from the Alfred P. Sloan Foundation. Here we introduce HTRC Capsule v1.0 and its use for non-consumptive Analysis of HathiTrust repository.
...
This document is a starting point for users a user interested in downloading extracted feature the json-format Extracted Features (EF) data files corresponding to the specific HathiTrust Digital Library volumes that constitute their the user's custom workset (that they have the user has built with the HTRC Workset Builder).
that with our non consumptive virtual machine (VM). A non consumptive VM has two modes, i.e., maintenance mode and secure mode. In maintenance mode, user is allowed to access network freely except for HTRC corpus repository and install whatever software she wants. In secure mode, network access is restricted. Users are only allowed to access a few network addresses e.g., HTRC corpus repository. In addition, any changes user makes to the OS in secure mode will not be persisted. To save data, user needs to write to a specified storage called secure volume. The secure volume is invisible in maintenance mode.
We provide a user friendly web interface that users can interact with to manipulate VM running on our back end infrastructure. User can have following VM operations:
Create a VM. A virtual machine is created but its power is off.
Start a VM. The virtual machine starts up to maintenance mode.
Stop a VM. The virtual machine shutdowns.
Delete a VM. The virtual machine is deleted. Everything relative to this virtual machine is gone.
Switch a VM from maintenance mode to secure mode or vice versa.
Query VM status.
Once a VM is started, users can log into VM through a VNC client. To run analysis against HTRC OCR repository, users need to switch the VM to secure mode. Below is a typical workflow a new user may follow.
Create a new VM;
Start the new VM;
Log into the VM;
Configure the software environment as needed. Upload the analysis program to the VM;
Switch VM to secure mode through web interface;
Run the analysis program against HTRC corpus repository;
Switch VM back to maintenance mode to regain normal network access.
...
We will show, step by step, how you can create a workset consisting (for the sake of simplicity) of a single volume from the HathiTrust Digital Library's public domain collection, a published-in-1920
2. Create a custom workset
This section covers all the operations you can make to the virtual machine. You are required to log in to the HTRC portal before you can perform these operations.
...
By default, VM starts in maintenance mode where you can have network access. To switch to secure mode, you can hit the “Switch to Security” button. Once you perform the mode switch, within the VNC session, your screen is frozen in a short time. After that, you can resume your work. To switch from secure mode to maintenance mode, make sure you eject/unmount the secure volume before switching out of secure mode to ensure that any changes made to the secure volume are made permanent.
In the portal, go to "HTRC Data Capsule -> Show Virtual Machines" for the page for switching between modes. In the maintenance mode, click on the "Switch To Secure Mode" button in the portal to switch to the secure mode.
In the secure mode, click on the "Switch To Maintenance Mode" button in the portal to switch to the secure mode.
2.6 Stop a Virtual Machine
...