Viewing high-level information about Memorystore for Valkey instances is
essential to obtain a comprehensive snapshot of the instance's state,
configuration, and connectivity.

The following are sample use cases for viewing summary information about
Memorystore for Valkey instances:

- **Retrieve connection endpoints** : For Cluster Mode Enabled instances, you can retrieve the [discovery endpoint](https://docs.cloud.google.com/memorystore/docs/valkey/instance-node-specification.md.txt#discovery_endpoint), which consists of an IP address and port number. For Cluster Mode Disabled instances, you can obtain the [primary](https://docs.cloud.google.com/memorystore/docs/valkey/instance-node-specification.md.txt#primary_endpoint) and [reader](https://docs.cloud.google.com/memorystore/docs/valkey/instance-node-specification.md.txt#reader_endpoint) endpoints that you need to configure your client applications to connect to the instance.
- **Verify custom configurations** : view configuration parameters that a user applies to an instance. For example, you can obtain the value that a user sets for the [`maxmemory-policy`](https://docs.cloud.google.com/memorystore/docs/valkey/supported-instance-configurations.md.txt#modifiable_configuration_parameters) parameter.
- **Check information about nodes and shards**: obtain information about the nodes and shards associated with an instance. This includes the number of shards, the node type, and the number of replicas that each shard has.
- **Confirm data resiliency settings** : verify active [persistence](https://docs.cloud.google.com/memorystore/docs/valkey/persistence-overview.md.txt) modes for Redis Database (RDB) snapshots and Append-Only File (AOF) log files, as well as the status of whether an instance is protected from accidental deletion.

## View instance summary information

You can view summary information about an instance by using either the
Google Cloud console or the [gcloud CLI](https://docs.cloud.google.com/sdk/gcloud.md.txt).

### Console

1. In the Google Cloud console, go to the **Memorystore for Valkey**
   page.

   [Memorystore for Valkey](https://console.cloud.google.com/memorystore/valkey/instances)
2. Click the ID of an instance about which you want to view summary
   information.

### gcloud

To view summary information about an instance, use the
[`gcloud memorystore instances describe`](https://docs.cloud.google.com/sdk/gcloud/reference/memorystore/instances/describe)
command:

```
gcloud memorystore instances describe INSTANCE_ID \
--location=REGION_ID
```

Make the following replacements:

- <var translate="no">INSTANCE_ID</var>: the ID of the instance about which you want to view summary information
- <var translate="no">REGION_ID</var>: the region where the instance is located

For example:

```
gcloud memorystore instances describe my-instance \
--location=us-central1
```