> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Environment Presets

> Customize configurations for your Wherobots Notebook instances, including Wherobots version, Spark configuration, dependencies, and environment overrides.

Environment Presets allow you to customize infrequently changed configurations for your notebook instance. These currently include:

* Wherobots version
* Spark configuration
* Dependencies

To create a custom preset, do the following:

1. Click **Environment**.
   <Frame caption="Start notebook">
     <img src="https://mintcdn.com/wherobots/EqatIMET1Ld8c_KD/images/develop/notebook-management/notebook-instance-management/start-a-notebook-env.png?fit=max&auto=format&n=EqatIMET1Ld8c_KD&q=85&s=11881cbce8f878ef94af16a4c2d0b05a" alt="Start notebook" width="2352" height="468" data-path="images/develop/notebook-management/notebook-instance-management/start-a-notebook-env.png" />
   </Frame>

2. Click **+** next to **Environment Preset**.

3. Fill in the required information.
   <Frame caption="Fill in environment preset">
     <img src="https://mintcdn.com/wherobots/ZUrkIWfbiuyJbzDN/images/develop/notebook-management/notebook-instance-management/env-preset-fill-ing.png?fit=max&auto=format&n=ZUrkIWfbiuyJbzDN&q=85&s=377e467db7abb1f64357a88575a21359" alt="Fill in preset" width="942" height="1050" data-path="images/develop/notebook-management/notebook-instance-management/env-preset-fill-ing.png" />
   </Frame>

4. Click **Save**.

## Change Wherobots Version

You can customize the Wherobots version for your notebook instance. The default Wherobots version is the latest version.

## Change Spark Configuration

Add any custom spark configurations you want before starting the notebook instance.

## Adding Dependencies

We support both **FILE** and **PYPI** as sources for dependencies inside Wherobots Notebooks. Below you will find the directions for adding dependencies from each source.

### Adding Dependencies from a File

Wherobots Cloud allows you to add dependencies from the Wherobots File system.

<Note>
  Supported file types Only Python Wheel (.whl), JAR (.jar), ZIP (.zip), and JSON (.json) files are supported.
</Note>

<Note>
  Please refer to [storage layer management](/develop/storage-management/storage/) page to upload the files in the correct directory.
</Note>

Click "Browse" and select the file from the Wherobots File Browser. The selected file must have a valid file extension (.whl, .jar, .zip, or .json).

JSON files can be used to place a configuration file at a predetermined file-system location on all nodes of the compute cluster (`/opt/wherobots/<file name>.json`).

### PYPI Source

You can add dependencies from the PYPI source by providing the library name and version.

<Frame caption="Select source type">
  <img src="https://mintcdn.com/wherobots/ZUrkIWfbiuyJbzDN/images/develop/notebook-management/notebook-instance-management/pypi-source-type.png?fit=max&auto=format&n=ZUrkIWfbiuyJbzDN&q=85&s=f11f2bd9b04eb4f488cad6f924b01442" alt="PYPI source type" width="1047" height="623" data-path="images/develop/notebook-management/notebook-instance-management/pypi-source-type.png" />
</Frame>

When the notebook instance starts, it will fetch and install listed packages from PYPI.

## Environment Override Presets

<Note>Configurations present in Environment Override Presets are subject to change. Configurations may be added or removed as the product evolves.</Note>

Environment Overrides allow you to customize the most commonly updated values for your notebook instance. These currently include:

* Driver disk size
* Executor disk size
* Spark configuration

To access the Environment Overrides, do the following:

1. Go to [**Start a Notebook**](https://cloud.wherobots.com/notebooks)
2. Click **Environment**.
3. Click **Show Environment Overrides**.
   <Frame caption="View Environment overrides and Environment presets">
     <img src="https://mintcdn.com/wherobots/ZUrkIWfbiuyJbzDN/images/develop/notebook-management/notebook-instance-management/default.png?fit=max&auto=format&n=ZUrkIWfbiuyJbzDN&q=85&s=a3d24eb3eca5be75963bd2fb562ac50a" alt="Start notebook - default" width="993" height="955" data-path="images/develop/notebook-management/notebook-instance-management/default.png" />
   </Frame>
4. Click a previously created override from the dropdown.

To create custom Environment Overrides, do the following:

1. Click **Environment**.
2. Click **Show Environment Overrides**.
   <Frame caption="Create custom environment override preset">
     <img src="https://mintcdn.com/wherobots/ZUrkIWfbiuyJbzDN/images/develop/notebook-management/notebook-instance-management/env-override-fill-ing.png?fit=max&auto=format&n=ZUrkIWfbiuyJbzDN&q=85&s=6d09d9b41d3bd4d9e3efa66d9fe377fb" alt="Create custom environment override preset" width="992" height="690" data-path="images/develop/notebook-management/notebook-instance-management/env-override-fill-ing.png" />
   </Frame>
3. Click **+**.
4. Enter the necessary information.
5. Click **Save**.

### Change Disk Size

You can customize the default disk size for your notebook instance. The default disk size for driver and executor nodes is based on the runtime size and is listed below:

| Runtime Size | Disk Size |
| ------------ | --------- |
| Tiny         | 20 GB     |
| All others   | 200 GB    |

### Spark Configuration

Refer to the [Spark configuration](#change-spark-configuration) section for more information.
