15.2. Manually uploading an AMI image to AWS by using the CLI
You can use RHEL image builder to build ami images and manually upload them directly to the Amazon AWS Cloud service provider by using the CLI.
Prerequisites
Procedure
Build the image:
# image-builder build ami \ --blueprint blueprint-name \ --aws-region us-east-1 \ --aws-bucket <example-bucket> \ --aws-ami-name <image-name> \Upload the image to AWS:
# image-builder upload <image-name> \
Verification
-
Confirm that the image upload was successful by accessing EC2 on the menu and selecting the correct region in the AWS console. The image must have the
availablestatus to indicate that it was successfully uploaded. - On the dashboard, select your image and click .