Skip to content

AWS EC2 Instances Benchmark

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) 3078 0.1860 0.0465 75% 5-10%
i7ie i7ie.large Intel Xeon Platinum 8559C (x86_64) 3031 0.2599 0.0546 79% <5%
m7i m7i.large Intel Xeon Platinum 8488C (x86_64) 2900 0.1008 0.0333 67% >20%
r7a r7a.large AMD EPYC 9R14 (x86_64) 2881 0.1522 0.0593 61% <5%
c7a c7a.large AMD EPYC 9R14 (x86_64) 2881 0.1026 0.0421 59% <5%
m7a m7a.large AMD EPYC 9R14 (x86_64) 2878 0.1159 0.0406 65% <5%
c7i-flex c7i-flex.large Intel Xeon Platinum 8488C (x86_64) 2875 0.0848 0.0263 69% 5-10%
c7i c7i.large Intel Xeon Platinum 8488C (x86_64) 2863 0.0892 0.0339 62% 15-20%
r7i r7i.large Intel Xeon Platinum 8488C (x86_64) 2820 0.1323 0.0450 66% 5-10%
m7i-flex m7i-flex.large Intel Xeon Platinum 8488C (x86_64) 2809 0.0958 0.0316 67% 5-10%
m6a m6a.large AMD EPYC 7R13 Processor (x86_64) 2584 0.0864 0.0328 62% 5-10%
c6a c6a.large AMD EPYC 7R13 Processor (x86_64) 2581 0.0765 0.0268 65% 15-20%
m5zn m5zn.large Intel Xeon Platinum 8252C CPU @ 3.80GHz (x86_64) 2499 0.1652 0.0628 62% <5%
z1d z1d.large Intel Xeon Platinum 8151 CPU @ 3.40GHz (x86_64) 2289 0.1860 0.0502 73% >20%
m6i m6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2288 0.0960 0.0317 67% 10-15%
r6i r6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2287 0.1260 0.0441 65% <5%
m6id m6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2284 0.1187 0.0368 69% >20%
c6id c6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2284 0.1008 0.0373 63% 10-15%
m6idn m6idn.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2281 0.1591 0.0557 65% <5%
r6id r6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2280 0.1512 0.0514 66% 10-15%
r6idn r6idn.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2280 0.1954 0.0606 69% <5%
c6i c6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2277 0.0850 0.0280 67% 5-10%
m4 m4.large Intel Xeon CPU E5-2686 v4 @ 2.30GHz (x86_64) 1551 0.1000 0.0420 58% <5%
m5a m5a.large AMD EPYC 7571 (x86_64) 1396 0.0860 0.0335 61% >20%
t3a t3a.medium AMD EPYC 7571 (x86_64) 1353 0.0376 0.0113 70% >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) 3078 0.1860 0.0539 71% <5%
i7ie i7ie.large Intel Xeon Platinum 8559C (x86_64) 3031 0.2599 0.0702 73% 10-15%
m7i m7i.large Intel Xeon Platinum 8488C (x86_64) 2900 0.1008 0.0343 66% 5-10%
r7a r7a.large AMD EPYC 9R14 (x86_64) 2881 0.1522 0.0426 72% 5-10%
c7a c7a.large AMD EPYC 9R14 (x86_64) 2881 0.1026 0.0390 62% <5%
m7a m7a.large AMD EPYC 9R14 (x86_64) 2878 0.1159 0.0359 69% <5%
c7i-flex c7i-flex.large Intel Xeon Platinum 8488C (x86_64) 2875 0.0848 0.0280 67% <5%
c7i c7i.large Intel Xeon Platinum 8488C (x86_64) 2863 0.0892 0.0312 65% 15-20%
r7i r7i.large Intel Xeon Platinum 8488C (x86_64) 2820 0.1323 0.0423 68% <5%
m7i-flex m7i-flex.large Intel Xeon Platinum 8488C (x86_64) 2809 0.0958 0.0316 67% <5%
m6a m6a.large AMD EPYC 7R13 Processor (x86_64) 2584 0.0864 0.0320 63% 5-10%
c6a c6a.large AMD EPYC 7R13 Processor (x86_64) 2581 0.0765 0.0268 65% 5-10%
m5zn m5zn.large Intel Xeon Platinum 8252C CPU @ 3.80GHz (x86_64) 2499 0.1652 0.0595 64% <5%
z1d z1d.large Intel Xeon Platinum 8151 CPU @ 3.40GHz (x86_64) 2289 0.1860 0.0539 71% >20%
m6i m6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2288 0.0960 0.0365 62% 5-10%
r6i r6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2287 0.1260 0.0441 65% <5%
m6id m6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2284 0.1187 0.0356 70% 10-15%
c6id c6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2284 0.1008 0.0292 71% 15-20%
m6idn m6idn.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2281 0.1591 0.0461 71% <5%
r6id r6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2280 0.1512 0.0484 68% >20%
r6idn r6idn.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2280 0.1954 0.0567 71% <5%
c6i c6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2277 0.0850 0.0340 60% 5-10%
m4 m4.large Intel Xeon CPU E5-2686 v4 @ 2.30GHz (x86_64) 1551 0.1000 0.0360 64% <5%
m5a m5a.large AMD EPYC 7571 (x86_64) 1396 0.0860 0.0318 63% 5-10%
t3a t3a.medium AMD EPYC 7571 (x86_64) 1353 0.0376 0.0128 66% >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) 3078 0.2080 0.0936 55% <5%
i7ie i7ie.large Intel Xeon Platinum 8559C (x86_64) 3031 Not available Not available - -
m7i m7i.large Intel Xeon Platinum 8488C (x86_64) 2900 0.1124 0.0517 54% 5-10%
r7a r7a.large AMD EPYC 9R14 (x86_64) 2881 0.1703 0.0783 54% 5-10%
c7a c7a.large AMD EPYC 9R14 (x86_64) 2881 0.1101 0.0496 55% 5-10%
m7a m7a.large AMD EPYC 9R14 (x86_64) 2878 0.1292 0.0633 51% <5%
c7i-flex c7i-flex.large Intel Xeon Platinum 8488C (x86_64) 2875 0.0910 0.0409 55% <5%
c7i c7i.large Intel Xeon Platinum 8488C (x86_64) 2863 0.0958 0.0421 56% 10-15%
r7i r7i.large Intel Xeon Platinum 8488C (x86_64) 2820 0.1480 0.0666 55% 5-10%
m7i-flex m7i-flex.large Intel Xeon Platinum 8488C (x86_64) 2809 0.1067 0.0480 55% <5%
m6a m6a.large AMD EPYC 7R13 Processor (x86_64) 2584 0.0963 0.0453 53% <5%
c6a c6a.large AMD EPYC 7R13 Processor (x86_64) 2581 0.0821 0.0394 52% <5%
m5zn m5zn.large Intel Xeon Platinum 8252C CPU @ 3.80GHz (x86_64) 2499 0.1841 0.0810 56% <5%
z1d z1d.large Intel Xeon Platinum 8151 CPU @ 3.40GHz (x86_64) 2289 0.2080 0.0936 55% >20%
m6i m6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2288 0.1070 0.0492 54% 5-10%
r6i r6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2287 0.1410 0.0649 54% 15-20%
m6id m6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2284 0.1323 0.0595 55% <5%
c6id c6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2284 0.1144 0.0492 57% 5-10%
m6idn m6idn.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2281 0.1778 0.0800 55% <5%
r6id r6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2280 0.1680 0.0756 55% <5%
r6idn r6idn.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2280 0.2176 0.0936 57% <5%
c6i c6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2277 0.0912 0.0410 55% <5%
m4 m4.large Intel Xeon CPU E5-2686 v4 @ 2.30GHz (x86_64) 1551 0.1110 0.0544 51% <5%
m5a m5a.large AMD EPYC 7571 (x86_64) 1396 0.0960 0.0528 45% <5%
t3a t3a.medium AMD EPYC 7571 (x86_64) 1353 0.0408 0.0184 55% <5%

