All Products
Search
Document Center

ApsaraDB RDS:ApsaraDB RDS for PostgreSQL primary instance types

Last Updated:Jul 29, 2025

This topic describes the instance types available for ApsaraDB RDS for PostgreSQL primary instances. You can use this information to learn about the latest and historical instance types.

Important
  • For RDS instances that use cloud disks, the memory includes the memory that is occupied by the underlying operating system and the memory that is occupied by the RDS-related management services. Therefore, the available memory of an RDS instance may be less than the memory capacity that is supported by the instance type. The following list describes the memory that is occupied by the underlying operating system and the memory that is occupied by the RDS-related management services:

    • The underlying operating system occupies 500 MB to 700 MB of memory.

    • The RDS-related management services occupy approximately 500 MB of memory.

  • ApsaraDB RDS for PostgreSQL instances that use cloud disks support only virtual private clouds (VPCs). When you create an instance, you must set the network type to VPC. If you use an API operation to create an instance, you must set the InstanceNetworkType parameter to VPC. For more information, see Create an ApsaraDB RDS instance.

Specifications

Important

Basic Edition instance types

Standard Edition instance types

Family

Instance type code

CPU and memory

Maximum connections

Maximum IOPS

Maximum I/O bandwidth

(MB/s)

Storage capacity

General-purpose

pg.n2.2c.1m

2 CPU cores, 4 GB

400

The maximum IOPS and maximum I/O bandwidth cannot be guaranteed. If your business is sensitive to IOPS, we recommend that you select a dedicated instance type.

  • PL1 ESSD: 20 GB to 64000 GB

  • PL2 ESSD: 500 GB to 64000 GB

  • PL3 ESSD: 1500 GB to 64000 GB

  • Premium performance disk: 10 GB to 64000 GB

pg.n4.2c.1m

2 CPU cores, 8 GB

800

pg.n2.4c.1m

4 CPU cores, 8 GB

800

pg.n4.4c.1m

4 CPU cores, 16 GB

1600

pg.n4.6c.1m

6 CPU cores, 24 GB

2400

pg.n4.8c.1m

8 CPU cores, 32 GB

3200

Dedicated

pg.x8.medium.1

2 CPU cores, 16 GB

1600

10000

128

pg.x8.large.1

4 CPU cores, 32 GB

3200

20000

192

pg.x8.xlarge.1

8 CPU cores, 64 GB

6400

25000

256

pg.x4.2xlarge.1

16 CPU cores, 64 GB

6400

40000

384

pg.x8.2xlarge.1

16 CPU cores, 128 GB

12800

40000

384

pg.x4.4xlarge.1

32 CPU cores, 128 GB

12800

60000

640

pg.x8.4xlarge.1

32 CPU cores, 256 GB

25600

60000

640

Yitian Edition instance types

To purchase an instance of a Yitian Edition instance type, you must meet the following requirements:

  • Billing method: subscription.

  • Major engine version: ApsaraDB RDS for PostgreSQL 13 or later.

  • Storage class: enterprise SSD (ESSD) and premium performance disk.

  • Region (only some zones are available): China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), China (Shenzhen), and Singapore.

    Yitian Edition instance types are available in a limited number of regions. More regions and zones will be supported. For more information, see the buy page.

Important
  • Basic Edition Yitian instance types are used for testing and environment authentication. You cannot change the instance types of other instances to these instance types.

  • Basic Edition Yitian instance types have low specifications. If you want to use them in a production environment, we recommend that you upgrade the instance configurations to a higher instance type of the Basic Edition, or upgrade the instance to the High-availability Edition.

Family

Instance type code

CPU and memory

Maximum connections

Maximum IOPS

Maximum I/O bandwidth

(MB/s)

Storage capacity

General-purpose

pg.n1e.2c.1m

2 CPU cores, 2 GB

200

