[英]Google app engine service account to start Cloud Compute instances
Is there a way to start Google Compute Engine instances from within App Engine itself using APP (not personal) credentials? 有没有一种方法可以使用APP(而非个人)凭据从App Engine自身内部启动Google Compute Engine实例? We can use an app-specific service account for Cloud Storage and Cloud SQL, but can we also use this service account for Compute Engine?
我们可以将特定于应用程序的服务帐户用于Cloud Storage和Cloud SQL,但是我们也可以将此服务帐户用于Compute Engine吗?
Compute Engine is not listed under services: https://developers.google.com/appengine/features/?hl=en#services 以下服务未列出Compute Engine: https : //developers.google.com/appengine/features/?hl = zh_CN# services
You can certainly do this. 您当然可以做到。 Here is a Python demo:
这是一个Python演示:
https://github.com/GoogleCloudPlatform/compute-appengine-demo-suite-python/blob/master/demo-suite/demos/fractal/main.py https://github.com/GoogleCloudPlatform/compute-appengine-demo-suite-python/blob/master/demo-suite/demos/fractal/main.py
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.