Detect whether a Linux execution host is cloud based or not
0
votes
3
answers
1765
views
Presently I'm checking by running dmidecode -s bios-version and grepping against major cloud vendors. Ex:
`# From an amazon ec2 VM
$ sudo dmidecode -s bios-version
4.2.amazon`
Is there a generic and more reliable approach for finding this?
Asked by nithinj
(180 rep)
Apr 7, 2017, 12:04 PM
Last activity: Mar 21, 2023, 03:06 AM
Last activity: Mar 21, 2023, 03:06 AM