Furthermore, for EC2 instances that are not using Amazon Linux 2, the distribution’s implementation of SMBIOS might represent the UUID in little-endian format, therefore the “EC2” characters do not appear at the beginning of the UUID.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify_ec2_instances.html