IBM Cloud Docs
Creating storage locations for InstructLab

Creating storage locations for InstructLab

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

Learn more about Object Storage.

Creating an Object Storage instance in the console for InstructLab

  1. Navigate to the Object Storage in the console.
  2. Click Create an instance.
  3. Choose a plan.
  4. Give your instance a name, select a resource group, and enter any tags that you want to use.
  5. Click Create.

Creating an Object Storage instance and bucket by using the CLI for InstructLab

To log in:

  1. Log in to your IBM Cloud account from the CLI.
    ibmcloud login -a https://cloud.ibm.com --sso -r us-east
    
  2. If you plan to allow InstructLab to create IBM Cloud® Object Storage Instance resources for you, target a resource group.
    ibmcloud target -g <resource_group>
    
    Example:
    ibmcloud target -g Default
    

To create Object Storage resources:

  1. Run the following command to create an instance.
    ibmcloud resource service-instance-create <instance-name> cloud-object-storage <plan> global
    
  2. Create a new bucket and make a note of the bucket name for later.
    ibmcloud cos bucket-create --bucket <bucket-name> [--class <class-name>] [--ibm-service-instance-id <instance-id>] [--region REGION] [--output FORMAT]
    

What's next?

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