Accessing GCP Memorystore from Google Cloud Platform Cloud Shell

Nirojan Selvanathan

I recently created a redis instance in Google Cloud Platform Memorystore and was trying to connect to it using Cloud Shell.

telnet 10.0.0.3 6379
Trying 10.0.0.3...
telnet: Unable to connect to remote host: Connection timed out

But always I'm getting a connection timeout issue. As per the documentation it states the compute instances which are in the same project should be able to connect to the instance. Did anyone also encounter the same issue ? and are there any resolutions for testing it locally ?

JC98

Cloud Shell is very limited. The port that you are trying to connect to is not allowed for outgoing connections. The documentation you shared is referring to a GCE (Google Compute Engine) VM instance, yes Cloud Shell provides a temporary instance but it is very limited. At the moment you can only access it from Compute Engine VM instances, Kubernetes Engine clusters, and App Engine (flexible & standard) as well as Cloud-Functions, you will need to create a GCE VM and follow the documentation that you mentioned.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Google Cloud Platform (GCP) Cloud Shell "Boost" feature missing

From Dev

Accessing Google cloud platform from China

From Dev

Copy files from Google Cloud Shell to GCP VM

From Dev

GCP: Full backup of the database in the google cloud platform

From Dev

Google Cloud Platform (GCP) Ingress unhealthy backend

From Dev

Propagating Error messages in Google Cloud Platform (GCP)

From Dev

GCP: Duplicate an existing project in Google Cloud Platform

From Dev

Is it possible to trigger cloud memorystore by cloud functions or cloud run in GCP?

From Dev

GCP Cloud Memorystore data encryption at rest

From Dev

Turn off Google Cloud Memorystore?

From Dev

Accessing a Postgres SQL Server from a Google cloud (gcp) account using another Google cloud (gcp) account which has a virtual machine

From Dev

Accessing Cloud SQL from another GCP project

From Dev

How to connect to a GCP (Google Cloud Platform) Cloud SQL instance from an IPV6 address?

From Dev

Connect to Memorystore from Cloud Run

From Dev

Accessing Cloud SQL from Cloud Run on Google Cloud

From Dev

"Invalid gcp.key" from Mongoose OS when connecting ESP32 to Google Cloud Platform

From Dev

Is there a way to schedule Cloud Shell commands in Google Cloud Platform?

From Dev

Connecting Google Cloud Memorystore with App Engine service

From Dev

Is there a way to change a google cloud platform project to other GCP account?

From Dev

Google Cloud Platform (GCP): How to give additional roles to service account?

From Dev

Error Python API GCP Data Catalog - Google Cloud Platform

From Dev

How to monitor Google Cloud Platform (GCP) costs on an hourly basis?

From Dev

best approach for in-memory storage (multi region on GCP/cloud memorystore)

From Dev

Google Cloud Run: Calling from outside GCP

From Dev

Google Cloud Platform: permission denied by accessing Apps Script

From Dev

Accessing Firebase admin from google cloud functions

From Dev

Accessing files from Google cloud storage in RStudio

From Dev

How to download table from Google Cloud Platform

From Dev

Get token from google cloud platform in salesforce

Related Related

  1. 1

    Google Cloud Platform (GCP) Cloud Shell "Boost" feature missing

  2. 2

    Accessing Google cloud platform from China

  3. 3

    Copy files from Google Cloud Shell to GCP VM

  4. 4

    GCP: Full backup of the database in the google cloud platform

  5. 5

    Google Cloud Platform (GCP) Ingress unhealthy backend

  6. 6

    Propagating Error messages in Google Cloud Platform (GCP)

  7. 7

    GCP: Duplicate an existing project in Google Cloud Platform

  8. 8

    Is it possible to trigger cloud memorystore by cloud functions or cloud run in GCP?

  9. 9

    GCP Cloud Memorystore data encryption at rest

  10. 10

    Turn off Google Cloud Memorystore?

  11. 11

    Accessing a Postgres SQL Server from a Google cloud (gcp) account using another Google cloud (gcp) account which has a virtual machine

  12. 12

    Accessing Cloud SQL from another GCP project

  13. 13

    How to connect to a GCP (Google Cloud Platform) Cloud SQL instance from an IPV6 address?

  14. 14

    Connect to Memorystore from Cloud Run

  15. 15

    Accessing Cloud SQL from Cloud Run on Google Cloud

  16. 16

    "Invalid gcp.key" from Mongoose OS when connecting ESP32 to Google Cloud Platform

  17. 17

    Is there a way to schedule Cloud Shell commands in Google Cloud Platform?

  18. 18

    Connecting Google Cloud Memorystore with App Engine service

  19. 19

    Is there a way to change a google cloud platform project to other GCP account?

  20. 20

    Google Cloud Platform (GCP): How to give additional roles to service account?

  21. 21

    Error Python API GCP Data Catalog - Google Cloud Platform

  22. 22

    How to monitor Google Cloud Platform (GCP) costs on an hourly basis?

  23. 23

    best approach for in-memory storage (multi region on GCP/cloud memorystore)

  24. 24

    Google Cloud Run: Calling from outside GCP

  25. 25

    Google Cloud Platform: permission denied by accessing Apps Script

  26. 26

    Accessing Firebase admin from google cloud functions

  27. 27

    Accessing files from Google cloud storage in RStudio

  28. 28

    How to download table from Google Cloud Platform

  29. 29

    Get token from google cloud platform in salesforce

HotTag

Archive