Skip to content

AWS EC2 Instances Benchmark

AWS sometimes uses custom CPU types that you won’t find listed on sites like Passmark, etc. So it’s hard to know which one to pick, if you’re looking for the fastest CPU around.

On this page we provide up-to-date CPU benchmarks for most EC2 instance types, across many regions. This can be used to make an informed decision on the best instance to select for your workflows, based on the processor model, architecture, and single-thread CPU speed.

And since speed isn’t everything, the benchmark also lists the on-demand and spot pricing for each instance type, with the trend over time. Percentage of interruption for each instance type is also provided, giving you a clear picture of what to expect in terms of stability when using spot instances.

Note that this benchmark is regularly updated so that RunsOn users can choose the best-performing EC2 instance for their GitHub Actions workflows.

Results

Note: All instance types are launched using the 2 vCPU variant. As always, it’s best to perform your own benchmarks yourself, but this can at least give you some hints in the right direction.

x64 EC2 instances

🇺🇸 North Virginia (us-east-1)

Family Instance type Processor CPU speed (avg) $/hour on-demand $/hour spot (avg) Spot savings over on-demand Spot % interruption
r7iz r7iz.large Intel Xeon Gold 6455B (x86_64) 3116 0.1860 0.0186 90% 15-20%
r7a r7a.large AMD EPYC 9R14 (x86_64) 2886 0.1522 0.0350 77% 15-20%
m7a m7a.large AMD EPYC 9R14 (x86_64) 2884 0.1159 0.0313 73% 15-20%
c7a c7a.large AMD EPYC 9R14 (x86_64) 2866 0.1026 0.0298 71% 10-15%
r7i r7i.large Intel Xeon Platinum 8488C (x86_64) 2856 0.1323 0.0397 70% 5-10%
c7i-flex c7i-flex.large Intel Xeon Platinum 8488C (x86_64) 2844 0.0848 0.0237 72% 15-20%
m7i-flex m7i-flex.large Intel Xeon Platinum 8488C (x86_64) 2836 0.0958 0.0278 71% 10-15%
m7i m7i.large Intel Xeon Platinum 8488C (x86_64) 2817 0.1008 0.0302 70% >20%
c7i c7i.large Intel Xeon Platinum 8488C (x86_64) 2786 0.0892 0.0321 64% >20%
c6a c6a.large AMD EPYC 7R13 Processor (x86_64) 2592 0.0765 0.0230 70% >20%
m6a m6a.large AMD EPYC 7R13 Processor (x86_64) 2588 0.0864 0.0285 67% 5-10%
m5zn m5zn.large Intel Xeon Platinum 8252C CPU @ 3.80GHz (x86_64) 2488 0.1652 0.0479 71% <5%
r6i r6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2295 0.1260 0.0391 69% 10-15%
r6idn r6idn.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2293 0.1954 0.0469 76% <5%
c6i c6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2291 0.0850 0.0238 72% >20%
m6id m6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2291 0.1187 0.0332 72% >20%
m6idn m6idn.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2291 0.1591 0.0477 70% <5%
m6i m6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2290 0.0960 0.0288 70% >20%
c6id c6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2290 0.1008 0.0302 70% 10-15%
r6id r6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2286 0.1512 0.0454 70% 10-15%
z1d z1d.large Intel Xeon Platinum 8151 CPU @ 3.40GHz (x86_64) 2265 0.1860 0.0353 81% >20%
m3 m3.large Intel Xeon CPU E5-2670 v2 @ 2.50GHz (x86_64) 1706 0.1330 0.0319 76% <5%
m4 m4.large Intel Xeon CPU E5-2686 v4 @ 2.30GHz (x86_64) 1552 0.1000 0.0330 67% 10-15%
m5a m5a.large AMD EPYC 7571 (x86_64) 1401 0.0860 0.0301 65% >20%
t3a t3a.medium AMD EPYC 7571 (x86_64) 1332 0.0376 0.0109 71% 15-20%

🇺🇸 Oregon (us-west-2)

