4 ms·
EC2 instances are using the Xen hypervisor. At least that's what reported by hostnamectl.
by 9front 2y ago
EC2 instances are using the Xen hypervisor. At least that's what reported by hostnamectl.
- wmf 2y agoEC2 migrated off Xen around ten years ago. Only really old instances should be using Xen or Xen emulation.
- 9front 2y agoI'm puzzled by your comment. On an EC2 instance of AL2023 deployed on us-east-1 region this is the output of hostnamectl: [ec2-user][~]$ hostnamectl Static hostname: ip-x-x-x-x.ec2.internal Icon name: computer-vm Chassis: vm Machine ID: ec2d54f27fc534ea74980638ccc33d96 Boot ID: 6caf18b7ed3647819c1985c11f128142 Virtualization: xen Operating System: Amazon Linux 2023.5.20240903 CPE OS Name: cpe:2.3:o:amazon:amazon_linux:2023 Kernel: Linux 6.1.106-116.188.amzn2023.x86_64 Architecture: x86-64 Hardware Vendor: Xen Hardware Model: HVM domU Firmware Version: 4.11.amazon
- wmf 2y agoWhat instance type is it?
- bonzini 2y agoKVM can emulate the Xen hypercall interface. Amazon is not using Xen anymore.
- simcop2387 2y agoI'm not quite sure the status of it at least, but reported back in 2017 that they are moving off Xen https://www.theregister.com/2017/11/07/aws_writes_new_kvm_based_hypervisor_to_make_its_cloud_go_faster https://www.theregister.com/2017/11/07/aws_writes_new_kvm_ba... It could be that it's not all over and tied to specific machine types still, or there's something they've done to make it report to the guest still that it's xen based for some compatibility reasons.
- blaerk 2y agoI think some older instance types are still on xen, later types run kvm (code named nitro.. perhaps?). I can’t remember the exact type but last year we ran into some weird issues related to some kernel regression that only affected some instances in our fleet, turns out they where all the same type and apparently ran on xen according to aws support