[CentOS-devel] first-use feedback on https://wiki.centos.org/Cloud/AWS

Wed Jul 18 08:42:03 UTC 2018
Beni Cherniavsky-Paskin <cben at redhat.com>

Hi.  I'm _completely_ new to AWS, tried to run a centos image (via
ansible), here are things I bumped into and doc suggestions:

1. First I tried a non-marketplace image, because I needed ami-... id
and this was right there:

    | CentOS Linux 7 | 1801_01 | 2018-Jan-14 | us-east-1 |
ami-4bf3d731 | x86_64 | HVM |

    "Instance creation failed => AuthFailure: Not authorized for
images: [ami-4bf3d731]"
    Don't really care why, but details in case you do:
https://gist.github.com/cben/2ab1200592153c4fff64fd63bc77c6ef

Andrew Butcher told me he uses ami-4bf3d731 from Marketplace.
Tried to use it directly, got "OptInRequired: In order to use this AWS
Marketplace product you need to accept terms and subscribe. To do so
please visit https://aws.amazon.com/marketplace/pp?sku=aw0evgkw8e5c1q413zgy5pjce"
Did work after going through Marketplace Subscribe process.

2. For an API user (ansible etc) that just needs an ami-... id, and is
newbie to AWS, it'd be helpful if near "Images" section marketplace
links it would the briefly explain the steps something like:
  "You need to click "Continue to Subscribe", then in Configuration
screen you can choose version & region and get AMI id.  You need to
accept terms (and the $0/hr price) once before you can use the AMI."

3. "Finding AMI ids" section should also mention you have to
"Subscribe" and accept before using an ImageId from `describe-images`
command.
   Or if there is a command-line way to subscribe, that'd be even better!

Regards,