Family Instance type Processor CPU speed (avg) $/hour on-demand $/hour spot (avg) Spot savings over on-demand Spot % interruption
r7iz r7iz.large Intel Xeon Gold 6455B (x86_64) 3116 0.1860 0.0205 89% 15-20%
r7a r7a.large AMD EPYC 9R14 (x86_64) 2886 0.1522 0.0183 88% 5-10%
m7a m7a.large AMD EPYC 9R14 (x86_64) 2884 0.1159 0.0278 76% <5%
c7a c7a.large AMD EPYC 9R14 (x86_64) 2866 0.1026 0.0236 77% 5-10%
r7i r7i.large Intel Xeon Platinum 8488C (x86_64) 2856 0.1323 0.0198 85% <5%
c7i-flex c7i-flex.large Intel Xeon Platinum 8488C (x86_64) 2844 0.0848 0.0220 74% >20%
m7i-flex m7i-flex.large Intel Xeon Platinum 8488C (x86_64) 2836 0.0958 0.0201 79% 5-10%
m7i m7i.large Intel Xeon Platinum 8488C (x86_64) 2817 0.1008 0.0192 81% <5%
c7i c7i.large Intel Xeon Platinum 8488C (x86_64) 2786 0.0892 0.0241 73% >20%
c6a c6a.large AMD EPYC 7R13 Processor (x86_64) 2592 0.0765 0.0214 72% 5-10%
m6a m6a.large AMD EPYC 7R13 Processor (x86_64) 2588 0.0864 0.0242 72% <5%
m5zn m5zn.large Intel Xeon Platinum 8252C CPU @ 3.80GHz (x86_64) 2488 0.1652 0.0330 80% <5%
r6i r6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2295 0.1260 0.0252 80% <5%
r6idn r6idn.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2293 0.1954 0.0391 80% 5-10%
c6i c6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2291 0.0850 0.0255 70% 10-15%
m6id m6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2291 0.1187 0.0285 76% >20%
m6idn m6idn.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2291 0.1591 0.0334 79% <5%
m6i m6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2290 0.0960 0.0298 69% 10-15%
c6id c6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2290 0.1008 0.0262 74% 15-20%
r6id r6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2286 0.1512 0.0438 71% 5-10%
z1d z1d.large Intel Xeon Platinum 8151 CPU @ 3.40GHz (x86_64) 2265 0.1860 0.0391 79% >20%
m3 m3.large Intel Xeon CPU E5-2670 v2 @ 2.50GHz (x86_64) 1706 0.1330 0.0333 75% <5%
m4 m4.large Intel Xeon CPU E5-2686 v4 @ 2.30GHz (x86_64) 1552 0.1000 0.0360 64% <5%
m5a m5a.large AMD EPYC 7571 (x86_64) 1401 0.0860 0.0267 69% 15-20%
t3a t3a.medium AMD EPYC 7571 (x86_64) 1332 0.0376 0.0102 73% >20%

🇮🇪 Ireland (eu-west-1)

