System Requirements for Amazon RDS for PostgreSQL

To back up and restore PostgreSQL data on the Amazon cloud application, verify that your environment meets the requirements.

Before Configuring Backups, Verify Backup Gateway Region and Access to the Database

Before configuring backups of the database, do the following:

Software Requirements

  • Packages required on access nodes:

    • Virtual Server Agent

    • PostgreSQL Agent

  • For information on supported Amazon EC2 instances as access nodes, see Supported Amazon EC2 Instance Families.

  • Access nodes that you run backup and restore operations on must have one of the following operating systems:

Operating system

Processor architecture

Amazon Linux 2023 AMI

  • 64-bit (Arm) (recommended)

  • 64-bit (x86)

Amazon Linux 2 AMI (HVM) - Kernel 5.10, SSD Volume Type

  • 64-bit (Arm) (recommended)

  • 64-bit (x86)

CentOS 9.x, 8.x

  • x64

  • Compatible processors

Oracle Linux Enterprise 9.x, 8.x

  • x64

  • Compatible processors

Red Hat Enterprise Linux (RHEL) 9.x, 8.x

  • x64

  • Compatible processors

Rocky Linux 9.x, 8.x

  • x64

  • Compatible processors

Windows 2022, 2019, 2016

  • x64

  • Compatible processors

Note

Hard Drive

A minimum of 100 GB of disk space is recommended. If a staging directory is required on the access node, the actual space needed will depend on the database being backed up and the configured settings.

Network Connectivity

  • Access nodes must have Layer 3 network connectivity to the upstream MediaAgent on port 8403. If the MediaAgent and the access node are in different accounts or in different Virtual Private Clouds (VPCs), you can configure Amazon VPC peering. For information, see VPC peering basics in the AWS documentation.

  • Access nodes must have connectivity to regional and global AWS service endpoints. For information, see Requirements for Connectivity to AWS Service Endpoints.

  • Access node machines must be able to connect to the RDS instance over its database port (For example, 5432 for PostgreSQL), unless a custom port is configured.

Supported PostgreSQL Versions

From PostgreSQL version 12.x - 17.x

User Account Requirements

  • For DumpBasedBackupSet, verify that the PostgreSQL instance has a user account with sufficient privileges to perform the following:

    • Perform backup and restore operations of the database objects as part of the subclient content

      The following table illustrates the necessary privileges the user account should have to perform backup and restore operations:

      Operations

      Privileges PostgreSQL User Should Have

      Backup

      CREATEDB, CREATEROLE

      Restore

      CREATEDB, CREATEROLE, INHERIT, LOGIN

      CONNECTION LIMIT, if set, should at least have a value of 2.

      Initially, the user account credentials are provided during the instance configuration after the installation of the agent. You can change the user account at the instance level.

      Note

      You may need to grant other privileges to the PostgreSQL backup user to secure the objects in the database. To know more about database roles and privileges, see PostgreSQL documentation.

  • You require SELECT privileges on all tables and objects within the schema or databases being backed up.

    The following statements are valid for PostgreSQL:

    • Version 14 or above

      • GRANT pg_read_all_data to user_name;
    • Version 13 or below

      • GRANT SELECT ON ALL TABLES IN SCHEMA schema_name TO user_name;
×

Loading...