Identifying Amazon Linux instances and versions
It can be important to be able to determine what Linux distribution, and what version of that distribution an OS image or instance is. Amazon Linux provides mechanisms to identify Amazon Linux apart from other Linux distributions, as well as to identify what release of Amazon Linux the image is.
This section will cover the different methods that can be used, their limitations, and go through some examples of their use.