如何从 SDK 选择加入 AWS EC2 AMI? [英] How to opt-in for AWS EC2 AMI from SDK?

查看:19
本文介绍了如何从 SDK 选择加入 AWS EC2 AMI?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 CentOS AMI ami-21682673 从EC2 开发工具包.AMI 本身是一种市场产品,它需要接受许可条款.

我得到的错误:

<前>为了使用此 AWS Marketplace 产品您需要接受条款并订阅.为此,请访问http://aws.amazon.com/marketplace/pp?sku=eggbgx9svw4xhzs1omttdv29q

可以接受来自 AWS 网页的条款.但我发现无法从 SDK 接受它.有什么解决方法吗?

我知道订阅一旦被接受就会保存在 AWS 中.但我的方案是针对没有订阅和仅 SDK 访问权限的空白新配置文件.感谢您的帮助!

解决方案

Marketplace 发布的 AMI 的条款和条件只能通过网站接受,不能直接通过命令行或 API.需要向客户展示 EULA(对于 Marketplace 中的 Debian AMI,展示给客户的是 Debian Social Contract).

I am trying to launch an AWS EC2 instance using CentOS AMI ami-21682673 from EC2 SDK. The AMI itself is a marketplace product and it requires an acceptance of the licensing terms.

The error I am getting:

In order to use this AWS Marketplace product 
you need to accept terms and subscribe. To do so please visit 
http://aws.amazon.com/marketplace/pp?sku=eggbgx9svw4xhzs1omttdv29q

It is possible to accept terms from AWS web page. But I found no way to accept it from SDK. Any workarounds for this?

I know that the subscription will be saved in AWS once accepted. But my scenario is for a blank new profile with no subscriptions and SDK access only. Thanks for any help!

解决方案

The terms and conditions for Marketplace published AMIs can only be accepted via the web site, and not via the command line or API directly. The EULA is required to be shown to the customer (in the case of the Debian AMIs in Marketplace, it is the Debian Social Contract which is displayed to the customer).

这篇关于如何从 SDK 选择加入 AWS EC2 AMI?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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