ecs.n2.medium by Alibaba Cloud

ecs.n2.medium is a ecs.n2 family (2 vCPUs, 8 GiB RAM, 0 GB storage) server offered by Alibaba Cloud with 2 vCPUs, 8 GiB of memory and 0 GB of storage. The pricing starts at 0.0209 USD per hour.
2 vCPU
8 GiB Memory
Spare SCore
2,194
(All-cores)
1,107
(Single-core)

Specifications

Server Metadata

Vendor ID
alicloud
Name
ecs.n2.medium
Description
ecs.n2 family (2 vCPUs, 8 GiB RAM, 0 GB storage)
Family
Shared
Series
ecs.n2
Hw Virt
Average Time To Start
18.33
Status
active
Observed At
2026-11-15T14:39:26.849182

Availability

Region / IDSpotOndemand
Beijing (CN) / cn-beijing
0.0209 USD/h
0.149 USD/h
Guangzhou (CN) / cn-guangzhou
-
0.149 USD/h
Hangzhou (CN) / cn-hangzhou
-
0.149 USD/h
Shanghai (CN) / cn-shanghai
-
0.149 USD/h
Shenzhen (CN) / cn-shenzhen
-
0.149 USD/h

Processor

vCPUs
2
Hypervisor
KVM
CPU Allocation
Dedicated
CPU Cores
1
CPU Speed
2.5 GHz
CPU Architecture
x86_64
CPU Manufacturer
Intel
CPU Family
Xeon
CPU Model
8269CY
CPU L1D Cache
32 KiB
CPU L1D Cache Total
32 KiB
CPU L1I Cache
32 KiB
CPU L1I Cache Total
32 KiB
CPU L2 Cache
1 MiB
CPU L2 Cache Total
1 MiB
CPU L3 Cache
36 MiB
CPU L3 Cache Total
36 MiB
CPU Flags
fpu, vme, de, pse, tsc, msr, pae, mce, cx8, apic, sep, mtrr, pge, mca, cmov, pat, pse36, clflush, mmx, fxsr, sse, sse2, ss, ht, syscall, nx, pdpe1gb, rdtscp, lm, constant_tsc, rep_good, nopl, xtopology, nonstop_tsc, cpuid, tsc_known_freq, pni, pclmulqdq, ssse3, fma, cx16, pcid, sse4_1, sse4_2, x2apic, movbe, popcnt, tsc_deadline_timer, aes, xsave, avx, f16c, rdrand, hypervisor, lahf_lm, abm, 3dnowprefetch, pti, ibrs, ibpb, stibp, fsgsbase, tsc_adjust, bmi1, hle, avx2, smep, bmi2, erms, invpcid, rtm, mpx, avx512f, avx512dq, rdseed, adx, smap, avx512cd, avx512bw, avx512vl, xsaveopt, xsavec, xgetbv1, arat
Ecpus
2
Scalability
100

System Resources and Accelerators

