This page gives an overview of single-zone instances for Memorystore for Redis Cluster.

For instructions on provisioning a single-zone instance see [Create a single-zone instance](https://docs.cloud.google.com/memorystore/docs/cluster/create-instances.md.txt#create_a_single-zone_instance).

By default, Memorystore for Redis Cluster distributes an instance's nodes evenly among
available zones. For diagrams that show how nodes are distributed with this
setup, see [High availability and replicas](https://docs.cloud.google.com/memorystore/docs/cluster/ha-and-replicas.md.txt).

Alternatively, you can choose to create a single-zone instance. Single-zone
instances have lower latency than multi-zone instances because you can place
your clients in the same zone as the Redis nodes and avoid cross-zone
communication.

You choose the zone distribution mode (single-zone or multi-zone) during
instance creation. After it's created, the zone distribution mode can't be
changed.

When choosing between a multi-zone instance and a single-zone instance, you
should consider your application's tolerance for downtime or data loss if an
unexpected zonal outage occurs.

If an unexpected outage impacts the zone where your single-zone instance located,
you can lose connectivity to all the nodes in the instance and experience data
loss if either persistence or high-availability is not enabled. Alternatively,
if an unexpected outage impacts one of the zones of a multi-zone instance, only a
portion of the nodes may become unavailable.

If you connect to a single-zone instance from a client in the same zone, then
you aren't charged for [Consumer Data Processing](https://cloud.google.com/vpc/pricing#psc-consumer-data-processing).
For more information, see [Network pricing](https://cloud.google.com/memorystore/docs/cluster/pricing#network-pricing).

Although we recommend provisioning a multi-zone instance with [High Availability](https://docs.cloud.google.com/memorystore/docs/cluster/ha-and-replicas.md.txt), you should use the following recommendations for single-zone instances if they apply to you:

- If you you choose to provision a single-zone instance, you should enable
  replicas. Replicas reduce shard hotspots and make shards more
  resilient against single-node failures.

- If you choose to provision an instance without replicas, you should still
  use a single-zone instance. For more information, see [When to use a single-zone cluster](https://docs.cloud.google.com/memorystore/docs/cluster/general-best-practices.md.txt#when-to-use-a-single-zone-cluster).

## Single-zone instance diagram example

![A diagram that shows
all nodes of an instance placed in a single zone](https://docs.cloud.google.com/static/memorystore/img/cluster-single-zone-1.png)