Skip to content

OLE AMIs for EC2

0

Hi All,

Does AWS region ap-southeast-4 (Melbourne) have latest OLE images ?

I can only see bellow, does AWS support OLE now ?

rs "Name=name,Values=OL*" "Name=architecture,Values=x86_64" --query 'sort_by(Images, &CreationDate)[-1].[ImageId,Name,OwnerId]' --output table --region ap-southeast-4

| DescribeImages | +---------------------------------------------------------------------------+ | ami-0ee0ee81499562519 | | OL7-24.11.32.79050-20241202-220153-0e31a610-ca38-440a-82d7-c523857d124f | | 569228561889 | +---------------------------------------------------------------------------+

Cheers, Damien

asked a month ago107 views

3 Answers
2
Accepted Answer

I work for a company that specializes primarily in Oracle migrations to AWS, and I can confirm that AWS does not provide its own native Oracle Enterprise Linux (OEL) AMIs in any region.

As outlined in the official AWS documentation on finding an AMI, AWS clearly distinguishes between "Amazon-provided" AMIs and third-party images. Because OEL is not natively provided, you must use one of the following options:

  • AWS Marketplace AMIs (e.g., the official images published directly by Oracle)
  • Community AMIs
  • Custom AMIs: Building and using your own hardened OEL AMIs (which is what we do as a best practice).

For context, the following operating systems are directly provided and maintained by AWS as native AMIs:

  • Amazon Linux (2023 / 2)
  • Red Hat Enterprise Linux (RHEL)
  • SUSE Linux Enterprise Server (SLES)
  • Ubuntu
  • Debian
  • Microsoft Windows Server
  • macOS

-> https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html

EXPERT

answered a month ago

EXPERT

reviewed a month ago

  • Thank you for your clear reply Florian.

    I saw 3rd party AMIs I was bit sceptic on using them, I am doing my tests in RHEL, thought I have missed something.

  • You can also import Oracle Enterprise Linux (OEL) into AWS from environments like VMware or VirtualBox, the recommended approach is to use the AWS VM Import/Export service.

    The general process is as follows:

    1. Ensure your VM meets the AWS VM Import requirements.
    2. Export your VM to a supported format (OVA, VMDK, VHD, or RAW).
    3. Upload the image file to an S3 bucket.
    4. Use the AWS CLI to initiate the import task: aws ec2 import-image --description "OEL Import" --disk-containers "Format=<format>,UserBucket={S3Bucket=<bucket-name>,S3Key=<file-name>}"

    Alternatively, for larger scale migrations, you can use the AWS Application Migration Service (MGN)." -> https://docs.aws.amazon.com/de_de/mgn/latest/ug/Supported-Operating-Systems.html#Supported-Operating-Systems-Linux

    PS: either way, ensure you have already pre installed in your source the needed env drivers - kernel - and SSM agent, Cloudwatch Agent etc. However RHEL in normally fine, just have in mind in case of need, Oracle's Smart Flash Cache is an exclusive Oracle Linux and Solaris feature ... so not available in RHEL....

0

Check the Owner ID in the displayed results: OwnerId: 569228561889 ← ⚠️ This is not the official Oracle ID. The official Oracle AWS Account (Owner ID) is 131827586825. Since you did not specify --owners in your query, unofficial or third-party AMIs may have been returned.

Search using the correct command Latest (official) OL7:

aws ec2 describe-images \
--owners 131827586825 \
--filters "Name=name,Values=OL7*" "Name=architecture,Values=x86_64" \
--query 'sort_by(Images, &CreationDate)[-1].[ImageId,Name,CreationDate]' \
--output table \
--region ap-southeast-4

answered a month ago

  • Thank you, Taka.

    I feel like official AMI images are not avaible in ap-southeast-4 region :(

    PS C:\Users\Damien> aws ec2 describe-images --owners 131827586825 --filters "Name=name,Values=OL7*" "Name=architecture,Values=x86_64" --query 'sort_by(Images, &CreationDate)[-1].[ImageId,Name,CreationDate]' --output table --region ap-southeast-4 PS C:\Users\Damien>

    PS C:\Users\Damien> aws ec2 describe-images --owners 131827586825 --filters "Name=name,Values=OL8*" "Name=architecture,Values=x86_64" --query 'sort_by(Images, &CreationDate)[-1].[ImageId,Name,CreationDate]' --output table --region ap-southeast-4

    PS C:\Users\Damien> aws ec2 describe-images --owners 131827586825 --filters "Name=name,Values=OL9*" "Name=architecture,Values=x86_64" --query 'sort_by(Images, &CreationDate)[-1].[ImageId,Name,CreationDate]' --output table --region ap-southeast-4

-1

Yes, AWS region ap-southeast-4 (Melbourne) does support Oracle Linux (OL) images. The image you're seeing (OL7-24.11.32.79050-20241202) appears to be an Oracle Linux 7 image from December 2024, which is relatively recent.

To find the latest Oracle Linux images in the Melbourne region, you may want to:

  1. Check for both OL7 and OL8/OL9 images by adjusting your name filter (e.g., "OL8*" or "OL9*")
  2. Verify you're querying the correct owner ID for official Oracle Linux images
  3. Consider that Oracle Linux images are typically published by Oracle's official AWS account

The Melbourne region (ap-southeast-4) is a fully supported AWS region with access to standard AMI offerings. If you're looking for specific Oracle Linux versions or more recent images, you might want to:

  • Check the AWS Marketplace for Oracle Linux listings
  • Verify the official Oracle Linux AMI owner ID to ensure you're seeing all available images
  • Try searching without date sorting to see the full list of available Oracle Linux AMIs

The image you found is legitimate, but there may be additional Oracle Linux versions available in that region depending on your specific requirements.

answered a month ago

EXPERT

reviewed a month ago

  • I dont see the latest images for OLE.

    PS C:\Users\Damien> aws ec2 describe-images --filters "Name=name,Values=OL9*" "Name=architecture,Values=x86_64" --query 'sort_by(Images, &CreationDate)[-1].[ImageId,Name,OwnerId]' --output table --region ap-southeast-4

    PS C:\Users\Damien> aws ec2 describe-images --filters "Name=name,Values=OL8*" "Name=architecture,Values=x86_64" --query 'sort_by(Images, &CreationDate)[-1].[ImageId,Name,OwnerId]' --output table --region ap-southeast-4 PS C:\Users\Damien>

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.