For Teachers and Admins
If Databricks resources have been configured in your Vocareum Organization, you can create individual Databricks learning environments for students.
Alternatively, for access to Databricks-provided labs or guided learning resources, you may also reach out to Databricks Academy.
Prerequisites
Before creating a Databricks assignment, an Admin must configure the appropriate supporting resources in your Organization. Refer to Setting Up Databricks Resources for more information.
Creating a Databricks Assignment
From your course page, select "Edit Assignments" and "New Assignment" below.
Enter the assignment name and select "Save and continue".
Next create a part for the new assignment. Selecting "+" under Parts.
Give the part a name and hit "Save Part".
Configure Workspace and File System
Now that your Databricks assignment is created, select Configure Workspace to launch the "Teacher View".
On the left side of the IDE is the file tree.
Refer to Navigating the Vocareum Files Browser for more information on the behavior and uses for each folder.
Scripts
Scripts can be used to prepare a user's workspace on Databricks. There are 4 types of scripts:
workspace_init.sh
run after a workspace is created
lab_setup.sh
run when a lab is started
user_setup.sh
run when a lab is started and after lab_setup.sh if it exists
lab_end.sh
run when a lab is ended
If they are created under /voc/scripts, then they will be run.
For more information, refer to Databricks Scripts.
Part Settings
Within the Assignment Part settings, you can set the maximum number of users per Databricks Workspace. By default in Vocareum, user resources within a Workspace are isolated from one another, but resource quotas and other workspace settings may be shared.
You can also set "End lab behavior" to one of two options:
stop resources: At the end of each session, stop any running resources created by the user, but preserve all data so the user can start again from the same point in their next session
terminate resources: At the end of each session, terminate all resources the user created in this lab. If they start a new session later, the environment will have reverted to its original state.
Admin Access to Databricks
Org admins and instructors can enter the Databricks workspace as an admin by clicking on the workspace URL in the workspaces table on the Databricks Workspaces page.
As an org admin:
Databricks Workspace link on the home page
As an instructor:
Databricks Workspace link under the Dashboard dropdown








