3

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?

dotancohen
  • 30,064
  • 36
  • 138
  • 197
  • 1
    The DNS endpoint will (to my knowledge) resolve to the internal IP from within Amazon's network. It's not recommended to use the internal IP's, as they can change without notice (Multi AZ actions, etc.). – Walking Wiki Aug 06 '15 at 13:31

1 Answers1

7

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.

Laurion Burchall
  • 2,843
  • 16
  • 12