---
title: "ezgh caches"
description: "Managed Valkey and Memcached caches."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh caches

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh caches <command>
```

A cache is managed Valkey or Memcached in a subnet of your VPC, reached at one endpoint over TLS with a username and password. Valkey caches are memory only or persistent; with a standby, a cache fails over by itself and keeps its endpoint. Each user's password is kept in a Secret.

Everything is in a project (`--project`, `EZGH_PROJECT` or the profile's). &lt;cache&gt; is its ID (cch\_…), UUID or name; &lt;deployment&gt; is a cbg\_ ID; users are named by name. Creates, changes and deletes run as operations: `--wait` waits for them.

## Flags

This command also takes the [global flags](/cli/reference#global-flags).

## Subcommands

| Command | Description |
| --- | --- |
| [`ezgh caches blue-green`](/cli/reference/caches-blue-green) | Valkey upgrades tested before a switchover |
| [`ezgh caches create`](/cli/reference/caches-create) | Create a cache |
| [`ezgh caches delete`](/cli/reference/caches-delete) | Delete a cache |
| [`ezgh caches engine-versions`](/cli/reference/caches-engine-versions) | List the engines, their versions and parameters |
| [`ezgh caches events`](/cli/reference/caches-events) | List a cache's events |
| [`ezgh caches failover`](/cli/reference/caches-failover) | Fail a cache over to its standby |
| [`ezgh caches flush`](/cli/reference/caches-flush) | Empty a cache |
| [`ezgh caches get`](/cli/reference/caches-get) | Show a cache |
| [`ezgh caches list`](/cli/reference/caches-list) | List the project's caches |
| [`ezgh caches operations`](/cli/reference/caches-operations) | Cache creates, changes and deletes in progress |
| [`ezgh caches update`](/cli/reference/caches-update) | Change a cache |
| [`ezgh caches users`](/cli/reference/caches-users) | A cache's users and their passwords in Secrets |

Source: https://docs.ezghcloud.com/cli/reference/caches/index.mdx
