---
name: instructlab-storage
title: Creating storage locations for InstructLab
description: Complete the following steps to create one or more Object Storage buckets to store InstructLab resources in.
last-updated: 2025-04-24
---

# Creating storage locations for InstructLab
{: #storage}

Complete the following steps to create one or more Object Storage buckets to store InstructLab resources in.
{: shortdesc}

[Learn more about Object Storage](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-about-cloud-object-storage).

## Creating an Object Storage instance in the console for InstructLab
{: #storage-ui}
{: ui}


1. Navigate to the [Object Storage in the console](https://cloud.ibm.com/objectstorage/overview).
1. Click **Create an instance**.
1. Choose a plan.
1. Give your instance a name, select a resource group, and enter any tags that you want to use.
1. Click **Create**.


## Creating an Object Storage instance and bucket by using the CLI for InstructLab
{: #storage-cli}
{: cli}

To log in:
1. Log in to your IBM Cloud account from the CLI.

    ```sh
    ibmcloud login -a https://cloud.ibm.com --sso -r us-east
    ```
    {: pre}

1. If you plan to allow InstructLab to create IBM Cloud&reg; Object Storage Instance resources for you, target a resource group.
    ```sh
    ibmcloud target -g <resource_group>
    ```
    {: pre}

    Example:
    ```sh
    ibmcloud target -g Default
    ```
    {: pre}


To create Object Storage resources:
1. Run the following command to create an instance.
    ```sh
    ibmcloud resource service-instance-create <instance-name> cloud-object-storage <plan> global
    ```
    {: pre}

1. [Create a new bucket](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-ic-cos-cli#create-a-new-bucket) and make a note of the bucket name for later.
    ```sh
    ibmcloud cos bucket-create --bucket <bucket-name> [--class <class-name>] [--ibm-service-instance-id <instance-id>] [--region REGION] [--output FORMAT]
    ```
    {: pre}


## What's next?
{: #whats-next-storage}

After creating your project, review the following links for next steps.


- [Assign users in your account access to your project and Object Storage](https://cloud.ibm.com/docs/instructlab?topic=instructlab-project).
- [Learn how taxonomies are structured](https://cloud.ibm.com/docs/instructlab?topic=instructlab-taxonomy-overview).
- [Prepare your taxonomy and upload it to Object Storage](https://cloud.ibm.com/docs/instructlab?topic=instructlab-taxonomy-prep).