Memory
Memory Amount
8 GiB
Memory Amount Actual
8 GiB
Accelerators
Accelerator Count
0
Accelerator Memory Min
0 MiB
Accelerator Memory Total
0 MiB
Accelerators
    Storage
    Storage Size
    0 GB
    Storages
      Compatible Storage IDs
      cloud_essd-pl0, cloud_essd-pl1, cloud_essd-pl2, cloud_essd-pl3, cloud_ssd, cloud_efficiency
      Network
      Inbound Traffic
      0 GB/month
      Outbound Traffic
      0 GB/month
      IPv4
      0

      CPU and System Topology

      Server Description

      An entry-level, dedicated dual-vCPU virtual server with balanced memory for lightweight, predictable general-purpose computing tasks.

      Alibaba Cloud ecs.n2.medium is an entry-level general-purpose instance utilizing the KVM hypervisor and an x86_64 Intel Xeon 8269CY processor clocked at 2.5 GHz. It features 2 vCPUs from a single dedicated physical core with hyper-threading, paired with 8.0 GB of RAM. The instance does not include local storage or GPU accelerators. Performance benchmarks place this server in the lower tiers, with stress-ng single-core and multi-core metrics scoring in the bottom 25% and 10% respectively, and uncached memory bandwidth remaining below 17 GB/sec. Given these performance characteristics, the ecs.n2.medium is best suited for lightweight, predictable workloads such as basic web serving, small-scale Redis caching, and minor database operations where dedicated CPU allocation is preferred over high-throughput computing.

      Economics

      Average Price per Region

      Prices per Zone

      Lowest Prices

      Performance

      Workload Profiles

      0.15Score
      Precomputed compound score for Cache Intensive workloads. A weighted average (geometric mean) of benchmark scores compared to their medians: score = ∏ (x_i / m_i)^(w_i / Σw). The score of 1.0 represents a synthetic baseline server with the median performance of each component benchmark; 0.5 means roughly half the performance; and 2.0 means twice the performance of that reference profile. Component weights: 50% Redis RPS (pipeline=1, SET), 20% Redis RPS (pipeline=16, SET), 10% PassMark Memory Mark (composite), 10% Memory bandwidth (read, 16 MB ~ L3), 10% PassMark single-thread CPU. Rationale for component selection: In-memory key-value store workload, mixing direct Redis performance metrics with memory speed and latency benchmarks, and single-core CPU performance profiles.
      Component Score Weight Impact
      Raw Reference Normalized Target Actual
      Redis RPS (pipeline=1, SET) 166,643 ops/sec 1,933,252 ops/sec 0.089 50.00% 50.00% -70.00%
      Redis RPS (pipeline=16, SET) 1,351,085 ops/sec 11,814,424 ops/sec 0.12 20.00% 20.00% -35.00%
      PassMark Memory Mark (composite) 1,212 2,408 0.5 10.00% 10.00% -6.70%
      Memory bandwidth (read, 16 MB ~ L3) 25,158 MB/sec 108,674 MB/sec 0.23 10.00% 10.00% -14.00%
      PassMark single-thread CPU 1,680 Mops/s 2,365 Mops/s 0.71 10.00% 10.00% -3.40%

      Memory Bandwidth

      Compression

      OpenSSL

      Passmark CPU Scores

      BENCHMARKSCORE
      Mark
      2,642
      Compression
      33,397
      Encryption
      820
      Extended Instructions
      2,514
      Floating Point Maths
      4,808
      Integer Maths
      6,333
      Physics
      352
      Prime Numbers
      21
      Single Threaded
      1,680
      String Sorting
      4,363

      Passmark Memory Scores

      BENCHMARKSCORE
      Memory Mark
      1,212
      Database Operations
      553
      Memory Latency
      79
      Memory Read Cached
      19,369
      Memory Read Uncached
      6,435
      Memory Write
      7,137

      Stress-ng Stressors

      CPU integerSingleMultiScaling
      atomic
      206.25 197.26 0.96×
      bitops
      100,242 197,979 1.98×
      branch
      122,080 241,592 1.98×
      funccall
      448.83 886.44 1.98×
      funcret
      9,103 18,061 1.98×
      hash
      103,417 204,141 1.97×
      intmath
      17,918 34,884 1.95×
      nop
      151,724 297,290 1.96×
      prime
      260,602 512,096 1.97×
      rotate
      76,630 151,018 1.97×
      str
      658,191 1,247,320 1.90×
      wcs
      416,943 828,674 1.99×
      CryptographySingleMultiScaling
      crypt
      1,934 3,803 1.97×
      CompressionSingleMultiScaling
      jpeg
      474.21 926.71 1.95×
      zlib
      48.24 67.65 1.40×
      HypervisorSingleMultiScaling
      clock
      8,133 15,897 1.95×
      clone
      398.44 511.18 1.28×
      context
      514.99 1,015 1.97×
      cpu-sched
      61.84 132.08 2.14×
      eventfd
      25,089 72,971 2.91×
      fault
      7,919 15,161 1.91×
      fork
      2,549 5,316 2.09×
      getrandom
      31,987 62,970 1.97×
      hrtimers
      143,337 147,796 1.03×
      mprotect
      163,364 166,052 1.02×
      mtx
      8,282,151 77,076,009 9.31×
      munmap
      1,769 3,083 1.74×
      null
      48,563 95,548 1.97×
      pipe
      257,915 360,697 1.40×
      priv-instr
      144,261 280,596 1.95×
      resched
      127,229 73,194 0.58×
      switch
      75,579 205,051 2.71×
      timermix
      108,525 209,639 1.93×
      tlb-shootdown
      3,451 4,908 1.42×
      tsc
      788,862 1,551,895 1.97×
      usersyscall
      93,843 181,443 1.93×
      vdso
      62,869,110 123,692,027 1.97×
      vfork
      19,690 47,492 2.41×
      x86syscall
      534,176 1,049,445 1.96×
      yield
      598,719 572,201 0.96×
      zero
      473,483 932,497 1.97×
      CPU float/SIMDSingleMultiScaling
      eigen
      12,926 25,455 1.97×
      expmath
      2,136 4,202 1.97×
      fma
      521,411 1,025,270 1.97×
      fp
      132 259.19 1.96×
      fractal
      4.2 8.2 1.95×
      hyperbolic
      2,230 4,387 1.97×
      logmath
      3,621 7,126 1.97×
      matrix
      2,491 4,890 1.96×
      matrix-3d
      550.65 864.4 1.57×
      monte-carlo
      31.57 62.65 1.98×
      mpfr
      969.07 1,910 1.97×
      powmath
      1,261 2,483 1.97×
      trig
      1,366 2,681 1.96×
      veccmp
      12,309 24,002 1.95×
      vecfp
      1,792 3,531 1.97×
      vecmath
      1,679 3,301 1.97×
      vecshuf
      746.04 1,460 1.96×
      vecwide
      44,860 88,372 1.97×
      AlgorithmsSingleMultiScaling
      bitonicsort
      5.8 11.2 1.93×
      bsearch
      197.6 390.46 1.98×
      bubblesort
      0.6 1.2 2.00×
      fibsearch
      223.02 438.75 1.97×
      heapsort
      6.6 13.2 2.00×
      hsearch
      4,048 7,987 1.97×
      insertionsort
      6.4 12.8 2.00×
      malloc
      1,627,930 3,587,617 2.20×
      mcontend
      101.1 311.82 3.08×
      mergesort
      21.2 41.8 1.97×
      qsort
      15 29.6 1.97×
      skiplist
      4,121 8,191 1.99×
      tree
      1.2 2.2 1.83×
      MemorySingleMultiScaling
      cache
      256,032 265,207 1.04×
      cachehammer
      359,811 696,138 1.93×
      cacheline
      16.75 34.89 2.08×
      l1cache
      180.29 354.55 1.97×
      memcpy
      302.78 595.29 1.97×
      memrate
      0.94 1.87 1.99×
      memthrash
      56.16 82.62 1.47×
      ptr-chase
      27,418,765 34,022,699 1.24×
      spinmem
      166.19 78.8 0.47×
      stream
      31.78 126.27 3.97×
      vm
      16,286 58,256 3.58×

      Stress-ng Raw Scores

      Stress-ng Relative Multicore Performance

      Static Web Server

      Redis

      Alternatives

      Servers of the Same Family

      INSTANCEvCPUsMEMORYAccelerators
      ecs.t5-lc2m1.nano 10.5 GiB0
      ecs.n1.tiny 11 GiB0
      ecs.s6-c1m1.small 11 GiB0
      ecs.t5-lc1m1.small 11 GiB0
      ecs.n1.small 12 GiB0
      ecs.n4.small 12 GiB0
      ecs.s6-c1m2.small 12 GiB0

      Similar Servers

      INSTANCEVENDORvCPUsMEMORYAccelerators

      ecs.n2.medium FAQs