AppEngine 标准和 Memorystore 连接问题

AppEngine standard and Memorystore connection issue

我有 Memorystore 实例:

gcloud redis instances list --region europe-west1
INSTANCE_NAME      VERSION    REGION        TIER   SIZE_GB  HOST      PORT  NETWORK  RESERVED_IP  STATUS  CREATE_TIME
sm-cache  REDIS_4_0  europe-west1  BASIC  1        10.1.1.3  6379  default  10.1.1.0/28  READY   2019-05-30T19:03:29

和 App Engine 标准应用程序 运行 在同一区域。

连接需要VPC。我尝试添加它而不缺少它。这种连接的 CIDR 应该是什么?与 Memorystore 相同不起作用:

gcloud beta compute networks vpc-access connectors describe sm-01-vpc --region europe-west1 
ipCidrRange: 10.1.1.0/28
maxThroughput: 1000
minThroughput: 200
name: projects/salesmanago-data-01/locations/europe-west1/connectors/sm-01-vpc
network: default
state: ERROR

我应该在 Spring 引导配置中使用什么 IP?有什么建议么?这在文档和教程中没有明确描述。

到目前为止,我在应用程序中遇到错误:

Unable to connect to Redis; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to 10.1.1.3:6379

What should be CIDR for such connection? Same as for Memorystore does not work:

使用您的 VPC 网络中不存在的 ip 范围,并且与 memorystore 使用的不同。

What IP I should use in Spring Boot configuration

IP显示在gcloud redis instances list --region europe-west1

顺便说一句,Serverless 目前似乎只适用于 us-central1,不确定它是否适用于 europe-west1