Skip to main content

GCP Redis Instance

Google Cloud Memorystore for Redis is a fully managed, in-memory data store built on open-source Redis. It is commonly used as a low-latency cache, session store or message broker and is provisioned inside your Google Cloud project with automatic patching, monitoring, high availability and optional in-transit/at-rest encryption.
Official documentation: https://cloud.google.com/memorystore/docs/redis

Terrafrom Mappings:

  • google_redis_instance.id

Supported Methods​

  • GET: Get a gcp-redis-instance by its "locations|instances"
  • LIST
  • SEARCH: Search Redis instances in a location. Use the format "location" or "projects/[project_id]/locations/[location]/instances/[instance_name]" which is supported for terraform mappings.

gcp-compute-network​

A Redis instance is created in a specific VPC network (and, optionally, a sub-network). Its private service endpoint is only reachable from resources that can route traffic within that network.

gcp-cloud-kms-crypto-key​

If Customer-Managed Encryption Keys (CMEK) are enabled, the Redis instance references a Cloud KMS CryptoKey that is used to encrypt data at rest.

ip​

Each Redis instance exposes one or more private IP addresses that clients use to connect to the service endpoint inside the VPC.

gcp-compute-ssl-certificate​

When in-transit encryption (TLS) is enabled, Google manages SSL certificates for the instance; these certificates can be surfaced as Compute SSL Certificate resources linked to the Redis endpoint.