Blame image-types/rhel8/amazon-ec2.md
|
Packit |
63bb0d |
# Amazon EC2 Image
|
|
Packit |
63bb0d |
|
|
Packit |
63bb0d |
This image is meant to be used in [Amazon Elastic Compute Cloud (EC2)][ec2], a
|
|
Packit |
63bb0d |
popular cloud computing platform. It conforms to Amazon’s
|
|
Packit |
63bb0d |
[guidelines][guidelines] and [requirements][requirements] for shared AMIs.
|
|
Packit |
63bb0d |
|
|
Packit |
63bb0d |
|
|
Packit |
63bb0d |
## Implementation Choices
|
|
Packit |
63bb0d |
|
|
Packit |
63bb0d |
EC2 uses Amazon Machine Images (AMIs) internally, which can only be created
|
|
Packit |
63bb0d |
inside EC2. An image in a standard format (ova, vmdk, vhd/x, or raw) must be
|
|
Packit |
63bb0d |
imported from S3 storage. *osbuild-composer* generates this image type in the
|
|
Packit |
63bb0d |
RAW format for the best compatibility with AWS.
|
|
Packit |
63bb0d |
|
|
Packit |
63bb0d |
This image is available for `x86_64` and `aarch64`, because those are the only
|
|
Packit |
63bb0d |
architectures available in EC2.
|
|
Packit |
63bb0d |
|
|
Packit |
63bb0d |
EC2 doesn't require any specialized firmware. Thus, in order to keep the
|
|
Packit |
63bb0d |
resulting image size small, all `-firmware` packages are excluded. An exception
|
|
Packit |
63bb0d |
is the `linux-firmware` package, which cannot be excluded because the `kernel`
|
|
Packit |
63bb0d |
package depends on it.
|
|
Packit |
63bb0d |
|
|
Packit |
63bb0d |
`dracut-config-rescue` is excluded from the image, because the boot loader
|
|
Packit |
63bb0d |
entry it provides is broken.
|
|
Packit |
63bb0d |
|
|
Packit |
63bb0d |
|
|
Packit |
63bb0d |
[ec2]: https://aws.amazon.com/ec2
|
|
Packit |
63bb0d |
[guidelines]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/building-shared-amis.html
|
|
Packit |
63bb0d |
[requirements]: https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html
|