|
| 1 | +--- |
| 2 | +Title: Prepare AWS Aurora and PostgreSQL for RDI |
| 3 | +aliases: /integrate/redis-data-integration/ingest/data-pipelines/prepare-dbs/my-sql-mariadb/ |
| 4 | +alwaysopen: false |
| 5 | +categories: |
| 6 | +- docs |
| 7 | +- integrate |
| 8 | +- rs |
| 9 | +- rdi |
| 10 | +description: Prepare AWS Aurora/PostgreSQL databases to work with RDI |
| 11 | +group: di |
| 12 | +linkTitle: Prepare AWS Aurora/PostgreSQL |
| 13 | +summary: Redis Data Integration keeps Redis in sync with the primary database in near |
| 14 | + real time. |
| 15 | +type: integration |
| 16 | +weight: 5 |
| 17 | +--- |
| 18 | + |
| 19 | +Follow the steps in the sections below to prepare an |
| 20 | +[AWS Aurora PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_GettingStartedAurora.CreatingConnecting.AuroraPostgreSQL.html) |
| 21 | +database to work with RDI. |
| 22 | + |
| 23 | +## 1. Create a parameter group |
| 24 | + |
| 25 | +In the [Relational Database Service (RDS) console](https://console.aws.amazon.com/rds/), |
| 26 | +navigate to **Parameter groups > Create parameter group**. You will see the panel shown |
| 27 | +below: |
| 28 | + |
| 29 | +{{<image filename="images/rdi/ingest/prepsrc/aurora-pgsql/CreateParamGroup.jpg" alt="Create parameter group panel" >}} |
| 30 | + |
| 31 | +Enter the following information: |
| 32 | + |
| 33 | +| Name | Value | |
| 34 | +| :-- | :-- | |
| 35 | +| **Parameter group name** | rdi-aurora-pg | |
| 36 | +| **Description** | Enable logical replication for RDI | |
| 37 | +| **Engine Type** | Aurora PostgreSQL | |
| 38 | +| **Parameter group family** | aurora-postgresql15 | |
| 39 | +| **Type** | DB Cluster Parameter Group | |
| 40 | + |
| 41 | +Select **Create** to create the parameter group. |
| 42 | + |
| 43 | +## 2. Edit the parameter group |
| 44 | + |
| 45 | +Navigate to **Parameter groups** in the console. Select the `rdi-aurora-pg` |
| 46 | +group you have just created and then select **Edit** . You will see this panel: |
| 47 | + |
| 48 | +{{<image filename="images/rdi/ingest/prepsrc/aurora-pgsql/EditParamGroup.jpg" alt="Edit parameter group panel" >}} |
| 49 | + |
| 50 | +Search for the `rds.logical_replication` parameter and set its value to 1. Then, |
| 51 | +select **Save Changes**. |
| 52 | + |
| 53 | +## 3. Select the new parameter group |
| 54 | + |
| 55 | +Scroll down to **Additional Configuration**. Set the **DB Cluster Parameter Group** |
| 56 | +to the value `rdi-aurora-pg` that you have just added: |
| 57 | + |
| 58 | +{{<image filename="images/rdi/ingest/prepsrc/aurora-pgsql/CreateDB6.jpg" alt="Additional Configuration panel" >}} |
0 commit comments