Skip to main content
Background Image
  1. Cloud Exit Mudslide/

Analyzing Alibaba Cloud Server Computing Cost

·641 words·4 mins· ·
Ruohang Feng
Author
Ruohang Feng
Pigsty Founder, @Vonng
Table of Contents

On Crazy Thursday, February 29, 2024, Alibaba Cloud staged a major price cut, with promotional content flying everywhere. As the cloud computing mudslide, many followers asked me to comment. The flashy 20%, 50% off banners look impressive, but outsiders see the spectacle while insiders see the real deal: the major cost driver in cloud services is storage.

The real cash cow for cloud providers - ESSD - didn’t drop a penny. The price cuts for EC2 and OSS weren’t on list prices, but on the minimum annual contract discounts - mainstream instance types can get about 10% off on 1, 3, and 5-year plans. So basically they cut nothing, and it’s utterly useless for customers already enjoying lower commercial discounts.

We’ve analyzed before: cloud ECS computing can cost ten times local self-built infrastructure, while cloud ESSD storage can cost one hundred times local alternatives. Cloud databases RDS fall somewhere in between. A 10% computing discount compared to these premiums is like scratching an itch.

However, since Alibaba Cloud claimed major price cuts, let me pull out the baseline resource prices and do another cost comparison using 2024 prices.


TL;DR
#

Computing prices use RMB/core·month as the unified unit. Cloud server premiums are 5-12x self-built infrastructure.

As self-built reference cases, DHH and Tantan’s large-scale compute/storage server unit costs are 20 RMB/(core·month). Including 64x ratio local NVMe storage brings it to 22.4 RMB/(core·month). Examining Alibaba Cloud’s domestic tier-1 availability zones’ standard c/g/r instance families’ latest three generations average computing prices, we can conclude:

Without considering storage, cloud on-demand, monthly, annual, and 5-year prepaid unit prices are 187 RMB, 125 RMB, 81 RMB, 37 RMB respectively, representing 8x, 5x, 3x, 1x premiums over self-built 20 RMB. With common ratio block storage (1 core:64GB, ESSD PL3), unit prices become: 571 RMB, 381 RMB, 298 RMB, 165 RMB, representing 24x, 16x, 12x, 6x premiums over self-built 22.4 RMB.

Key NumbersOn-Demand PriceMonthly PriceAnnual Price3-Year Prepaid5-Year Prepaid
With 64x Storage Price571 RMB381 RMB298 RMB181 RMB165 RMB
Multiple of Self-Built25x17x13x8x7x
Computing Unit Price187 RMB125 RMB81 RMB53 RMB37 RMB
Multiple of Self-Built9x6x4x3x2x

We then further quantitatively analyze Alibaba Cloud server pricing data, discovering the most impactful factors on unit prices: additional storage, payment method, availability zone, instance family (chip architecture, instance generation, memory ratio), and explain how the above numbers were calculated.

As a conclusion: even after the so-called “major price cuts,” public cloud computing can hardly be called “cheap.” In fact, cloud server costs are extremely high, especially for large-scale computing and large NVMe storage. If your business requires substantial block storage or more than one physical server’s worth of computing, you should seriously calculate these costs and consider alternative options.


Pure Computing Prices
#

We sampled the most representative domestic availability zones and the latest three generations of c/g/r instance families’ pure computing prices, plotted as charts.

As shown in the table, the standard price for unit computing (1C4G) is the monthly price at 125 RMB. Based on this: on-demand requires an additional 50% premium at 187 RMB; annual prepaid gets 65% discount at 81 RMB, 3-year gets 44% discount at 53 RMB, 5-year prepaid gets 30% discount at 37 RMB.

Key NumbersOn-Demand PriceMonthly PriceAnnual Price3-Year Prepaid5-Year Prepaid
Computing Unit Price187 RMB125 RMB81 RMB53 RMB37 RMB
Multiple of Self-Built9x6x4x3x2x
Self-Built Cost Savings %89%84%75%62%46%
Self-Built Cost Reduces to %11%16%25%38%54%

We can use DHH’s 2023 cloud exit self-built case and my personal experience with Tantan’s off-cloud IDC self-built case as comparisons. Excluding NVMe storage, DHH’s self-built pure computing unit price is 22 RMB, Tantan’s self-built unit price is 18 RMB.

class="flex px-4 py-3 rounded-md bg-primary-100 dark:bg-primary-900"

<span

  class="text-primary-400 ltr:pr-3 rtl:pl-3 flex items-center"

