如何分配IP地址在VPC到RDS实例? [英] How to allocate IP address in VPC to RDS instance?

查看:493
本文介绍了如何分配IP地址在VPC到RDS实例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个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.

这篇关于如何分配IP地址在VPC到RDS实例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