The maximum IOPS and maximum I/O bandwidth cannot be guaranteed. If your business is sensitive to IOPS, we recommend that you select a dedicated instance type of Basic Edition Standard Edition or a dedicated instance type of High-availability Edition Yitian Edition.

  • PL1 ESSD: 20 GB to 64000 GB

  • PL2 ESSD: 500 GB to 64000 GB

  • PL3 ESSD: 1500 GB to 64000 GB

  • Premium performance disk: 10 GB to 64000 GB

pg.n2e.2c.1m

2 CPU cores, 4 GB

400

High-availability Edition instance types

Standard Edition instance types

General-purpose instance types

Family

Instance type code

CPU and memory

Maximum connections

Maximum IOPS

Maximum I/O bandwidth

(MB/s)

Storage capacity

General-purpose

pg.n2.2c.2m

2 CPU cores, 4 GB

400

The maximum IOPS and maximum I/O bandwidth cannot be guaranteed. If your business is sensitive to IOPS, we recommend that you select a dedicated instance type.

  • PL1 ESSD: 20 GB to 64000 GB

  • PL2 ESSD: 500 GB to 64000 GB

  • PL3 ESSD: 1500 GB to 64000 GB

  • Premium performance disk: 10 GB to 64000 GB

pg.n2.4c.2m

4 CPU cores, 8 GB

800

pg.n2.8c.2m

8 CPU cores, 16 GB

1600

pg.n4.2c.2m

2 CPU cores, 8 GB

800

pg.n4.4c.2m

4 CPU cores, 16 GB

1600

pg.n4.6c.2m

6 CPU cores, 24 GB

2400

pg.n4.8c.2m

8 CPU cores, 32 GB

3200

pg.n4.12c.2m

12 CPU cores, 48 GB

4800

Dedicated

pg.x2.medium.2c

2 CPU cores, 4 GB

400

10000

128

pg.x4.medium.2c

2 CPU cores, 8 GB

800

10000

128

pg.x8.medium.2c

2 CPU cores, 16 GB

1600

10000

128

pg.x2.large.2c

4 CPU cores, 8 GB

800

20000

192

pg.x4.large.2c

4 CPU cores, 16 GB

1600

20000

192

pg.x8.large.2c

4 CPU cores, 32 GB

3200

20000

192

pg.x2.xlarge.2c

8 CPU cores, 16 GB

1600

25000

256

pg.x4.xlarge.2c

8 CPU cores, 32 GB

3200

25000

256

pg.x8.xlarge.2c

8 CPU cores, 64 GB

6400

25000

256

pg.x2.3large.2c

12 CPU cores, 24 GB

2400

30000

320

pg.x4.3large.2c

12 CPU cores, 48 GB

4800

30000

320

pg.x8.3large.2c

12 CPU cores, 96 GB

9600

30000

320

pg.x2.2xlarge.2c

16 CPU cores, 32 GB

3200

40000

384

pg.x4.2xlarge.2c

16 CPU cores, 64 GB

6400

40000

384

pg.x8.2xlarge.2c

16 CPU cores, 128 GB

12800

40000

384

pg.x2.3xlarge2c

24 CPU cores, 48 GB

4800

50000

512

pg.x4.3xlarge.2c

24 CPU cores, 96 GB

9600

50000

512

pg.x8.3xlarge.2c

24 CPU cores, 192 GB

19200

50000

512

pg.x2.4xlarge.2c

32 CPU cores, 64 GB

6400

60000

640

pg.x4.4xlarge.2c

32 CPU cores, 128 GB

12800

60000

640

pg.x8.4xlarge.2c

32 CPU cores, 256 GB

25600

60000

640

pg.x2.13large.2c

52 CPU cores, 96 GB

9600

100000

1024

pg.x4.13large.2c

52 CPU cores, 192 GB

19200

100000

1024

pg.x8.13large.2c

52 CPU cores, 384 GB

38400

100000

1024

pg.x2.8xlarge.2c

64 CPU cores, 128 GB

12800

120000

1280

pg.x4.8xlarge.2c

