在Python中,你如何从一个谷歌的App Engine应用程序推出的Amazon EC2实例?应用程序、实例、App、Python

由网友(不如放纵)分享简介:在Python中,什么是从一个谷歌的App Engine应用程序推出的Amazon EC2实例的最佳方式?我想保持我的AWS按键尽可能的安全,并能够获取公共DNS为新推出的EC2实例。 In python, what is the best way to launch an Amazon EC2 instance f...

在Python中,什么是从一个谷歌的App Engine应用程序推出的Amazon EC2实例的最佳方式?我想保持我的AWS按键尽可能的安全,并能够获取公共DNS为新推出的EC2实例。

In python, what is the best way to launch an Amazon EC2 instance from within a Google App Engine app? I would like to keep my AWS keys as secure as possible and be able to retrieve the public DNS for the newly launched EC2 instance.

推荐答案

我相信你可以使用博托与当前的App Engine版本(也许 AEP 的帮助,但也许这不是用于启动一个实例,并获取其公共域名)的特定任务。 This帖子有一个很好的概述经验教训,而获得这一切的工作。 (对不起,没有亲身经历 - 我偶尔摆弄AWS已经做了我的笔记本电脑,我更强烈的使用GAE的断开; - )。

I believe you can use boto with the current App Engine release (and maybe AEP to help, though maybe that's not needed for your specific task of starting an instance and retrieving its public domain name). This post has a good overview of "lessons learned" while getting all this to work. (Sorry, no personal experience -- my occasional playing with AWS has been done from my laptop, disconnected with my more intense use of GAE;-).

如果这不会为你工作或不符合你的需求,也许你可以给我们你尝试过,它是如何失败的细节,以及什么不同的行为(S)你要找的......?

If this doesn't work for you or doesn't meet you needs, perhaps you could give us details of what you tried, how it failed, and what different behavior(s) you're looking for...?

阅读全文

相关推荐

最新文章