是否可以从适用于 Java 的 Google App Engine 自定义托管虚拟机连接到 Google Cloud Datastore?我相信标准托管虚拟机可以做到这一点,但是自定义虚拟机也可以吗?
最佳答案
是的。
标准托管虚拟机
来自Using the Java Managed VM Environment :
The Java runtime is available as a Managed VM standard runtime. A standard runtime supports a subset of the App Engine service APIs. Currently, Managed VMs support these services:
- Datastore
- Logging
- Memcache
- Search
- Task Queue
- URL Fetch
- Users
具有自定义运行时的托管虚拟机
来自Building Custom Runtimes: Accessing Cloud Platform services :
Runtimes in Managed VMs can access any Google or third party services via standard APIs.
其他一切
您还可以使用 Datastore REST API 从任何地方连接到 Google Cloud Datastore .
关于java - 从 Google 托管虚拟机(自定义/Java)连接到 Google Cloud 数据存储?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33803175/