如何分享快照和ami?
我有 ebs 支持的实例的快照。我已经注册了它的图像。我想与其他帐户分享我的快照。共享成功,但当我尝试从中创建图像时,它显示错误(如下所示)
"Invalid snapshot snap-xxxxxx" You are not authorized.
所以,我的问题是:
- 如何才能成功?
- 我是否需要自己创建一个卷,以便创建的新映像具有一个卷?
- 如果我将 ami 共享给其他用户,并且其他用户从中运行一个实例。谁将为这个运行实例付费?
- 欢迎任何其他想法。
I have a snapshot of my ebs backed instance. I have registered an image of it. I wanted to share my snapshot with other account. Sharing was successful but when I tried to create an image from it, It showed an error (shown below)
"Invalid snapshot snap-xxxxxx" You are not authorized.
So, My questions are:
- How can I make it successful ?
- Do I need to create a volume by myself so that new image being created has a volume?
- If I share an ami to other user, and other user runs an instance from it. who will be paying for this running instance ?
- Any other ideas are welcome.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
几乎可以肯定,您没有像您认为的那样申请启动权限。
运行命令
并确保从快照生成的 AMI 具有允许其他账户启动它的启动权限。
You almost certainly did not apply the launch permission that you thought you did.
Run the command
and make sure that the AMI generated from the snapshot has launch permissions that allow the other account to launch it.