How implement Cloud Memorystore For Redis in java 8

147 views
Skip to first unread message

Gerardo Torreblanca Luna

unread,
Jan 3, 2020, 4:21:42 PM1/3/20
to Google Cloud Memorystore Discuss
Hi, how to implement Cloud Memorystore for Redis in my project web, using java8 spring. my project is deployed in Google Cloud App Engine

Gopal Ashok

unread,
Jan 7, 2020, 5:09:46 PM1/7/20
to Gerardo Torreblanca Luna, Google Cloud Memorystore Discuss
Hi Gerardo, To use Memorystore from App Engine you have to configure serverless VPC access to enable connectivity to Memorystore. https://cloud.google.com/appengine/docs/standard/java/using-memorystore

Memorystore uses OSS redis behind the scenes. So any standard library like jedis and frameworks will work with Memorystore.

Are you trying to use Redis with Spring Boot through the Spring Data Redis library? https://spring.io/projects/spring-data-redis. If so you can follow the  same instructions to use that with Memorystore. You just need to make sure you follow the steps to configure VPC access to enable the connection from App engine to Memorystore.

Hope this helps!

Thanks
Gopal

Product Manager
Cloud Memorystore

On Fri, Jan 3, 2020 at 1:21 PM Gerardo Torreblanca Luna <gtorrebl...@gmail.com> wrote:
Hi, how to implement Cloud Memorystore for Redis in my project web, using java8 spring. my project is deployed in Google Cloud App Engine

--
You received this message because you are subscribed to the Google Groups "Google Cloud Memorystore Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-memorysto...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-memorystore-discuss/f1d9cd7d-5ba2-4547-8ae8-f0d215a1cb5d%40googlegroups.com.


--
Product Manager
Google Cloud Memorystore
Reply all
Reply to author
Forward
0 new messages