如何分配IP地址在VPC到RDS实例?实例、分配、地址、IP

2023-09-12 21:29:41 作者:回忆带入坟墓

我有一个RDS实例,在我的VPC开始在数据库子网组。该实例的形式的端点 someDatabase-db-small.abcd1234.us-east-1.rds.amazonaws.com:3306

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.

怎样才能分配给该实例的IP地址在VPC子网 10.0.0.0/24

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

推荐答案

本实例将已经在分配的范围内的IP地址。使用像'挖',从查找端点的IP地址在的VPC的,你会回到一个IP地址从您的VPC子网。

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.

 
精彩推荐
图片推荐