🇩🇪 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) 3078 0.2250 0.0675 70% <5%
i7ie i7ie.large Intel Xeon Platinum 8559C (x86_64) 3031 0.3105 0.0528 83% <5%
m7i m7i.large Intel Xeon Platinum 8488C (x86_64) 2900 0.1207 0.0435 64% >20%
r7a r7a.large AMD EPYC 9R14 (x86_64) 2881 0.1835 0.0716 61% 10-15%
c7a c7a.large AMD EPYC 9R14 (x86_64) 2881 0.1171 0.0387 67% 5-10%
m7a m7a.large AMD EPYC 9R14 (x86_64) 2878 0.1389 0.0528 62% <5%
c7i-flex c7i-flex.large Intel Xeon Platinum 8488C (x86_64) 2875 0.0968 0.0329 66% 10-15%
c7i c7i.large Intel Xeon Platinum 8488C (x86_64) 2863 0.1018 0.0285 72% 15-20%
r7i r7i.large Intel Xeon Platinum 8488C (x86_64) 2820 0.1596 0.0575 64% 5-10%
m7i-flex m7i-flex.large Intel Xeon Platinum 8488C (x86_64) 2809 0.1147 0.0413 64% 5-10%
m6a m6a.large AMD EPYC 7R13 Processor (x86_64) 2584 0.1035 0.0435 58% >20%
c6a c6a.large AMD EPYC 7R13 Processor (x86_64) 2581 0.0873 0.0358 59% >20%
m5zn m5zn.large Intel Xeon Platinum 8252C CPU @ 3.80GHz (x86_64) 2499 0.1979 0.0950 52% <5%
z1d z1d.large Intel Xeon Platinum 8151 CPU @ 3.40GHz (x86_64) 2289 0.2250 0.0720 68% >20%
m6i m6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2288 0.1150 0.0437 62% >20%
r6i r6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2287 0.1520 0.0608 60% >20%
m6id m6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2284 0.1428 0.0486 66% 15-20%
c6id c6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2284 0.1166 0.0361 69% 15-20%
m6idn m6idn.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2281 0.1895 0.0701 63% 10-15%
r6id r6id.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2280 0.1817 0.0690 62% 5-10%
r6idn r6idn.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2280 0.2328 0.0582 75% 10-15%
c6i c6i.large Intel Xeon Platinum 8375C CPU @ 2.90GHz (x86_64) 2277 0.0970 0.0310 68% >20%
m4 m4.large Intel Xeon CPU E5-2686 v4 @ 2.30GHz (x86_64) 1551 0.1200 0.0456 62% 5-10%
m5a m5a.large AMD EPYC 7571 (x86_64) 1396 0.1040 0.0468 55% <5%
t3a t3a.medium AMD EPYC 7571 (x86_64) 1353 0.0432 0.0190 56% >20%

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
i8g i8g.large Neoverse-V2 (aarch64) 1934 0.1716 0.0549 68% <5%
r8g r8g.large Neoverse-V2 (aarch64) 1933 0.1178 0.0436 63% >20%
m8g m8g.large Neoverse-V2 (aarch64) 1932 0.0898 0.0314 65% 10-15%
c8g c8g.large Neoverse-V2 (aarch64) 1911 0.0798 0.0295 63% <5%
r7gd r7gd.large AWS Graviton3 1544 0.1361 0.0504 63% 15-20%
m7g m7g.large AWS Graviton3 1543 0.0816 0.0302 63% 5-10%
c7gd c7gd.large AWS Graviton3 1543 0.0907 0.0381 58% <5%
m7gd m7gd.large AWS Graviton3 1542 0.1068 0.0320 70% 10-15%
r7g r7g.large AWS Graviton3 1542 0.1071 0.0428 60% >20%
c7g c7g.large AWS Graviton3 1542 0.0725 0.0341 53% <5%
m6g m6g.large Neoverse-N1 (aarch64) 1098 0.0770 0.0262 66% 10-15%
c6gd c6gd.large Neoverse-N1 (aarch64) 1097 0.0768 0.0300 61% <5%
c6g c6g.large Neoverse-N1 (aarch64) 1097 0.0680 0.0265 61% 5-10%
m6gd m6gd.large Neoverse-N1 (aarch64) 1097 0.0904 0.0353 61% <5%
t4g t4g.medium Neoverse-N1 (aarch64) 1075 0.0336 0.0101 70% >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
i8g i8g.large Neoverse-V2 (aarch64) 1934 0.1716 0.0480 72% 10-15%
r8g r8g.large Neoverse-V2 (aarch64) 1933 0.1178 0.0389 67% 15-20%
m8g m8g.large Neoverse-V2 (aarch64) 1932 0.0898 0.0296 67% 5-10%
c8g c8g.large Neoverse-V2 (aarch64) 1911 0.0798 0.0319 60% >20%
r7gd r7gd.large AWS Graviton3 1544 0.1361 0.0436 68% 5-10%
m7g m7g.large AWS Graviton3 1543 0.0816 0.0269 67% 5-10%
c7gd c7gd.large AWS Graviton3 1543 0.0907 0.0327 64% 5-10%
m7gd m7gd.large AWS Graviton3 1542 0.1068 0.0331 69% 5-10%
r7g r7g.large AWS Graviton3 1542 0.1071 0.0311 71% 10-15%
c7g c7g.large AWS Graviton3 1542 0.0725 0.0326 55% 5-10%
m6g m6g.large Neoverse-N1 (aarch64) 1098 0.0770 0.0239 69% 10-15%
c6gd c6gd.large Neoverse-N1 (aarch64) 1097 0.0768 0.0315 59% 10-15%
c6g c6g.large Neoverse-N1 (aarch64) 1097 0.0680 0.0286 58% <5%
m6gd m6gd.large Neoverse-N1 (aarch64) 1097 0.0904 0.0515 43% >20%
t4g t4g.medium Neoverse-N1 (aarch64) 1075 0.0336 0.0144 57% >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
i8g i8g.large Neoverse-V2 (aarch64) 1934 Not available Not available - -
r8g r8g.large Neoverse-V2 (aarch64) 1933 0.1318 0.0580 56% <5%
m8g m8g.large Neoverse-V2 (aarch64) 1932 0.1000 0.0100 90% <5%
c8g c8g.large Neoverse-V2 (aarch64) 1911 0.0853 0.0392 54% <5%
r7gd r7gd.large AWS Graviton3 1544 0.1512 0.0665 56% 10-15%
m7g m7g.large AWS Graviton3 1543 0.0910 0.0410 55% <5%
c7gd c7gd.large AWS Graviton3 1543 0.1030 0.0464 55% 5-10%
m7gd m7gd.large AWS Graviton3 1542 0.1191 0.0524 56% <5%
r7g r7g.large AWS Graviton3 1542 0.1199 0.0552 54% <5%
c7g c7g.large AWS Graviton3 1542 0.0775 0.0372 52% <5%
m6g m6g.large Neoverse-N1 (aarch64) 1098 0.0860 0.0387 55% <5%
c6gd c6gd.large Neoverse-N1 (aarch64) 1097 0.0872 0.0401 54% 10-15%
c6g c6g.large Neoverse-N1 (aarch64) 1097 0.0730 0.0365 50% <5%
m6gd m6gd.large Neoverse-N1 (aarch64) 1097 0.1008 0.0444 56% <5%
t4g t4g.medium Neoverse-N1 (aarch64) 1075 0.0368 0.0169 54% >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
i8g i8g.large Neoverse-V2 (aarch64) 1934 0.2046 0.0532 74% 10-15%
r8g r8g.large Neoverse-V2 (aarch64) 1933 0.1421 0.0412 71% 5-10%
m8g m8g.large Neoverse-V2 (aarch64) 1932 0.1075 0.0387 64% <5%
c8g c8g.large Neoverse-V2 (aarch64) 1911 0.0907 0.0399 56% <5%
r7gd r7gd.large AWS Graviton3 1544 0.1635 0.0491 70% >20%
m7g m7g.large AWS Graviton3 1543 0.0978 0.0352 64% 5-10%
c7gd c7gd.large AWS Graviton3 1543 0.1049 0.0357 66% 5-10%
m7gd m7gd.large AWS Graviton3 1542 0.1285 0.0398 69% <5%
r7g r7g.large AWS Graviton3 1542 0.1292 0.0413 68% <5%
c7g c7g.large AWS Graviton3 1542 0.0825 0.0413 50% 15-20%
m6g m6g.large Neoverse-N1 (aarch64) 1098 0.0920 0.0285 69% 5-10%
c6gd c6gd.large Neoverse-N1 (aarch64) 1097 0.0890 0.0401 55% >20%
c6g c6g.large Neoverse-N1 (aarch64) 1097 0.0776 0.0241 69% 5-10%
m6gd m6gd.large Neoverse-N1 (aarch64) 1097 0.1090 0.0349 68% 5-10%
t4g t4g.medium Neoverse-N1 (aarch64) 1075 0.0384 0.0100 74% 15-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: