How do I launch RockyLinux 8.7 on AWS EC2?

I tried to use RockyLinux8.9 on AWS EC2, but found that RockyLinux8.9 is not supported by SSM Patch Manager.
I’m currently trying out the following AMI for using RockyLinux 8.7.

Image ID: ami-0f7246821e0bf25a4

However, when I start EC2 and check, it seems that RockyLinux 8.9 is configured.

sh-4.4$ cat /etc/redhat-release
Rocky Linux release 8.9 (Green Obsidian)

This is probably caused by running a yum update and installing the SSM agent, but is it possible to resolve this and use RockyLinux 8.7 on EC2?

thank you.

Rocky 8.7 is no longer supported. Only the current release is supported, which is 8.9. And yes, most likely updating your system moved it from 8.7 to 8.9.

It is possible to edit the /etc/yum.repos.d/*.repo files and change to use the Rocky vault url’s to ensure you stay on Rocky 8.7. But as stated, it’s not supported. If you ask for assistance because of something not working on Rocky 8.7 you will most likely be told to upgrade first before anyone will help.

1 Like

Sorry for being picky: not supported → very unsecure :wink:

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.