I have a redis instance running in MemoryStore that I believe has some garbage data in it that is causing problems within an AppInstance application.
I would like to be able to connect to the underlying redis cli so that I can examine the data, however I’m unable to figure out how to do this with the existing documentation.
This page https://cloud.google.com/memorystore/docs/redis/connect-redis-instance says to create a VM instance that users the Redis instance’s authorized network by following these instructions https://cloud.google.com/compute/docs/create-linux-vm-instance and yet those instructions do not mention the authorized network part of things. Which makes them incomplete in relation to the subject matter at hand.
I have gcloud installed, so I thought, maybe I’d try following these instructions https://cloud.google.com/memorystore/docs/redis/connect-redis-instance
However, gcloud tells me that it can’t find the redis instance.
$ gcloud redis instances describe --region=us-central1 10.188.71.203
Python
ERROR: (gcloud.redis.instances.describe) NOT_FOUND: Resource 'projects/...elided.../locations/us-central1/instances/10.188.71.203' was not found
- '@type': type.googleapis.com/google.rpc.ResourceInfo
resourceName: projects/...elided.../locations/us-central1/instances/10.188.71.203
And yet in the console that definitely exists. The authorized network for that instance is a VPC, which I find largely mystifying when trying to manage.
At any rate, I can’t even SSH to my Compute Engine VM instance. My login is the Owner of the project, I think I have all the right permissions, and I have SSH ingress opened on the firewall rules, but
I did add an ingress firewall rule for the ip range specified, but ok, so try without Cloud IAP…
And ingress traffic for that ip range is open. The VPC firewall rules are as such…
All I want is a CLI onto that Redis instance. I’d think this would be a common thing and pretty basic, but I’m at a complete loss.