Creating an OCI Cache Configuration

Create a custom OCI Cache configuration to change a default configuration.

    1. On the Configurations list page (default or custom configuration type), select Create custom configuration. If you need help finding the list page, see Listing OCI Cache Configurations.
    2. On the Create configuration panel, enter the following information
      • Name: Accept the default name or enter a friendly name for the custom configuration.
      • Description: Enter a description for the configuration.
      • Create in compartment: Select the compartment where the configuration resides from the list.
      • Cache engine version: Select one of the following versions:
        • VALKEY_7_2
        • REDIS_7_0

        Depending on the cache engine version, the default configuration corresponding to an engine appears under Base Configuration.

      • Tagging: 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.
    3. For Parameters, select a parameter name that you want to add to the configuration from the Parameter name, and then select or enter its value.
      Add more parameters as required.
    4. Select Create.
  • Use the oci redis oci-cache-config-set oci-cache-config-set create command and required parameters to create a custom configuration:

    oci redis oci-cache-config-set oci-cache-config-set create --compartment-id <compartment_OCID> --configuration-details <json_file_or_string>  --display-name <text> --software-version <text> [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the CreateOciCacheConfigSet operation to create a custom OCI Cache configuration.