64 CPU cores, 256 GB

25600

120000

1280

pg.x8.8xlarge.2c

64 CPU cores, 512 GB

51200

120000

1280

pg.x2.12xlarge.2c

96 CPU cores, 192 GB

19200

240000

2048

pg.x4.12xlarge.2c

96 CPU cores, 384 GB

38400

240000

2048

pg.x8.12xlarge.2c

96 CPU cores, 768 GB

76800

240000

2048

pg.x2.13xlarge.2c

104 CPU cores, 192 GB

19200

200000

2048

pg.x4.13xlarge.2c

104 CPU cores, 384 GB

38400

200000

2048

pg.x8.13xlarge.2c

104 CPU cores, 768 GB

76800

200000

2048

pg.x2.16xlarge.2c

128 CPU cores, 256 GB

25600

320000

2560

pg.x4.16xlarge.2c

128 CPU cores, 512 GB

51200

320000

2560

pg.x8.16xlarge.2c

128 CPU cores, 1024 GB

102400

320000

2560

pg.x2.24xlarge.2c

192 CPU cores, 384 GB

38400

500000

4096

pg.x4.24xlarge.2c

192 CPU cores, 768 GB

76800

500000

4096

pg.x8.24xlarge.2c

192 CPU cores, 1536 GB

153600

500000

4096

Intel SGX security-enhanced instance types

ApsaraDB RDS for PostgreSQL provides the always-confidential database (hardware-enhanced edition) feature. After you enable this feature, you can encrypt columns that contain sensitive data in database tables. The sensitive data in these columns is transmitted, computed, and stored in ciphertext. The always-confidential database (hardware-enhanced edition) feature uses security-enhanced instance types to provide data security protection based on the trusted execution environment (TEE). For more information about how to use the always-confidential database (hardware-enhanced edition) feature, see Confidential database.

Note

Intel SGX security-enhanced instance types are available for purchase in the following regions:

Region

Zone

China (Hangzhou)

Zone K

China (Shanghai)

Zone B and Zone L

China (Beijing)

Zone I and Zone K

China (Hong Kong)

Zone B and Zone D

Edition

Family

Instance type code

CPU and memory

Encrypted memory

Maximum connections

Maximum IOPS

Storage capacity

High-availability Edition

Intel SGX security-enhanced

pg.x4t.medium.2c

2 CPU cores, 8 GB

4 GB

400

See IOPS.

  • PL1 ESSD: 20 GB to 64000 GB

  • PL2 ESSD: 500 GB to 64000 GB

  • PL3 ESSD: 1500 GB to 64000 GB

  • Premium performance disk: 10 GB to 64000 GB

pg.x4t.large.2c

4 CPU cores, 16 GB

8 GB

800

pg.x4t.xlarge.2c

8 CPU cores, 32 GB

16 GB

1600

pg.x4t.2xlarge.2c

16 CPU cores, 64 GB

32 GB

3200

pg.x4t.4xlarge.2c

32 CPU cores, 128 GB

64 GB

6400

Yitian Edition instance types

To purchase an instance of a Yitian Edition instance type, you must meet the following requirements:

  • Major engine version: ApsaraDB RDS for PostgreSQL 13 or later.

  • Storage class: PL1 ESSD, PL2 ESSD, or PL3 ESSD.

  • Region: China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), China (Shenzhen), and Singapore.

    Note

    Yitian Edition instance types are available in a limited number of regions. More regions and zones will be supported. For more information, see the buy page.

Notes
Instance types

Edition

Family

Instance type code

CPU and memory

Maximum connections

Maximum IOPS

Maximum I/O bandwidth

(MB/s)

Storage capacity

High-availability Edition

General-purpose

pg.n4m.2c.2m

2 CPU cores, 8 GB

800

