Updated on 2023-08-03 GMT+08:00

RDS for PostgreSQL Instance Classes

To learn about the DB engine versions supported by RDS for PostgreSQL, see DB Engines and Versions.

Table 1 lists the instance classes based on the x86 CPU architecture available to RDS for PostgreSQL. For detailed specifications of each instance class, see Table 3 and Table 4.
  • x86: general-purpose (recommended), dedicated (recommended), general-enhanced (installed base operations), and general-enhanced II (installed base operations)
Table 1 Instance classes

Instance Class

Description

Scenario

Constraints

General-purpose (recommended)

CPU resources are shared with other general-purpose DB instances on the same physical machine. CPU usage is maximized through resource overcommitment. This instance class is a cost-effective option and suitable for scenarios where performance stability is not critical.

Suitable for scenarios that have high requirements on cost-effectiveness.

Table 2 lists the regions where this instance class is available.

Dedicated (recommended)

The instance has dedicated CPU and memory resources to ensure stable performance. The performance of a dedicated instance is never affected by other instances on the same physical machine. This instance class is good when performance stability is important.

Suitable for core database scenarios such as e-commerce, gaming, finance, government, and enterprise applications.

Table 2 lists the regions where this instance class is available.

General-enhanced and general-enhanced II

With a leading network acceleration engine and Data Plane Development Kit (DPDK) fast packet processing, this instance class provides higher network performance and computing power.

Suitable for websites and web applications that require high database computing and network performance.

These two instance classes are for installed base operations.

Table 2 Regions where general-purpose and dedicated instance classes are available

Instance Class

Region

General-purpose and dedicated

CN North-Beijing4 and CN North-Ulanqab1

CN East-Shanghai1

CN South-Guangzhou and CN South-Guangzhou-InvitationOnly

CN Southwest-Guiyang1

AP-Bangkok and AP-Singapore

CN-Hong Kong

LA-Sao Paulo1, LA-Santiago, LA-Mexico City1, and LA-Mexico City2

AF-Johannesburg

Table 3 Detailed specifications of general-purpose and dedicated instance classes

Instance Class

Specification Code for Primary/Standby Instances

Specification Code for Read Replicas

Specification Code for Single Instances

vCPUs

Memory (GB)

General-purpose

rds.pg.n1.medium.2.ha

rds.pg.n1.medium.2.rr

rds.pg.n1.medium.2

1

2

rds.pg.n1.large.2.ha

rds.pg.n1.large.2.rr

rds.pg.n1.large.2

2

4

rds.pg.n1.large.4.ha

rds.pg.n1.large.4.rr

rds.pg.n1.large.4

2

8

rds.pg.n1.xlarge.2.ha

rds.pg.n1.xlarge.2.rr

rds.pg.n1.xlarge.2

4

8

rds.pg.n1.xlarge.4.ha

rds.pg.n1.xlarge.4.rr

rds.pg.n1.xlarge.4

4

16

rds.pg.n1.2xlarge.2.ha

rds.pg.n1.2xlarge.2.rr

rds.pg.n1.2xlarge.2

8

16

rds.pg.n1.2xlarge.4.ha

rds.pg.n1.2xlarge.4.rr

rds.pg.n1.2xlarge.4

8

32

Dedicated

NOTE:

The specifications supported for cloud SSDs and extreme SSDs are different.

rds.pg.x1.large.2.ha

rds.pg.x1.large.2.rr

-

2

4

rds.pg.x1.large.4.ha

rds.pg.x1.large.4.rr

-

2

8

rds.pg.x1.large.8.ha

rds.pg.x1.large.8.rr

-

2

16

rds.pg.x1.xlarge.2.ha

rds.pg.x1.xlarge.2.rr

-

4

8

rds.pg.x1.xlarge.4.ha

rds.pg.x1.xlarge.4.rr

-

4

16

rds.pg.x1.xlarge.8.ha

rds.pg.x1.xlarge.8.rr

-

4

32

rds.pg.x1.2xlarge.2.ha

rds.pg.x1.2xlarge.2.rr

-

8

16

rds.pg.x1.2xlarge.4.ha

rds.pg.x1.2xlarge.4.rr

-

8

32

rds.pg.x1.2xlarge.8.ha

rds.pg.x1.2xlarge.8.rr

-

8

64

rds.pg.x1.4xlarge.2.ha

rds.pg.x1.4xlarge.2.rr

-

16

32

rds.pg.x1.4xlarge.4.ha

rds.pg.x1.4xlarge.4.rr

-

16

64

rds.pg.x1.4xlarge.8.ha

rds.pg.x1.4xlarge.8.rr

-

16

128

rds.pg.x1.8xlarge.2.ha

rds.pg.x1.8xlarge.2.rr

-

32

64

rds.pg.x1.8xlarge.4.ha

rds.pg.x1.8xlarge.4.rr

-

32

128

rds.pg.x1.16xlarge.2.ha

rds.pg.x1.16xlarge.2.rr

-

64

128

rds.pg.x1.16xlarge.4.ha

rds.pg.x1.16xlarge.4.rr

-

64

256

rds.pg.x1.16xlarge.8.ha

rds.pg.x1.16xlarge.8.rr

-

64

512

Table 4 Detailed specifications of general-enhanced and general-enhanced II instance classes

Instance Class

vCPUs

Memory (GB)

General-enhanced

1

2

1

4

2

4

2

8

2

16

4

8

4

16

4

32

8

32

8

64

16

64

32

128

60

128

60

256

General-enhanced II

2

4

2

8

2

16

4

8

4

16

4

32

8

16

8

32

8

64

16

32

16

64

16

128

32

64

32

128

64

128

64

256

64

512

The DB instance specifications vary according to site requirements.