Family Instance type Processor CPU speed (avg) $/hour on-demand $/hour spot (avg) Spot savings over on-demand Spot % interruption
r7iz r7iz.large Intel Xeon Gold 6455B (x86_64) 3116 0.2080 0.0853 59% <5%
r7a r7a.large AMD EPYC 9R14 (x86_64) 2886 0.1703 0.0732 57% 5-10%
m7a m7a.large AMD EPYC 9R14 (x86_64) 2884 0.1292 0.0568 56% <5%
c7a c7a.large AMD EPYC 9R14 (x86_64) 2866 0.1101 0.0451 59% 10-15%
r7i r7i.large Intel Xeon Platinum 8488C (x86_64) 2856 0.1480 0.0637 57% 5-10%
c7i-flex c7i-flex.large Intel Xeon Platinum 8488C (x86_64) 2844 0.0910 0.0418 54% <5%
m7i-flex m7i-flex.large Intel Xeon Platinum 8488C (x86_64) 2836 0.1067 0.0459 57% 5-10%
m7i m7i.large Intel Xeon Platinum 8488C (x86_64) 2817 0.1124 0.0472 58% 5-10%
c7i c7i.large Intel Xeon Platinum 8488C (x86_64) 2786 0.0958 0.0402 58% 15-20%
c6a c6a.large AMD EPYC 7R13 Processor (x86_64) 2592 0.0821 0.0361 56% <5%
m6a m6a.large AMD EPYC 7R13 Processor (x86_64) 2588 0.0963 0.0404 58% <5%
m5zn m5zn.large Intel Xeon Platinum 8252C CPU @ 3.80GHz (x86_64) 2488 0.1841 0.0828 55% 10-15%
r6i r6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2295 0.1410 0.0606 57% 10-15%
r6idn r6idn.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2293 0.2176 0.0914 58% <5%
c6i c6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2291 0.0912 0.0374 59% 5-10%
m6id m6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2291 0.1323 0.0648 51% 10-15%
m6idn m6idn.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2291 0.1778 0.0765 57% 15-20%
m6i m6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2290 0.1070 0.0471 56% 5-10%
c6id c6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2290 0.1144 0.0481 58% 5-10%
r6id r6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2286 0.1680 0.0706 58% 10-15%
z1d z1d.large Intel Xeon Platinum 8151 CPU @ 3.40GHz (x86_64) 2265 0.2080 0.0874 58% >20%
m3 m3.large Intel Xeon CPU E5-2670 v2 @ 2.50GHz (x86_64) 1706 0.1460 0.0584 60% <5%
m4 m4.large Intel Xeon CPU E5-2686 v4 @ 2.30GHz (x86_64) 1552 0.1110 0.0455 59% <5%
m5a m5a.large AMD EPYC 7571 (x86_64) 1401 0.0960 0.0470 51% <5%
t3a t3a.medium AMD EPYC 7571 (x86_64) 1332 0.0408 0.0167 59% >20%

🇩🇪 Frankfurt (eu-central-1)

Family Instance type Processor CPU speed (avg) $/hour on-demand $/hour spot (avg) Spot savings over on-demand Spot % interruption
r7iz r7iz.large Intel Xeon Gold 6455B (x86_64) 3116 0.2250 0.0630 72% <5%
r7a r7a.large AMD EPYC 9R14 (x86_64) 2886 0.1835 0.0697 62% 5-10%
m7a m7a.large AMD EPYC 9R14 (x86_64) 2884 0.1389 0.0514 63% <5%
c7a c7a.large AMD EPYC 9R14 (x86_64) 2866 0.1171 0.0387 67% >20%
r7i r7i.large Intel Xeon Platinum 8488C (x86_64) 2856 0.1596 0.0575 64% 5-10%
c7i-flex c7i-flex.large Intel Xeon Platinum 8488C (x86_64) 2844 0.0968 0.0232 76% <5%
m7i-flex m7i-flex.large Intel Xeon Platinum 8488C (x86_64) 2836 0.1147 0.0333 71% <5%
m7i m7i.large Intel Xeon Platinum 8488C (x86_64) 2817 0.1207 0.0398 67% 10-15%
c7i c7i.large Intel Xeon Platinum 8488C (x86_64) 2786 0.1018 0.0285 72% >20%
c6a c6a.large AMD EPYC 7R13 Processor (x86_64) 2592 0.0873 0.0279 68% 15-20%
m6a m6a.large AMD EPYC 7R13 Processor (x86_64) 2588 0.1035 0.0331 68% 5-10%
m5zn m5zn.large Intel Xeon Platinum 8252C CPU @ 3.80GHz (x86_64) 2488 0.1979 0.0772 61% <5%
r6i r6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2295 0.1520 0.0593 61% 10-15%
r6idn r6idn.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2293 0.2328 0.0582 75% >20%
c6i c6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2291 0.0970 0.0291 70% >20%
m6id m6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2291 0.1428 0.0457 68% 5-10%
m6idn m6idn.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2291 0.1895 0.0493 74% 15-20%
m6i m6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2290 0.1150 0.0483 58% >20%
c6id c6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2290 0.1166 0.0326 72% 10-15%
r6id r6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2286 0.1817 0.0599 67% 5-10%
z1d z1d.large Intel Xeon Platinum 8151 CPU @ 3.40GHz (x86_64) 2265 0.2250 0.0585 74% >20%
m3 m3.large Intel Xeon CPU E5-2670 v2 @ 2.50GHz (x86_64) 1706 0.1580 0.0458 71% <5%
m4 m4.large Intel Xeon CPU E5-2686 v4 @ 2.30GHz (x86_64) 1552 0.1200 0.0468 61% <5%
m5a m5a.large AMD EPYC 7571 (x86_64) 1401 0.1040 0.0416 60% <5%
t3a t3a.medium AMD EPYC 7571 (x86_64) 1332 0.0432 0.0156 64% 10-15%

arm64 EC2 instances

🇺🇸 North Virginia (us-east-1)

Family Instance type Processor CPU speed (avg) $/hour on-demand $/hour spot (avg) Spot savings over on-demand Spot % interruption
r8g r8g.large Neoverse-V2 (aarch64) 1935 0.1178 0.0295 75% >20%
m8g m8g.large Neoverse-V2 (aarch64) 1934 0.0898 0.0099 89% 5-10%
c8g c8g.large Neoverse-V2 (aarch64) 1933 0.0798 0.0080 90% <5%
r7g r7g.large AWS Graviton3 1544 0.1071 0.0193 82% 5-10%
m7gd m7gd.large AWS Graviton3 1544 0.1068 0.0256 76% <5%
c7g c7g.large AWS Graviton3 1544 0.0725 0.0246 66% <5%
r7gd r7gd.large AWS Graviton3 1544 0.1361 0.0367 73% 10-15%
c7gd c7gd.large AWS Graviton3 1544 0.0907 0.0136 85% 5-10%
m7g m7g.large AWS Graviton3 1543 0.0816 0.0212 74% 5-10%
c6gd c6gd.large Neoverse-N1 (aarch64) 1098 0.0768 0.0230 70% 5-10%
c6g c6g.large Neoverse-N1 (aarch64) 1098 0.0680 0.0211 69% 5-10%
m6gd m6gd.large Neoverse-N1 (aarch64) 1098 0.0904 0.0253 72% 10-15%
m6g m6g.large Neoverse-N1 (aarch64) 1089 0.0770 0.0223 71% 10-15%
t4g t4g.medium Neoverse-N1 (aarch64) 1069 0.0336 0.0087 74% >20%

🇺🇸 Oregon (us-west-2)

Family Instance type Processor CPU speed (avg) $/hour on-demand $/hour spot (avg) Spot savings over on-demand Spot % interruption
r8g r8g.large Neoverse-V2 (aarch64) 1935 0.1178 0.0118 90% 5-10%
m8g m8g.large Neoverse-V2 (aarch64) 1934 0.0898 0.0144 84% <5%
c8g c8g.large Neoverse-V2 (aarch64) 1933 0.0798 0.0183 77% <5%
r7g r7g.large AWS Graviton3 1544 0.1071 0.0236 78% 5-10%
m7gd m7gd.large AWS Graviton3 1544 0.1068 0.0139 87% >20%
c7g c7g.large AWS Graviton3 1544 0.0725 0.0196 73% <5%
r7gd r7gd.large AWS Graviton3 1544 0.1361 0.0163 88% 5-10%
c7gd c7gd.large AWS Graviton3 1544 0.0907 0.0136 85% 5-10%
m7g m7g.large AWS Graviton3 1543 0.0816 0.0204 75% 5-10%
c6gd c6gd.large Neoverse-N1 (aarch64) 1098 0.0768 0.0207 73% 10-15%
c6g c6g.large Neoverse-N1 (aarch64) 1098 0.0680 0.0197 71% 5-10%
m6gd m6gd.large Neoverse-N1 (aarch64) 1098 0.0904 0.0380 58% >20%
m6g m6g.large Neoverse-N1 (aarch64) 1089 0.0770 0.0108 86% 5-10%
t4g t4g.medium Neoverse-N1 (aarch64) 1069 0.0336 0.0094 72% >20%

