How to allocate IP address in VPC to RDS instance?

若如初见. 提交于 2019-12-20 02:34:28

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/19535242/how-to-allocate-ip-address-in-vpc-to-rds-instance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!