在Python中,你如何从一个谷歌的App Engine应用程序推出的Amazon EC2实例? [英] In python, how do you launch an Amazon EC2 instance from within a Google App Engine app?

查看:194
本文介绍了在Python中,你如何从一个谷歌的App Engine应用程序推出的Amazon EC2实例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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 的帮助,但也许这不是用于启动一个实例,并获取其公共域名)的特定任务。 <一href="http://blog.localkinegrinds.com/2009/04/02/lessons-learned-google-app-engine-app-engine-patch-django-boto/">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...?

这篇关于在Python中,你如何从一个谷歌的App Engine应用程序推出的Amazon EC2实例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