Creating a Task Profile
Create a task profile for Batch.
On the Task profile list page, select Create task profiles and provide information in each section. If you need help finding the list page, see Listing Task Profiles.
1. Basic Information
- Name: Enter a name for the task profile.
- Compartment: Select the compartment in which you want to create the task profile.
- Description: Provide a brief description.
- Shape type: Select a Shape type, then complete the details:
- CPU architecture:
- Architecture: The processor architecture of the Compute shape that runs a Batch job. Examples include x86-64 and Arm64 (AArch64). This setting determines which container images and binaries you can run in the job's runtime environment.
- Min OCPUs: Select the minimum OCPU allocation that can be provisioned for a virtual machine to perform the OCI batch context task. The minimum value is 1.
- Min memory in GBs: Select the minimum memory required to perform the task. The typical value is 1 GB, and the maximum can be up to 128 GB or more.
- CPU shape:
- Shape name: A shape name is the exact OCI Compute shape identifier that Batch uses to launch instances for your jobs.
- Min OCPUs: Select the minimum OCPU allocation that can be provisioned for a virtual machine to perform the OCI batch context task. The minimum value is 1.
- Min memory in GBs: Select the minimum memory required to perform the task. The typical value is 1 GB, and the maximum can be up to 128 GB or more.
- GPU shape:
- Shape name: A shape name is the exact OCI Compute shape identifier that Batch uses to launch instances for your jobs.
- CPU architecture:
You can view the status of the task on the Task profile list page.
To see all statuses and their definitions, go to OCI Batch Lifecycle States Reference.
2. (Optional) Tags
In the Tags section, select Add tag to add one or more tags to the task profile. If you're not sure whether to apply tags, skip this option or ask an administrator. You can apply tags later.
- Use the oci batch batch-task-profile create command and required parameters to create a batch task profile:
oci batch batch-task-profile create [OPTIONS]For a complete list of flags and variable options for Batch CLI commands, see the Batch CLI.
Run the CreateBatchTaskProfile operation to create a task profile.