>
<span class="relative block icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M506.3 417l-213.3-364c-16.33-28-57.54-28-73.98 0l-213.2 364C-10.59 444.9 9.849 480 42.74 480h426.6C502.1 480 522.6 445 506.3 417zM232 168c0-13.25 10.75-24 24-24S280 154.8 280 168v128c0 13.25-10.75 24-23.1 24S232 309.3 232 296V168zM256 416c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 401.9 273.4 416 256 416z"/></svg>

<span

  class="dark:text-neutral-300"

><strong>Please note, these cost figures already include server costs plus allocated costs for switches/racks/network/power/maintenance/operations personnel. DHH&rsquo;s unit price includes 50% non-server costs, while Tantan&rsquo;s includes 20%. If only counting server costs, self-built unit prices can drop to 10 RMB. If calculated with container platform 500% oversell ratios&hellip;</strong></span>

Therefore, it’s clear that cloud pure computing prices are 2-9 times self-built! To achieve the “ultimate elasticity” and “pay-as-you-go” touted by cloud providers, you need to pay an additional 8x cost. If you don’t care about elasticity at all and use it like normal server procurement with 5-year amortization, you still need to pay an additional 1x cost.


Slaughter Plate Pricing
#

If cloud computing premiums in multi-year prepaid Saving Plans are barely acceptable, then cloud storage premiums are outright slaughter plates.

Large-scale computing often requires high-performance local storage - for example, an industry-common ratio specification is 1 core:64GB NVMe storage. Both Tantan and DHH’s self-built cases use this ratio. In Tantan’s server case, 64 cores with 3.2TB NVMe SSD, procurement price 6000 yuan, current market price 2788 RMB. In DHH’s case, 192 cores with 12TB NVMe SSD, procurement price $2390. With standard 5-year warranty and financial amortization, unit price RMB/(GB·month) is approximately 0.02.

Unit Price: RMB/GiB·monthIOPSBandwidthCapacityOn-Demand PriceMonthly PriceAnnual Price3+ Year Prepaid
ESSD Cloud Disk PL010K180 MB/s40G-32T0.760.500.430.25
ESSD Cloud Disk PL150K350 MB/s20G-32T1.511.000.850.50
ESSD Cloud Disk PL2100K750 MB/s461G-32T3.022.001.701.00
ESSD Cloud Disk PL31M4 GB/s1.2T-32T6.054.003.402.00
Local NVMe SSD3M7 GB/sMax 64T per card0.020.020.020.02

Aside from system disks/HDDs and other budget options, Alibaba Cloud offers four different specification levels of block storage: ESSD PL0 ~ PL3. Their unit prices are: 0.5, 1, 2, 4 respectively. ESSD PL3’s performance barely approaches local Gen3 NVMe SSD, but its 4 RMB unit price is 200 times local self-built! Of course ESSD has its own discount strategy - with 3+ year prepaid, ESSD can get maximum 50% discount, but that’s still 100x premium!

Key NumbersOn-Demand PriceMonthly PriceAnnual Price3-Year Prepaid5-Year Prepaid
With 64x Storage Price571 RMB381 RMB298 RMB181 RMB165 RMB
Multiple of Self-Built25x17x13x8x7x
Self-Built Cost Savings %96%94%92%88%86%
Self-Built Cost Reduces to %4%6%8%12%14%

In “Is Cloud Disk a Slaughter Plate” we’ve already detailed the performance, reliability, and cost comparison between cloud disks and local disks, so here we mainly use ESSD PL3 closest to local NVMe SSD for comparison. If we configure 64 GiB PL3 block storage per CPU core, the adjusted cloud server unit price becomes: 381 RMB. Based on this: on-demand requires additional 50% premium at 571 RMB; annual prepaid at 298 RMB, 3-year gets 44% discount at 181 RMB, 5-year prepaid gets 30% discount at 165 RMB.

Compared to DHH/Tantan’s self-built unit price with storage of 22.4 RMB, cloud server unit prices reach 6-25 times self-built!

Chart: Unit price comparison with 64x storage


Cloud Storage’s Impact on Unit Prices
#

Among factors affecting server prices, storage has the largest variance.

For example, with the standard configuration above: 1 core:4x memory:64x storage, when using different ESSD specifications, storage costs as a percentage of server costs vary dramatically.

With PL3 ESSD, storage cost percentage can reach 67% ~ 77%. We can also choose worse budget disks as storage, trading IOPS/bandwidth throughput performance for “cost reduction.” For example, using PL2 sacrifices 90% IOPS performance to reduce this ratio to 51% ~ 63%, PL1/PL Auto sacrifices 95% performance to reduce this ratio to 34% ~ 46%. PL0 sacrifices 99% performance to reduce this ratio to 20% ~ 30%.

Cloud Disk Spec5-Year Prepaid4-Year Prepaid3-Year Prepaid2-Year PrepaidAnnual PriceMonthly PriceOn-Demand
+PL3 ESSD165 RMB172 RMB181 RMB247 RMB298 RMB381 RMB571 RMB
+PL2 ESSD101 RMB108 RMB117 RMB158 RMB190 RMB253 RMB379 RMB
+PL1 ESSD69 RMB76 RMB85 RMB113 RMB135 RMB189 RMB283 RMB
+PL0 ESSD53 RMB60 RMB69 RMB91 RMB108 RMB157 RMB235 RMB
Pure Computing Price37 RMB44 RMB53 RMB68 RMB81 RMB125 RMB187 RMB

Note that ESSD block storage and ECS computing have different discount structures. Since SSD’s maximum discount (50% off) is weaker than pure computing’s maximum discount (30% off), storage cost percentages increase with longer prepaid periods.

Cloud Disk Spec5-Year Prepaid4-Year Prepaid3-Year Prepaid2-Year PrepaidAnnual PriceMonthly PriceOn-Demand
+PL3 ESSD77%75%71%72%73%67%67%
+PL2 ESSD63%60%55%57%57%51%51%
+PL1 ESSD46%42%38%40%40%34%34%
+PL0 ESSD30%27%23%25%25%20%20%
Pure Computing Price0%0%0%0%0%0%0%

Some argue that cloud ESSD should be compared to SAN storage, while local NVMe SSD should be compared to instance storage. This issue was already explained in “Is Cloud Disk a Slaughter Plate”. Direct user-facing database services almost all use EBS rather than instance storage; furthermore, Alibaba Cloud does have instance types with local NVMe SSD instance storage, like the i series, but unit prices here are far from cheap either.


Prepaid Impact on Unit Prices
#

Prepaid payment methods significantly impact cloud server prices: Computing prices use monthly prices as standard, on-demand prices increase 50%, annual gets 65% discount, 2, 3, 4, 5-year discounts are 55%, 44%, 35%, 30% respectively. Storage prices also use monthly prices as baseline, on-demand prices increase 51.25%, annual gets 85% discount, 2-year gets 70% discount, 3+ years get 50% discount. ECS computing unit prices (RMB/core·month) and block storage ESSD unit prices (RMB/GiB·month) and discount rules are shown below:

Payment ModeComputing DiscountComputing Unit PriceESSD DiscountPL3PL2PL1PL0
On-Demand150%187151.25%6.053.021.510.76
Monthly100%125100%4.002.001.000.50
1-Year Prepaid65%8185%3.401.700.850.43
2-Year Prepaid55%6870%2.801.400.700.35
3-Year Prepaid44%5350%2.001.000.500.25
4-Year Prepaid35%4450%2.001.000.500.25
5-Year Prepaid30%3750%2.001.000.500.25

For pure computing, the latest three generations of mainstream instance families’ prices and ratios are shown below, clearly demonstrating actual pricing closely matches the model above:

Instance Family Unit Price5-Year Prepaid4-Year Prepaid3-Year Prepaid2-Year PrepaidAnnual PriceMonthly PriceOn-Demand
c627 RMB31 RMB38 RMB49 RMB58 RMB88 RMB133 RMB
c728 RMB33 RMB38 RMB52 RMB62 RMB96 RMB144 RMB
c8i30 RMB35 RMB44 RMB56 RMB66 RMB101 RMB152 RMB
g634 RMB40 RMB49 RMB62 RMB74 RMB114 RMB170 RMB
g737 RMB43 RMB52 RMB67 RMB79 RMB123 RMB185 RMB
g8i39 RMB46 RMB56 RMB72 RMB85 RMB130 RMB195 RMB
r645 RMB53 RMB65 RMB83 RMB98 RMB150 RMB225 RMB
r749 RMB57 RMB70 RMB89 RMB105 RMB164 RMB246 RMB
r8i52 RMB61 RMB75 RMB95 RMB113 RMB173 RMB260 RMB
Instance Family Discount5-Year Prepaid4-Year Prepaid3-Year Prepaid2-Year PrepaidAnnual PriceMonthly PriceOn-Demand
c630%35%43%55%65%100%150%
c730%35%40%54%64%100%150%
c8i30%35%43%55%65%100%150%
g630%35%43%55%65%100%150%
g730%35%43%54%64%100%150%
g8i30%35%43%55%65%100%150%
r630%35%43%55%65%100%150%
r730%35%43%54%64%100%150%
r8i30%35%43%55%65%100%150%

The chart above shows price comparisons for different instance families under various payment modes. If we average all instance prices (roughly equivalent to 1c4g standard pricing), the computing average prices under different payment modes are shown in the bar chart:


Instance Family Impact on Pricing
#

Instance family impact on pricing mainly depends on three factors: memory ratio, chip architecture, instance generation.

First, within the same instance family, instance unit prices are independent of CPU core count, meaning the final computing portion price is linearly proportional to CPU cores. Therefore, there’s no phenomenon where larger specifications are cheaper or more expensive per unit (this means cloud server instances have lower cost-effectiveness at larger scales).

Memory ratio refers to how many times memory per CPU core, with memory units in GiB. On Alibaba Cloud, general-purpose (g) instances have 1:4 memory ratio, marked as 4x, meaning one CPU core gets 4 GiB memory. Compute-optimized (c) instances have 1:2 memory ratio, memory-optimized (r) instances have 1:8 ratio.

Genc Compute 2xg General 4xr Memory 8xc / gr / g
688 RMB114 RMB150 RMB78%132%
796 RMB123 RMB164 RMB78%133%
8101 RMB130 RMB173 RMB78%133%

Statistically, compared to 4x general-purpose instance families, same-core memory-optimized instances 8x with double memory cost 132% of general-purpose instances; same-core compute-optimized instances 2x with half memory cost 78% of general-purpose instances. We can also calculate from this pattern that Alibaba Cloud’s memory pricing is about 12 RMB/GiB·month: not cheap either - 16GB for two months could buy a memory stick.

Additionally, instance/CPU generation affects pricing. For example, using current eighth-generation instances as baseline, previous generation Gen7 instances get 95% discount, and Gen6 instances get 87% discount.

GenIntelARMARM / IntelYitianYitian / Intel
6117 RMB104 RMB89%
7128 RMB105 RMB82%
8135 RMB125 RMB92%96 RMB71%

From chip architecture perspective, ARM instances cost 90% of standard Intel instances, while Alibaba’s self-developed Yitian chip instances cost 70% of standard Intel instances. 30% off to find guinea pigs for testing shows insufficient sincerity.


Availability Zone Impact on Pricing
#

From a macro perspective, Alibaba Cloud’s availability zones can be divided into domestic/international regions, with distinctly different pricing. Overseas availability zones (including Hong Kong) cost much more than domestic zones, with Hong Kong being the most expensive - nearly double domestic zone prices across all instance families.

Domestic availability zones generally fall into two categories: central cities (Beijing, Shanghai, Guangzhou, Shenzhen, Hangzhou + Nanjing, Wuhan, Chengdu, Fuzhou, Qingdao) and remote corners (Ulanqab, Heyuan, Hohhot, Zhangjiakou). Central city availability zone instance pricing remains highly consistent (Chengdu is an exception, with some instance families slightly cheaper). Remote corner pricing can be cheaper, with up to 30% discounts compared to central cities.

Related

Harvesting Alibaba Cloud Wool, Building Your Digital Homestead
·2348 words·12 mins
Alibaba Cloud’s Double 11 offered a great deal: 2C2G3M ECS servers for ¥99/year, low price for three years. This article shows how to use this decent ECS to build your own digital homestead.
Will DBAs Be Eliminated by Cloud?
·3607 words·17 mins
Two days ago, the ninth episode of Open Source Talks had the theme “Will DBAs Be Eliminated by Cloud?” As the host, I restrained myself from jumping into the debate throughout, so I’m writing this article to discuss this question: Will DBAs be eliminated by cloud?
Cloud Exit High Availability Secret: Rejecting Complexity Masturbation
·1097 words·6 mins
Programmers are drawn to complexity like moths to flame. The more complex the system architecture diagram, the greater the intellectual masturbation high. Steadfast resistance to this behavior is a key reason for DHH’s success in cloud-free availability.
Six Months Cloud Exit Saved Tens of Millions - DHH's Cloud Exit FAQ
·2165 words·11 mins
DHH’s cloud exit journey has reached a new milestone - they’ve already saved nearly $1 million from leaving the cloud, with potential savings of almost $10 million over the next five years. We track their latest cloud exit progress, offering valuable insights for businesses considering cloud adoption or those already in the cloud.
From Cost-Reduction Jokes to Real Cost Reduction and Efficiency
·1880 words·9 mins
Alibaba Cloud and Didi had major outages one after another. This article discusses how to move from cost-reduction jokes to real cost reduction and efficiency — what costs should we really reduce, what efficiency should we improve?
What Can We Learn from Alibaba Cloud's Global Outage?
·2829 words·14 mins
Alibaba Cloud’s epic global outage after Double 11 set an industry record. How should we evaluate this incident, and what lessons can we learn from it?