Creating a Redis Cluster

Create a Redis cluster with Cache with Redis.

When you create an Redis cluster, Cache with Redis creates the set of Compute instances that provide the Redis caching functionality. Each cluster is composed of one primary node and optionally one or more data nodes, based on the options that you specify when you create the cluster.

Redis clusters can only be created in subnets that do not have IPv6 enabled. If you select an existing subnet with IPv6 enabled, cluster creation will fail.
    1. Open the navigation menu and click Databases. Under Redis, click Clusters.

    2. Click Create Cluster.

    3. Specify a name for the cluster, select the compartment to create the cluster in, and then click Next.

    4. Optionally change the cluster node configuration options, including the amount of memory in GB configured per node and the number of nodes for the cluster. After you're done updating the settings, click Next.

    5. In Configure networking specify the virtual cloud network (VCN) and subnet for the cluster. Decide whether you want to use an existing VCN and subnet, create a new VCN or subnet, or specify the OCID for an existing subnet. You cannot change the cluster's subnet after the cluster has been created.

    6. Click Next, review the cluster confirmation details on the Summary page, and then click Create Cluster.

  • Use the oci redis redis-cluster create command and required parameters to create a cluster:

    oci redis redis-cluster create [OPTIONS]
    For information about using the CLI, see Command Line Interface (CLI). For a complete list of flags and options available for CLI commands, see the CLI Command Reference.
  • For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.

    Run the CreateRedisCluster operation to create a cluster.