Bring your own model or dataset
Upload data to an S3 bucket and import a model in the console of zCLOUD, the GPU cloud.
Create a bucket
Open [**Storage Management**](https://console.zettabyte.com/storage-manage/index), select the **S3 Object Storage** tab, and select **Create Bucket**. The tab lists buckets in a table with the columns **Bucket Name**, **Object Count**, **Storage Quota**, **Storage Usage**, **Access Permission** and **Creation Time**, and it has the buttons **Create Bucket** and, once a bucket exists, **Get Access Key**. The **Create Bucket** form has these fields:
- **Bucket Name**: required, up to 63 characters.
- **Access Permission**: **Private**, **Public Read** or **Public Read/Write**. **Private** is selected when the form opens, and **Public Read** and **Public Read/Write** can be greyed out so that they cannot be selected. The form does not show why. The console describes Public Read as letting anyone read objects and Public Read/Write as letting anyone read and write objects. Private allows only authorised users.
- **Storage Quota**: a number of GB, at least 1 GB, up to the maximum that the form shows for the account.
The **Create Bucket** button is shown to some roles and not others. See [zCLOUD roles and permissions](https://docs.zettabyte.com/docs/accounts-and-roles/roles-and-permissions).
Get the S3 access details
The **Get Access Key** button on the **S3 Object Storage** tab opens the **S3 Access Credentials** window. The window has these fields, in this order:
- **Access Key**
- **Secret Key**, shown masked
- **Endpoint**
- **Region**
- **Provider**
- **Status**
The window has one button, **Close**.
Upload files and folders
Open a bucket from the list. The bucket page has a file list with Name, Size, Type and Modify Time columns, and the buttons **Upload File** and **New Folder**.
Select **Upload File**. The dialog accepts multiple files and folders, with a limit of 5 GB for a single file. After the upload, the file is listed with its size and type.
To add a folder, select **New Folder**, enter a Folder Name (required, up to 255 characters) and select **Confirm**.
Preview, download and delete files
Each file row has a menu that includes **Download**, **Preview** and **Delete**.
- **Preview** opens a dialog that shows the text of a text file, with line numbers.
- **Download** saves the file under its own name.
- **Delete** opens a **Please Confirm** dialog. Select **Delete** in the dialog to remove the file.
Delete a bucket
Open the menu on a bucket row in the **S3 Object Storage** list and select **Delete**. After the confirmation, the bucket no longer appears in the list.
Deleting a bucket cannot be undone
The confirmation dialog calls the deletion permanent and says it cannot be reversed. To confirm, type the word DELETE in the dialog.
Import a model
To bring a model from outside the console, open [**Models**](https://console.zettabyte.com/library-model/list), select the **Custom Model** tab and select **Import Model**. The form includes these fields:
- **Model Name**: required. The console limits the characters allowed in the name; a tooltip states the rule.
- **Description**: a text field for the model.
- **Version**: shown as v1 and not an editable text field.
- **Storage Type**: required. **Shared Storage**, which is selected when the form opens, or **S3 Storage**.
- **Model Address**: required. With **Shared Storage**, a list of files in the shared storage, with a **Refresh** link. With **S3 Storage**, these fields replace the **Model Address** list: **Access Key**, **Secret Key**, **Region** and **S3 Address**.
- **Version Description**: a text field for the version.
The form has two buttons, **Cancel** and **Import Model**.
Use data as a fine-tuning dataset
To use data as a fine-tuning training or validation set, place it in a shared volume (`PVC`) and create a dataset from that location. See [Datasets](https://docs.zettabyte.com/docs/zcloud/models-data-storage/datasets) and [Storage and PVCs](https://docs.zettabyte.com/docs/zcloud/models-data-storage/storage).
Next steps
- [Datasets](https://docs.zettabyte.com/docs/zcloud/models-data-storage/datasets): create a dataset from data in a shared volume.
- [Storage and PVCs](https://docs.zettabyte.com/docs/zcloud/models-data-storage/storage): set up the shared volume.
- [Models](https://docs.zettabyte.com/docs/zcloud/models-data-storage/models): see the Custom Model tab that lists imported models.