In python, how do you launch an Amazon EC2 instanc

2019-07-07 01:10发布

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.

1条回答
手持菜刀,她持情操
2楼-- · 2019-07-07 02:02

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;-).

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...?

查看更多
登录 后发表回答