Amazon EC2 API 的有效实例状态是什么?
Amazon EC2 API 的有效实例状态是什么? 当前的 API 文档中似乎没有定义它。 谷歌并没有出现太多。 到目前为止,我知道:
- 0:待处理
- 16:正在运行
- 32:正在关闭
- 48:已终止,
但我很确定我之前见过 error
状态。
谢谢!
What are the valid instanceState's for the Amazon EC2 API? It doesn't seem to be defined in the current API doc. Google doesn't turn up much. So far I know about:
- 0: pending
- 16: running
- 32: shutting-down
- 48: terminated
but I'm pretty sure I've seen an error
state before.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
截至发布时,当前状态为:
并且可以在 InstanceStateType
文档还提到了状态代码
272
,它“通常表示运行实例的主机出现问题”。 他们建议首先尝试重新启动,如果不行,请在 EC2 论坛上发帖不解决问题。As of posting, the current states are:
And the documentation can be found within the Amazon Elastic Compute Cloud API reference under InstanceStateType
The docs also mention a state code
272
which "typically indicates a problem with the host running the instance". They suggest trying a reboot in the first instance, and posting on the EC2 forums if that doesn't solve the issue.文档似乎已被移动,但我仍然找不到它们。 这里还有两个状态码
The docs seem to have been moved, and I still can't find them. Here are two more state codes