Instances›AWS EC2›c5n›c5n.2xlarge
Compute
vCPUs8
Memory21 GiB
Mem / vCPU2.63 GiB
ProcessorXeon Platinum 8124M
Clock speed3 GHz
Architecturex86_64
Storage
TypeEBS only
Bandwidth4,750 Mbps
Throughput593.75 MB/s
IOPS20,000
Networking
PerformanceUp to 25 Gigabit
Max ENIs4
IPv6Yes
GPUNone
Family sizes
c5n.large2 vCPU · 5.25 GiB
c5n.xlarge4 vCPU · 10.5 GiB
c5n.2xlarge8 vCPU · 21 GiB
c5n.4xlarge16 vCPU · 42 GiB
c5n.9xlarge36 vCPU · 96 GiB
c5n.18xlarge72 vCPU · 192 GiB
c5n.metal72 vCPU · 192 GiB
c5n.2xlarge

The c5n.2xlarge pairs 8 vCPU with 21 GiB of RAM, the 2.63 GiB-per-vCPU ratio that marks a compute-optimized instance. In the name, "c" stands for compute, "5" is the generation, "n" marks enhanced networking and "2xlarge" is the size within the c5n family. It runs on Intel Xeon Platinum 8124M at 3 GHz, and AWS introduced it in November 2018. AWS has since shipped c6i, c7i, c8i and c9g; c6i.2xlarge is the direct replacement at this size, scoring 136,840 CoreMark/s against this instance's 122,681 — roughly 12% more throughput for the same vCPU count. ch.vs1.2xlarge is the closest Spot shape: 16 vCPU and 32 GiB, so 8 more vCPU and 11 GiB more memory, about 91% below the US East (N. Virginia) on-demand rate.

Pricing by region
1 hr
RegionAWS on-demandAWS Spot1-yr Reserved3-yr ReservedRackspace SpotYou save
US East, N. Virginia$0.432$0.172$0.272$0.157$0.041
$0.391 savings
US Central, Chicagono AWS region$0.011
US Central, Dallasno AWS region$0.111
Hong Kong$0.572$0.360$0.223$0.041
$0.531 savings
Sydney, Australia$0.564$0.233$0.355$0.219$0.041
$0.523 savings
London, UK$0.512$0.189$0.323$0.214$0.131
$0.381 savings
US West, San Jose$0.540$0.148$0.340$0.217$0.002
$0.538 savings
US Central, Dallas 2no AWS region$0.122
US East, N. Virginia 2$0.432$0.172$0.272$0.157$0.162
$0.270 savings
When to use it
Good for
  • ●High-traffic web and API serving
  • ●Scientific modelling and simulation
  • ●Ad serving and real-time bidding
  • ●Workloads that fit inside 21 GiB of RAM
  • ●Parallel work that can occupy 8 vCPU
  • ●Network-heavy services — AWS rates this size at Up to 25 Gigabit
Avoid if
  • ●Starting a new deployment. c6i.2xlarge is the newer generation at this size.
  • ●The working set needs more than 21 GiB of RAM
  • ●More than 2.63 GiB of RAM per vCPU is needed — that ratio is fixed for the whole family
  • ●Local NVMe or instance-store disk is a hard requirement
  • ●GPU or FPGA acceleration is needed
  • ●Memory-hungry applications. A memory-optimized family gives more RAM per dollar.
$315/mo on AWS on-demand against $30/mo on Rackspace Spot for the equivalent — market-priced, not list-priced.
  • Spot sells spare capacity at market prices. It is the cheapest compute on the internet.
  • Prices are set by supply and demand. You pay what the market decides.
  • Compute is delivered as fully managed Kubernetes. All infrastructure is taken care of.
  • Egress costs $0.01/GB after the free allowance. AWS charges $0.09/GB.
Build your Cloudspace
Frequently asked questions