The maximum IOPS and maximum I/O bandwidth cannot be guaranteed. If your business is sensitive to IOPS, we recommend that you select a dedicated instance type.

  • PL1 ESSD: 20 GB to 64000 GB

  • PL2 ESSD: 500 GB to 64000 GB

  • PL3 ESSD: 1500 GB to 64000 GB

  • Premium performance disk: 10 GB to 64000 GB

pg.n4m.4c.2m

4 CPU cores, 16 GB

1600

pg.n4m.8c.2m

8 CPU cores, 32 GB

3200

pg.n2m.2c.2m

2 CPU cores, 4 GB

400

pg.n2m.4c.2m

4 CPU cores, 8 GB

800

pg.n2m.8c.2m

8 CPU cores, 16 GB

1600

Dedicated

pg.x2m.medium.2c

2 CPU cores, 4 GB

400

20000

192

pg.x4m.medium.2c

2 CPU cores, 8 GB

800

20000

192

pg.x8m.medium.2c

2 CPU cores, 16 GB

1600

20000

192

pg.x2m.large.2c

4 CPU cores, 8 GB

800

40000

256

pg.x4m.large.2c

4 CPU cores, 16 GB

1600

40000

256

pg.x8m.large.2c

4 CPU cores, 32 GB

3200

40000

256

pg.x2m.xlarge.2c

8 CPU cores, 16 GB

1600

50000

384

pg.x4m.xlarge.2c

8 CPU cores, 32 GB

3200

50000

384

pg.x8m.xlarge.2c

8 CPU cores, 64 GB

6400

50000

384

pg.x2m.2xlarge.2c

16 CPU cores, 32 GB

3200

80000

640

pg.x4m.2xlarge.2c

16 CPU cores, 64 GB

6400

80000

640

pg.x8m.2xlarge.2c

16 CPU cores, 128 GB

12800

80000

640

pg.x2m.4xlarge.2c

32 CPU cores, 64 GB

6400

125000

1024

pg.x4m.4xlarge.2c

32 CPU cores, 128 GB

12800

125000

1024

pg.x8m.4xlarge.2c

32 CPU cores, 256 GB

25600

125000

1024

pg.x2m.8xlarge.2c

64 CPU cores, 128 GB

12800

240000

2048

pg.x4m.8xlarge.2c

64 CPU cores, 256 GB

25600

240000

2048

pg.x8m.8xlarge.2c

64 CPU cores, 512 GB

51200

240000

2048

Cluster Edition instance types

Standard Edition instance types

General-purpose instance types

Family

Instance type code

CPU and memory

Maximum connections

Maximum IOPS

Maximum I/O bandwidth

(MB/s)

Storage capacity

General-purpose

pg.n2.2c.xc

2 CPU cores, 4 GB

400

The maximum IOPS and maximum I/O bandwidth cannot be guaranteed. If your business is sensitive to IOPS, we recommend that you select a dedicated instance type.

  • PL1 ESSD: 20 GB to 64000 GB

  • PL2 ESSD: 500 GB to 64000 GB

  • PL3 ESSD: 1500 GB to 64000 GB

  • Premium performance disk: 10 GB to 64000 GB

pg.n2.4c.xc

4 CPU cores, 8 GB

800

pg.n2.8c.xc

8 CPU cores, 16 GB

1600

pg.n4.2c.xc

2 CPU cores, 8 GB

800

pg.n4.4c.xc

4 CPU cores, 16 GB

1600

pg.n4.8c.xc

8 CPU cores, 32 GB

3200

Dedicated

pg.x2.medium.xc

2 CPU cores, 4 GB

400

10000

128

pg.x4.medium.xc

2 CPU cores, 8 GB

800

10000

128

pg.x8.medium.xc

2 CPU cores, 16 GB

1600

10000

128

pg.x2.large.xc

4 CPU cores, 8 GB

800

20000

192

pg.x4.large.xc

4 CPU cores, 16 GB

1600

20000

192

pg.x8.large.xc

4 CPU cores, 32 GB

3200

20000

192

pg.x2.xlarge.xc

8 CPU cores, 16 GB

