- Access larger CPU and memory footprints
- Leverage compute resources more efficiently
- Control access to data in a centralized manner
- Ensure the R package / Python library versions used are standardized
- R-Studio Workbench provides Enterprise-ready tools like authentication, high-availability and load balancing, multiple versions of R, multiple R sessions per user, security features, and more.
Computing servers that are available to MEDS students
MEDS students have access to two computing servers that have been configured for MEDS coursework:
-
- workbench-1.bren.ucsb.edu (this server will primarily be used for coursework)
- workbench-2.bren.ucsb.edu (this server will be used for capstone work)
The process of connecting to these servers is the same. Below you will find directions for connecting to workbench-1, however you can apply the same concept to connecting to workbench-2.
How to access IDE for workbench-1.bren.ucsb.edu
- Connect to campus VPN.
- Navigate to https://workbench-1.bren.ucsb.edu
- Log in with Bren credentials.
- You can start an RStudio, JupyterLab or Jupyter Notebooks session by selecting "New Session"
- Select whichever IDE you'd like to use to launch a session. You can have as many sessions running as you need.
_
How to transfer files using a file manager (like Finder, File Explorer, etc) for workbench-1.bren.ucsb.edu
- Download CyberDuck (sftp client).
- Connect to campus VPN.
- Open up CyberDuck
- Select "Open Connection"
- Choose "SFTP (SSH File Transfer Protocol)" and input the following: Note: Use your Bren credentials for username/password.
- Once you're signed in, you can drag and drop files or use the "Actions" button for more options.
- To navigate to /courses/ folder, select root directory from drop-down menu then courses:
- Connect to campus VPN.
- Open up Terminal (mac) or GitBash (windows)
- Run the following command: ssh {username}@workbench-1.bren.ucsb.edu
- Type in your Bren password
- You'll know if you connected successfully if the last line says "{username}@workbench-1" like the picture below.
General structure
The directories on the servers that students will mostly use are the /Users/, /courses/, and /capstone/ folders.
- /Users/{username} is a private directory that is unique to the user and no other user can access. It is also the user's default working directory when interacting with the server.
- /courses/ is a public directory that some instructors will use to upload datasets, documents, etc. for their courses.
- /capstone/ is a directory that will be used for capstone projects. When students are assigned their capstone groups, they will have a folder created for their team. They can use this folder to collaborate on any projects related to their capstone.
Example of how to read in data from courses folder on server:
IMPORTANT!
The server is a completely new machine! You'll need to set up your GitHub credentials like you did on your local machine. Please refer to steps 6 and 7 of the MEDS installation guide to set up your PAT on the server: https://ucsb-meds.github.io/MEDS-installation-guide/
As always, please feel free to reach out at compute@bren.ucsb.edu or on the #compute channel on Slack with any questions.