Skip to content

Commit 5b7bb2d

Browse files
committed
Add Static IP step
1 parent b1eb09b commit 5b7bb2d

File tree

1 file changed

+6
-3
lines changed
  • content/operate/rc/databases/rdi

1 file changed

+6
-3
lines changed

content/operate/rc/databases/rdi/setup.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ To do this:
125125

126126
In the [AWS Management Console](https://console.aws.amazon.com/), use the **Services** menu to locate and select **Database** > **Aurora and RDS**. [Create an RDS proxy](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-proxy-creating.html) that can access your database.
127127

128-
<--! TODO: HOW TO GET THE STATIC IP -->
129-
130128
#### Create network load balancer {#create-network-load-balancer-rds}
131129

132130
In the [AWS Management Console](https://console.aws.amazon.com/), use the **Services** menu to locate and select **Compute** > **EC2**. [Create a network load balancer](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-network-load-balancer.html#configure-load-balancer) with the following settings:
@@ -142,7 +140,12 @@ In the [AWS Management Console](https://console.aws.amazon.com/), use the **Serv
142140
- **Target type**: Select **IP Addresses**.
143141
- **Protocol : Port**: Select **TCP**, and then enter the port number where your database is exposed.
144142
- The **IP address type** and **VPC** should be selected already and match the VPC you selected earlier.
145-
1. In **Register targets**, enter the static IP of your RDS proxy, enter the port, and select **Include as pending below**. Then, select **Create target group** to create your target group. Return **Listeners and routing** in the Network Load Balancer setup.
143+
1. In **Register targets**, enter the static IP address of your RDS proxy, enter the port, and select **Include as pending below**. Then, select **Create target group** to create your target group. Return **Listeners and routing** in the Network Load Balancer setup.
144+
To get the static IP address of your RDS Proxy, run the following command on an EC2 instance in the same VPC as the Proxy:
145+
```sh
146+
$ nslookup <proxy-endpoint>
147+
```
148+
Replace `<proxy-endpoint>` with the endpoint of your RDS proxy.
146149
1. Set the following **Listener** properties:
147150
- **Protocol**: Select **TCP**.
148151
- **Port**: Enter your source database's port.

0 commit comments

Comments
 (0)