How are EC2 instance types named?
BeginnerConceptEC2, Auto Scaling and Load Balancing
Answer
m7g.2xlarge decodes as family m (general purpose), generation 7, attribute g (Graviton/ARM; i = Intel, a = AMD, d = local NVMe, n = network optimized), size 2xlarge. Families: t/m general, c compute, r/x memory, i/d storage, p/g GPU, hpc.
Newer generations are usually cheaper per unit of performance, and Graviton (g) types often give 20–40% better price-performance for compatible workloads.