Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to allocate IP address in VPC to RDS instance?

I have an RDS instance started in a DB Subnet Group in my VPC. This instance has an endpoint of the form someDatabase-db-small.abcd1234.us-east-1.rds.amazonaws.com:3306.

How does one allocate to this instance an IP address in the VPC subnet 10.0.0.0/24?

like image 559
dotancohen Avatar asked Nov 27 '25 02:11

dotancohen


1 Answers

The instance will already have an IP address in that range allocated. Use something like 'dig' to lookup the IP address of the endpoint from inside of the VPC and you will get back an IP address from your VPC subnet.

like image 128
Laurion Burchall Avatar answered Nov 28 '25 17:11

Laurion Burchall



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!