The c6g.xlarge is a compute-optimized AWS EC2 instance: 4 vCPU and 8 GiB of memory, 2.00 GiB per vCPU. In the name, "c" stands for compute, "6" is the generation, "g" marks AWS Graviton (ARM) processors and "xlarge" is the size within the c6g family. It runs on AWS Graviton2 Processor at 2.5 GHz, and AWS introduced it in June 2020. AWS has since shipped c7g, c8g and c9g; c7g.xlarge is the direct replacement at this size, scoring 99,782 CoreMark/s against this instance's 79,512 — roughly 25% more throughput for the same vCPU count. Rackspace Spot's ch.vs2.large is a like-for-like substitute at 4 vCPU and 8 GiB, about 85% below the US East (N. Virginia) on-demand rate.
Match qualityx86 substitution
c6g.xlarge is Graviton (arm64). Rackspace Spot does not have arm64 servers, so ch.vs2.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.