Creating a Pool

Create a pool in Data Flow to configure a group of compute resources that can be used to run various Spark data and machine learning workloads, including batch, streaming, and interactive.

Before you begin, you must have set up the appropriate polices to use and manage pools.

    1. On the Pools page, select Create pool. If you need help finding the Pools page, see Listing Pools.
    2. In the Create pool panel, enter a name for the pool and an optional description to help you find it.
    3. For Configuration 1, enter the following values:
      1. Select a compute shape.
      2. Optional: Customize the number of OCPUs and the amount of memory.
      3. Enter the number of shapes. to include in the pool. The minimum is 2.
    4. (Optional) To add another configuration, select Add configuration and repeat the preceding step.
      Note

      You can have a maximum of three configurations per pool.
    5. (Optional) Create a schedule to start the pool.
      1. Select the checkbox for the day you want the pool to start.
      2. Select the hour (UTC) on which to automatically start the pool.
      3. Select the checkbox for the day you want the pool to stop.
      4. Select the hour (UTC) on which to automatically stop the pool.
    6. (Optional) Specify the idle timeout in minutes to automatically stop the pool when it's idle.
    7. (Optional) In the Tags section, add one or more tags to the <resourceType>. If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you're not sure whether to apply tags, skip this option or ask an administrator. You can apply tags later..
    8. Select one of the following options:
      • Select Create pool to create the pool now and start it at the scheduled time.
      • Select Create and start pool to create the pool now and start it immediately after it's created.
      • Select Save as stack to create the pool later.
  • Use the command-name command and required parameters to create a Pool:

    oci service-name command-name --required-param-name variable-name ... [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • Run the OperationName operation to create a Pool.