1600

25000

256

pg.x4.xlarge.xc

8 CPU cores, 32 GB

3200

25000

256

pg.x8.xlarge.xc

8 CPU cores, 64 GB

6400

25000

256

pg.x2.3large.xc

12 CPU cores, 24 GB

2400

30000

320

pg.x4.3large.xc

12 CPU cores, 48 GB

4800

30000

320

pg.x8.3large.xc

12 CPU cores, 96 GB

9600

30000

320

pg.x2.2xlarge.xc

16 CPU cores, 32 GB

3200

40000

384

pg.x4.2xlarge.xc

16 CPU cores, 64 GB

6400

40000

384

pg.x8.2xlarge.xc

16 CPU cores, 128 GB

12800

40000

384

pg.x2.3xlarge.xc

24 CPU cores, 48 GB

4800

50000

512

pg.x4.3xlarge.xc

24 CPU cores, 96 GB

9600

50000

512

pg.x8.3xlarge.xc

24 CPU cores, 192 GB

19200

50000

512

pg.x2.4xlarge.xc

32 CPU cores, 64 GB

6400

60000

640

pg.x4.4xlarge.xc

32 CPU cores, 128 GB

12800

60000

640

pg.x8.4xlarge.xc

32 CPU cores, 256 GB

25600

60000

640

pg.x2.13large.xc

52 CPU cores, 96 GB

9600

100000

1024

pg.x4.13large.xc

52 CPU cores, 192 GB

19200

100000

1024

pg.x8.13large.xc

52 CPU cores, 384 GB

38400

100000

1024

pg.x2.8xlarge.xc

64 CPU cores, 128 GB

12800

120000

1280

pg.x4.8xlarge.xc

64 CPU cores, 256 GB

25600

120000

1280

pg.x8.8xlarge.xc

64 CPU cores, 512 GB

51200

120000

1280

pg.x2.13xlarge.xc

104 CPU cores, 192 GB

19200

200000

2048

pg.x4.13xlarge.xc

104 CPU cores, 384 GB

38400

200000

2048

pg.x8.13xlarge.xc

104 CPU cores, 768 GB

76800

200000

2048

Yitian Edition instance types

To purchase an instance of a Yitian Edition instance type, you must meet the following requirements:

  • Major engine version: ApsaraDB RDS for PostgreSQL 14 or later.

  • Storage class: PL1 ESSD, PL2 ESSD, or PL3 ESSD.

  • Region: China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), China (Shenzhen), and Singapore.

    Note

    Yitian Edition instance types are available in a limited number of regions. More regions and zones will be supported. For more information, see the buy page.

Notes
Instance types

Edition

Family

Instance type code

CPU and memory

Maximum connections

Maximum IOPS

Maximum I/O bandwidth

(MB/s)

Storage capacity

Cluster Edition

General-purpose

pg.n4e.2c.xc

2 CPU cores, 8 GB

800

The maximum IOPS and maximum I/O bandwidth cannot be guaranteed. If your business is sensitive to IOPS, we recommend that you select a dedicated instance type.

  • PL1 ESSD: 20 GB to 64000 GB

  • PL2 ESSD: 500 GB to 64000 GB

  • PL3 ESSD: 1500 GB to 64000 GB

  • Premium performance disk: 10 GB to 64000 GB

pg.n4e.4c.xc

4 CPU cores, 16 GB

1600

pg.n4e.8c.xc

8 CPU cores, 32 GB

3200

pg.n2e.2c.xc

2 CPU cores, 4 GB

400

pg.n2e.4c.xc

4 CPU cores, 8 GB

800

pg.n2e.8c.xc

8 CPU cores, 16 GB

1600

Dedicated

pg.x2e.medium.xc

2 CPU cores, 4 GB

400

20000

192

pg.x4e.medium.xc

2 CPU cores, 8 GB

800

20000

192

pg.x8e.medium.xc

2 CPU cores, 16 GB

1600

