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

  • You have an Access Key ID configured in the AWS IAM account manager.
  • You have a writable S3 bucket prepared.
  • You have a defined blueprint.

Procedure

  1. Build the image:

    # image-builder build ami \
    --blueprint blueprint-name \
    --aws-region us-east-1 \
    --aws-bucket <example-bucket> \
    --aws-ami-name <image-name> \
  2. Upload the image to AWS:

    # image-builder upload <image-name> \

Verification

  1. 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 available status to indicate that it was successfully uploaded.
  2. On the dashboard, select your image and click Launch.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部