Creating storage locations for Red Hat AI Inference

Complete the following steps to create one or more Object Storage buckets to store Red Hat AI Inference resources in.

Object Storage buckets are only required if you want to fine-tune or align models with your own data. If you use the inference feature with pre-trained models, you do not need to create a bucket.

Learn more about Object Storage.

Creating an Object Storage instance in the console for Red Hat AI Inference

  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 Red Hat AI Inference

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 Red Hat AI Inference 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.