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
- Navigate to the Object Storage in the console.
- Click Create an instance.
- Choose a plan.
- Give your instance a name, select a resource group, and enter any tags that you want to use.
- Click Create.
Creating an Object Storage instance and bucket by using the CLI for InstructLab
To log in:
- Log in to your IBM Cloud account from the CLI.
ibmcloud login -a https://cloud.ibm.com --sso -r us-east
- If you plan to allow InstructLab to create IBM Cloud® Object Storage Instance resources for you, target a resource group.
Example:ibmcloud target -g <resource_group>
ibmcloud target -g Default
To create Object Storage resources:
- Run the following command to create an instance.
ibmcloud resource service-instance-create <instance-name> cloud-object-storage <plan> global
- 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.