🇮🇪 Ireland (eu-west-1)

Family Instance type Processor CPU speed (avg) $/hour on-demand $/hour spot (avg) Spot savings over on-demand Spot % interruption
r8g r8g.large Neoverse-V2 (aarch64) 1935 0.1318 0.0211 84% 5-10%
m8g m8g.large Neoverse-V2 (aarch64) 1934 Not available Not available - -
c8g c8g.large Neoverse-V2 (aarch64) 1933 Not available Not available - -
r7g r7g.large AWS Graviton3 1544 0.1199 0.0492 59% >20%
m7gd m7gd.large AWS Graviton3 1544 0.1191 0.0524 56% <5%
c7g c7g.large AWS Graviton3 1544 0.0775 0.0326 58% <5%
r7gd r7gd.large AWS Graviton3 1544 0.1512 0.0635 58% <5%
c7gd c7gd.large AWS Graviton3 1544 0.1030 0.0443 57% <5%
m7g m7g.large AWS Graviton3 1543 0.0910 0.0391 57% 5-10%
c6gd c6gd.large Neoverse-N1 (aarch64) 1098 0.0872 0.0366 58% <5%
c6g c6g.large Neoverse-N1 (aarch64) 1098 0.0730 0.0321 56% <5%
m6gd m6gd.large Neoverse-N1 (aarch64) 1098 0.1008 0.0433 57% <5%
m6g m6g.large Neoverse-N1 (aarch64) 1089 0.0860 0.0370 57% <5%
t4g t4g.medium Neoverse-N1 (aarch64) 1069 0.0368 0.0151 59% >20%

🇩🇪 Frankfurt (eu-central-1)

Family Instance type Processor CPU speed (avg) $/hour on-demand $/hour spot (avg) Spot savings over on-demand Spot % interruption
r8g r8g.large Neoverse-V2 (aarch64) 1935 0.1421 0.0412 71% <5%
m8g m8g.large Neoverse-V2 (aarch64) 1934 0.1075 0.0441 59% <5%
c8g c8g.large Neoverse-V2 (aarch64) 1933 0.0907 0.0472 48% <5%
r7g r7g.large AWS Graviton3 1544 0.1292 0.0401 69% 5-10%
m7gd m7gd.large AWS Graviton3 1544 0.1285 0.0424 67% <5%
c7g c7g.large AWS Graviton3 1544 0.0825 0.0437 47% >20%
r7gd r7gd.large AWS Graviton3 1544 0.1635 0.0425 74% 5-10%
c7gd c7gd.large AWS Graviton3 1544 0.1049 0.0388 63% 5-10%
m7g m7g.large AWS Graviton3 1543 0.0978 0.0352 64% 10-15%
c6gd c6gd.large Neoverse-N1 (aarch64) 1098 0.0890 0.0338 62% >20%
c6g c6g.large Neoverse-N1 (aarch64) 1098 0.0776 0.0217 72% 15-20%
m6gd m6gd.large Neoverse-N1 (aarch64) 1098 0.1090 0.0262 76% >20%
m6g m6g.large Neoverse-N1 (aarch64) 1089 0.0920 0.0258 72% >20%
t4g t4g.medium Neoverse-N1 (aarch64) 1069 0.0384 0.0100 74% >20%

Analysis

What's the fastest AWS EC2 instance for x86_64?

The fastest EC2 instance for x86_64 architectures varies based on the specific workload and AWS region. However, instances from the 7th generation (c7a, c7i, m7a, m7i, r7a, r7iz) families come with the fastest CPUs.

What's the fastest AWS EC2 instance for ARM64?

For ARM64 architectures, the instances from the AWS Graviton series (e.g., c7g, m7g) are designed to provide the best performance. These instances are optimized for a variety of workloads and offer a significant price-performance advantage for applications built for ARM64. r8g Graviton4 instances are the latest and fastest ARM64 instances, but not yet available in all regions.

About those benchmarks

Benchmarks are performed using the Passmark benchmarking tool ↗, using the CPU Single Threaded metric.

Last updated: