All Products
Search
Document Center

ApsaraDB for MyBase:Instance types

Last Updated:Mar 28, 2026

This page lists instance types and their specifications for ApsaraDB MyBase for MySQL primary instances.

Not all instance types listed here may be available. Check the buy page to see which types are available before you create an instance.

Choose an edition and storage type

ApsaraDB MyBase for MySQL offers two editions, each supporting one or two storage types. Use the following table to identify which section applies to your configuration before selecting a specific instance type.

EditionStorage typeInstance type prefixCPU coresMax connections
High-availability EditionEnhanced SSDmysql.z2–1041,200–120,000
High-availability EditionLocal SSDmysql.z2–641,200–80,000
Master-replica EditionEnhanced SSDmysql.g1–104600–120,000

Instance type naming conventions

MyBase instance type codes encode key specifications:

Code segmentMeaningExample
zHigh-availability Edition with enhanced or local SSDsmysql.z2.medium.2c
gMaster-replica Edition with enhanced SSDsmysql.g4.large.1c
2 / 4 / 8 (after z or g)Memory-to-CPU ratioz2, z4, z8
medium / large / xlarge / 2xlargeSize class (number of CPU cores)medium = 2 cores, xlarge = 8 cores
.2c suffixEnhanced SSD storage (High-availability Edition)mysql.z4.xlarge.2c
.2 suffixLocal SSD storage (High-availability Edition)mysql.z4.xlarge.2
.1c suffixEnhanced SSD storage (Master-replica Edition)mysql.g4.xlarge.1c

High-availability Edition with enhanced SSDs

Instance types follow the naming pattern mysql.z{ratio}.{size}.2c. The z prefix indicates the High-availability Edition. The {ratio} segment (2, 4, or 8) reflects the memory-to-CPU ratio, and {size} is the instance size class.

Instance typeCPU and memory specificationsMaximum number of connections
mysql.z2.medium.2c2 CPU cores, 4 GB memory1,200
mysql.z4.medium.2c2 CPU cores, 8 GB memory2,000
mysql.z8.medium.2c2 CPU cores, 16 GB memory2,500
mysql.z2.large.2c4 CPU cores, 8 GB memory2,000
mysql.z4.large.2c4 CPU cores, 16 GB memory2,500
mysql.z8.large.2c4 CPU cores, 32 GB memory5,000
mysql.z2.xlarge.2c8 CPU cores, 16 GB memory2,500
mysql.z4.xlarge.2c8 CPU cores, 32 GB memory5,000
mysql.z8.xlarge.2c8 CPU cores, 64 GB memory10,000
mysql.z2.2xlarge.2c16 CPU cores, 32 GB memory5,000
mysql.z4.2xlarge.2c16 CPU cores, 64 GB memory10,000
mysql.z8.2xlarge.2c16 CPU cores, 128 GB memory20,000
mysql.z2.4xlarge.2c32 CPU cores, 64 GB memory10,000
mysql.z4.4xlarge.2c32 CPU cores, 128 GB memory20,000
mysql.z8.4xlarge.2c32 CPU cores, 256 GB memory40,000
mysql.z2.8xlarge.2c64 CPU cores, 128 GB memory20,000
mysql.z4.8xlarge.2c64 CPU cores, 256 GB memory40,000
mysql.z8.8xlarge.2c64 CPU cores, 512 GB memory80,000
mysql.z2.13xlarge.2c104 CPU cores, 192 GB memory30,000
mysql.z4.13xlarge.2c104 CPU cores, 384 GB memory60,000
mysql.z8.13xlarge.2c104 CPU cores, 768 GB memory120,000

High-availability Edition with local SSDs

Instance types follow the naming pattern mysql.z{ratio}.{size}.2. The .2 suffix (without a trailing c) indicates local SSD storage. This configuration tops out at 64 cores and 512 GB memory.

Instance typeCPU and memory specificationsMaximum number of connections
mysql.z2.medium.22 CPU cores, 4 GB memory1,200
mysql.z4.medium.22 CPU cores, 8 GB memory2,000
mysql.z8.medium.22 CPU cores, 16 GB memory2,500
mysql.z2.large.24 CPU cores, 8 GB memory2,000
mysql.z4.large.24 CPU cores, 16 GB memory2,500
mysql.z8.large.24 CPU cores, 32 GB memory5,000
mysql.z2.xlarge.28 CPU cores, 16 GB memory2,500
mysql.z4.xlarge.28 CPU cores, 32 GB memory5,000
mysql.z8.xlarge.28 CPU cores, 64 GB memory10,000
mysql.z2.2xlarge.216 CPU cores, 32 GB memory5,000
mysql.z4.2xlarge.216 CPU cores, 64 GB memory10,000
mysql.z8.2xlarge.216 CPU cores, 128 GB memory20,000
mysql.z2.4xlarge.232 CPU cores, 64 GB memory10,000
mysql.z4.4xlarge.232 CPU cores, 128 GB memory20,000
mysql.z8.4xlarge.232 CPU cores, 256 GB memory40,000
mysql.z2.8xlarge.264 CPU cores, 128 GB memory20,000
mysql.z4.8xlarge.264 CPU cores, 256 GB memory40,000
mysql.z8.8xlarge.264 CPU cores, 512 GB memory80,000

Master-replica Edition with enhanced SSDs

Instance types follow the naming pattern mysql.g{ratio}.{size}.1c. The g prefix indicates the Master-replica Edition. This edition includes a small size class (1 core, 2 GB) that the High-availability Edition does not offer.

Instance typeCPU and memory specificationsMaximum number of connections
mysql.g2.small.1c1 CPU core, 2 GB memory600
mysql.g2.medium.1c2 CPU cores, 4 GB memory1,200
mysql.g4.medium.1c2 CPU cores, 8 GB memory2,000
mysql.g8.medium.1c2 CPU cores, 16 GB memory2,500
mysql.g2.large.1c4 CPU cores, 8 GB memory2,000
mysql.g4.large.1c4 CPU cores, 16 GB memory2,500
mysql.g8.large.1c4 CPU cores, 32 GB memory5,000
mysql.g2.xlarge.1c8 CPU cores, 16 GB memory2,500
mysql.g4.xlarge.1c8 CPU cores, 32 GB memory5,000
mysql.g8.xlarge.1c8 CPU cores, 64 GB memory10,000
mysql.g2.2xlarge.1c16 CPU cores, 32 GB memory5,000
mysql.g4.2xlarge.1c16 CPU cores, 64 GB memory10,000
mysql.g8.2xlarge.1c16 CPU cores, 128 GB memory20,000
mysql.g2.4xlarge.1c32 CPU cores, 64 GB memory10,000
mysql.g4.4xlarge.1c32 CPU cores, 128 GB memory20,000
mysql.g8.4xlarge.1c32 CPU cores, 256 GB memory40,000
mysql.g2.8xlarge.1c64 CPU cores, 128 GB memory20,000
mysql.g4.8xlarge.1c64 CPU cores, 256 GB memory40,000
mysql.g8.8xlarge.1c64 CPU cores, 512 GB memory80,000
mysql.g2.13xlarge.1c104 CPU cores, 192 GB memory30,000
mysql.g4.13xlarge.1c104 CPU cores, 384 GB memory60,000
mysql.g8.13xlarge.1c104 CPU cores, 768 GB memory120,000