20000

192

pg.x2e.large.xc

4 CPU cores, 8 GB

800

40000

256

pg.x4e.large.xc

4 CPU cores, 16 GB

1600

40000

256

pg.x8e.large.xc

4 CPU cores, 32 GB

3200

40000

256

pg.x2e.xlarge.xc

8 CPU cores, 16 GB

1600

50000

384

pg.x4e.xlarge.xc

8 CPU cores, 32 GB

3200

50000

384

pg.x8e.xlarge.xc

8 CPU cores, 64 GB

6400

50000

384

pg.x2e.2xlarge.xc

16 CPU cores, 32 GB

3200

80000

640

pg.x4e.2xlarge.xc

16 CPU cores, 64 GB

6400

80000

640

pg.x8e.2xlarge.xc

16 CPU cores, 128 GB

12800

80000

640

pg.x2e.4xlarge.xc

32 CPU cores, 64 GB

6400

125000

1024

pg.x4e.4xlarge.xc

32 CPU cores, 128 GB

12800

125000

1024

pg.x8e.4xlarge.xc

32 CPU cores, 256 GB

25600

125000

1024

pg.x2e.8xlarge.xc

64 CPU cores, 128 GB

12800

240000

2048

pg.x4e.8xlarge.xc

64 CPU cores, 256 GB

25600

240000

2048

pg.x8e.8xlarge.xc

64 CPU cores, 512 GB

51200

240000

2048

Historical instance types

The following table lists the historical instance types for ApsaraDB RDS for PostgreSQL. You can no longer create instances of these historical instance types. We recommend that you use the latest instance types.

List of historical instance types

Instance type code

CPU cores

Memory

Maximum connections

Maximum IOPS

rds.pg.t1.small

1

1 GB

100

600

pg.x8.4xlarge.2

32

256 GB

20000

50000

pg.n1.micro.1

1

1 GB

100

See IOPS

pg.gn5i-c2g1.large.1

2

8 GB

800

pg.gn5i-c4g1.xlarge.1

4

16 GB

1600

pg.gn5i-c8g1.2xlarge.1

8

32 GB

3200

pg.gn5i-c16g1.4xlarge.1

16

64 GB

6400

pg.gn5i-c16g1.8xlarge.1

32

128 GB

12800

pg.gn5i-c28g1.14xlarge.1

56

224 GB

22000

pg.n2.small.2c

1

2 GB

200

pg.n2.medium.2c

2

4 GB

400

rds.pg.s1.small

1

2 GB

200

pg.n2.small.1

1

2 GB

200

pg.n4.8xlarge.1

64

256 GB

22000

pg.n8.8xlarge.1

64

512 GB

48000

rds.pg.s2.large

2

4 GB

Unlimited

See IOPS

rds.pg.s3.large

4

8 GB

rds.pg.c1.large

8

16 GB

rds.pg.c1.xlarge

8

32 GB

rds.pg.c2.xlarge

16

64 GB

rds.pg.c2.2xlarge

16

128 GB

pg.x8.medium.2

2

16 GB

2500

4500

pg.x8.large.2

4

32 GB

5000

9000

pg.x8.xlarge.2

8

64 GB

10000

18000

pg.x8.2xlarge.2

16

128 GB

20000

36000

rds.pg.st.h43

60

470 GB

12000

50000

pg.n2.medium.1

2

4 GB

400

See IOPS

pg.n4.medium.1

2

8 GB

800

pg.n2.large.1

4

8 GB

800

pg.n4.large.1

4

16 GB

1600

pg.n2.xlarge.1

8

16 GB

1600

pg.n4.xlarge.1

8

32 GB

3200

pg.n2.2xlarge.1

16

32 GB

3200

pg.n4.2xlarge.1

16

64 GB

6400

pg.n8.2xlarge.1

16

128 GB

10000

pg.n4.4xlarge.1

32

128 GB

12800

pg.n8.4xlarge.1

32

256 GB

20000