Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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!

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.3k views
Welcome To Ask or Share your Answers For Others

1 Answer

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...