|
| 1 | +--- |
| 2 | +Title: Prepare AWS Aurora MySQL/AWS RDS MySQL for RDI |
| 3 | +aliases: /integrate/redis-data-integration/ingest/data-pipelines/prepare-dbs/aws-aurora-rds/aws-aur-mysql/ |
| 4 | +alwaysopen: false |
| 5 | +categories: |
| 6 | +- docs |
| 7 | +- integrate |
| 8 | +- rs |
| 9 | +- rdi |
| 10 | +description: Enable CDC features in your source databases |
| 11 | +group: di |
| 12 | +hideListLinks: false |
| 13 | +linkTitle: Prepare AWS Aurora/RDS MySQL |
| 14 | +summary: Prepare AWS Aurora MySQL and AWS RDS MySQL databases to work with Redis Data Integration. |
| 15 | +type: integration |
| 16 | +weight: 2 |
| 17 | +--- |
| 18 | + |
| 19 | +Follow the steps in the sections below to prepare an [AWS Aurora MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_GettingStartedAurora.CreatingConnecting.Aurora.html) or [AWS RDS MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_GettingStarted.CreatingConnecting.MySQL.html) database. |
| 20 | +database to work with RDI. |
| 21 | + |
| 22 | +Select the steps for your database type. |
| 23 | + |
| 24 | +{{< multitabs id="rds-aur-mysql" |
| 25 | + tab1="AWS Aurora MySQL" |
| 26 | + tab2="AWS RDS MySQL" >}} |
| 27 | + |
| 28 | +## Add an Aurora reader node |
| 29 | + |
| 30 | +RDI requires that your Aurora MySQL database has at least one replica or reader node. |
| 31 | + |
| 32 | +To add a reader node to an existing database, select **Add reader** from the **Actions** menu of the database and [add a reader node](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-replicas-adding.html). |
| 33 | + |
| 34 | +You can also create one during database creation by selecting **Create an Aurora Replica or Reader node in a different AZ (recommended for scaled availability)** under **Availability & durability > Multi-AZ deployment**. |
| 35 | + |
| 36 | +## Create and apply parameter group |
| 37 | + |
| 38 | +RDI requires some changes to database parameters. On AWS Aurora, you change these parameters via a parameter group. |
| 39 | + |
| 40 | +1. In the [Relational Database Service (RDS) console](https://console.aws.amazon.com/rds/),navigate to **Parameter groups > Create parameter group**. [Create a parameter group](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_WorkingWithParamGroups.CreatingCluster.html) with the following settings: |
| 41 | + |
| 42 | + | Name | Value | |
| 43 | + | :-- | :-- | |
| 44 | + | **Parameter group name** | Enter a suitable parameter group name, like `rdi-mysql` | |
| 45 | + | **Description** | (Optional) Enter a description for the parameter group | |
| 46 | + | **Engine Type** | Choose **Aurora MySQL**. | |
| 47 | + | **Parameter group family** | Choose **aurora-mysql8.0**. | |
| 48 | + | **Type** | Select **DB Parameter Group**. | |
| 49 | + |
| 50 | + Select **Create** to create the parameter group. |
| 51 | + |
| 52 | +1. Navigate to **Parameter groups** in the console. Select the parameter group you have just created and then select **Edit**. Change the following parameters: |
| 53 | + |
| 54 | + | Name | Value | |
| 55 | + | :-- | :-- | |
| 56 | + | `binlog_format` | `ROW` | |
| 57 | + | `binlog_row_image` | `FULL` | |
| 58 | + | `gtid_mode` | `ON` | |
| 59 | + | `enforce_gtid_consistency` | `ON` | |
| 60 | + |
| 61 | + Select **Save Changes** to apply the changes to the parameter group. |
| 62 | + |
| 63 | +1. Go back to your target database on the RDS console, select **Modify** and then scroll down to **Additional Configuration**. Set the **DB Cluster Parameter Group** to the group you just created. |
| 64 | + |
| 65 | + Select **Save changes** to apply the parameter group to the new database. |
| 66 | + |
| 67 | +{{< embed-md "aur-rds-mysql-create-debezium-user.md" >}} |
| 68 | + |
| 69 | +-tab-sep- |
| 70 | + |
| 71 | +## Create and apply parameter group |
| 72 | + |
| 73 | +RDI requires some changes to database parameters. On AWS RDS, you change these parameters via a parameter group. |
| 74 | + |
| 75 | +1. In the [Relational Database Service (RDS) console](https://console.aws.amazon.com/rds/),navigate to **Parameter groups > Create parameter group**. [Create a parameter group](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_WorkingWithParamGroups.CreatingCluster.html) with the following settings: |
| 76 | + |
| 77 | + | Name | Value | |
| 78 | + | :-- | :-- | |
| 79 | + | **Parameter group name** | Enter a suitable parameter group name, like `rdi-mysql` | |
| 80 | + | **Description** | (Optional) Enter a description for the parameter group | |
| 81 | + | **Engine Type** | Choose **MySQL Community**. | |
| 82 | + | **Parameter group family** | Choose **mysql8.0**. | |
| 83 | + |
| 84 | + Select **Create** to create the parameter group. |
| 85 | + |
| 86 | +1. Navigate to **Parameter groups** in the console. Select the parameter group you have just created and then select **Edit**. Change the following parameters: |
| 87 | + |
| 88 | + | Name | Value | |
| 89 | + | :-- | :-- | |
| 90 | + | `binlog_format` | `ROW` | |
| 91 | + | `binlog_row_image` | `FULL` | |
| 92 | + |
| 93 | + Select **Save Changes** to apply the changes to the parameter group. |
| 94 | + |
| 95 | +1. Go back to your target database on the RDS console, select **Modify** and then scroll down to **Additional Configuration**. Set the **DB Cluster Parameter Group** to the group you just created. |
| 96 | + |
| 97 | + Select **Save changes** to apply the parameter group to the new database. |
| 98 | + |
| 99 | +{{< embed-md "aur-rds-mysql-create-debezium-user.md" >}} |
| 100 | + |
| 101 | +{{< /multitabs >}} |
0 commit comments