How can I use RedisLab with Java/Flexible environment?

38 views
Skip to first unread message

Bao Le Duc

unread,
Dec 23, 2018, 10:15:15 PM12/23/18
to Google App Engine
Hello

I would like to use RedisLab with Java/Flexible environment to cache data. Is it possible?

Best,
Bao

George (Cloud Platform Support)

unread,
Dec 24, 2018, 3:41:08 PM12/24/18
to Google App Engine
You may find related information on the "Connecting to a Redis instance from an App Engine Flexible Environment application" page. App Engine applications must be in the same region as the Redis instance and on the same network to be authorized to access the Redis instance. You can't connect to a Cloud Memorystore for Redis instance from App Engine standard environment applications.

Guy Korland

unread,
Dec 25, 2018, 10:19:11 PM12/25/18
to Google App Engine

Le Duc Bao

unread,
Dec 27, 2018, 2:02:56 PM12/27/18
to google-a...@googlegroups.com
Hi George,

The document looks like for using Redis instance on Google Cloud, not from RedisLab instance

@Guy Korland, yes, that's for RedisLabs, however, I can't find how to use RedisLab with Java.

Le Duc Bao



On Mon, Dec 24, 2018 at 9:41 PM 'George (Cloud Platform Support)' via Google App Engine <google-a...@googlegroups.com> wrote:
You may find related information on the "Connecting to a Redis instance from an App Engine Flexible Environment application" page. App Engine applications must be in the same region as the Redis instance and on the same network to be authorized to access the Redis instance. You can't connect to a Cloud Memorystore for Redis instance from App Engine standard environment applications.

--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/FmgDCRrnKR8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/d66e270d-5b59-4343-945b-c3c70b3edb45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

George (Cloud Platform Support)

unread,
Dec 27, 2018, 6:44:54 PM12/27/18
to Google App Engine
Hi Bao, 

The assumption is made here, being an App Engine discussion group, that you intend to connect to Redis from Java in Flexible Environment, as you indicate otherwise in your posting's title. The page first linked to, "Connecting to a Redis instance from an App Engine Flexible Environment application", has tags for Java on top of all text examples. You only need to select the Java tag to follow Java-specific examples. 

To use Redis outside App Engine, you may check Redis' own documentation. 
Reply all
Reply to author
Forward
0 new messages