3.4. Uploading a RHEL image to AWS by using the AWS console
To run a RHEL instance on Amazon Web Services (AWS), you must first upload the RHEL image to AWS. To configure and manage the RHEL EC2 instance on AWS, use the awscli2 utility.
3.4.1. Converting and pushing an image to S3 by using the AWS console 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
You can convert a RHEL image in the qcow2 image format to OVA, VHD, VHDX, VMDK, or raw by using the qemu-img utility, and then upload it to Amazon S3 storage by using the AWS console.
Prerequisites
- You have created a Red Hat account.
- You have signed up and set up an AWS account.
- You have created an Amazon S3 bucket by using the Amazon S3 console to upload the RHEL image.
Procedure
Run
qemu-imgto convert.qcow2image to.rawimage format:# qemu-img convert -f qcow2 -O raw rhel-10.0-sample.qcow2 rhel-10.0-sample.raw- Upload the image to the S3 bucket by using Amazon S3 console
Verification
- Check the AWS S3 Console to confirm successful upload.