gcloud redis instances Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud redis instances - manage Cloud Memorystore Redis instances
- SYNOPSIS
gcloud redis instancesCOMMAND[GCLOUD_WIDE_FLAG …]
- EXAMPLES
- To create an instance with the name
my-redis-instance, run:gcloudredisinstancescreatemy-redis-instanceTo delete an instance with the name
my-redis-instance, run:gcloudredisinstancesdeletemy-redis-instanceTo display the details for an instance with the name
my-redis-instance, run:gcloudredisinstancesdescribemy-redis-instanceTo list all the instances, run:
gcloudredisinstanceslistTo set the label
envtoprodfor 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 helpfor details. - COMMANDS
is one of the following:COMMANDcreate- 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:
gcloudalpharedisinstancesgcloudbetaredisinstances
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.