gcloud redis instances

NAME
gcloud redis instances - manage Cloud Memorystore Redis instances
SYNOPSIS
gcloud redis instancesCOMMAND[GCLOUD_WIDE_FLAG]
EXAMPLES
To create an instance with the namemy-redis-instance, run:
gcloudredisinstancescreatemy-redis-instance

To delete an instance with the namemy-redis-instance, run:

gcloudredisinstancesdeletemy-redis-instance

To display the details for an instance with the namemy-redis-instance, run:

gcloudredisinstancesdescribemy-redis-instance

To list all the instances, run:

gcloudredisinstanceslist

To set the labelenv toprod for an instance with thenamemy-redis-instance, run:

gcloudredisinstancesmy-redis-instance--update-labels=env=prod
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

COMMANDS
COMMAND is one of the following:
create
Create a Memorystore Redis instance.
delete
Delete a Redis instance.
describe
Show metadata for a Memorystore Redis instance.
export
Export data from a Memorystore Redis instance to Google Cloud Storage.
failover
Failover a standard tier Cloud Memorystore for Redis instance from the masternode to its replica.
get-auth-string
Show AUTH string for a Memorystore Redis instance.
import
Import data to a Memorystore Redis instance from Google Cloud Storage.
list
List Memorystore Redis instances.
reschedule-maintenance
Reschedule maintenance window for a Redis instance.
update
Update Memorystore Redis instances.
upgrade
Upgrade a Memorystore for Redis instance to a specified Redis version.
NOTES
These variants are also available:
gcloudalpharedisinstances
gcloudbetaredisinstances

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.