i4g.xlarge is AWS's storage-optimized EC2 size at 4 vCPU and 32 GiB. In the name, "i" is I/O, meaning local storage, "4" is the generation, "g" marks AWS Graviton (ARM) processors and "xlarge" is the size within the i4g family. It runs on AWS Graviton2 Processor at 2.5 GHz, and AWS introduced it in May 2023. AWS has since shipped i7i and i8g; i7i.xlarge is the direct replacement at this size, scoring 99,482 CoreMark/s against this instance's 78,498 — roughly 27% more throughput for the same vCPU count. On Rackspace Spot the same shape is mh.vs1.large — 4 vCPU, 32 GiB, matched on both dimensions, about 93% below the US East (N. Virginia) on-demand rate.
Match qualityx86 substitution
i4g.xlarge is Graviton (arm64). Rackspace Spot does not have arm64 servers, so mh.vs1.large is an x86_64 substitute with similar specs.
You will need x86 builds of your container images. Most software rebuilds without changes, but anything with compiled native code needs a real rebuild rather than a retag. Speed per core also differs between the two chips, so it is worth testing before deciding how many nodes to run.
No local diski4g.xlarge comes with 1 × 937 GB NVMe SSD attached to the machine. Spot nodes use network storage only, so that disk doesn't come with it. If you were using it as fast scratch space, you'd move to a persistent volume or object storage, which are slower to read.