When launching a new EC2 instance, I can select between 2 different Amazon Linux images:
- Amazon Linux 2 AMI (HVM), SSD Volume Type
- Amazon Linux AMI 2018.03.0 (HVM), SSD Volume Type
What is the difference?
The first option is your image is a more stripped down/bare bones Linux image while the second includes commonly used packages/tools that are used when creating hosted services (such as AWS command line tools and Ruby).
I have an Amazon Linux 2 AMI (HVM), SSD Volume Type and you can see that extra packages like java and ruby are not installed.
The primary differences between Amazon Linux 2 and Amazon Linux AMI are:
For more click here