How to migrate an already running RDB instance from IPv4 to IPv6 to stop charging

1

I have a RDS DB instance running with public access, so resources outside the VPC can connect to my database.

Due to the billing policy, Amazon has begun charging for IPv4, because of that Amazon suggest me to migrate from IPv4 to IPv6 not to be charged.

To do so, I've tried to follow all this guides:

After modifying all VPC, subnets, route tables and security groups, when trying to modify the Network Type in DB instance by switching to dual-stack mode, I'm getting an error

"The modify request failed because it can lead the database to a public dual state, which is not currently supported. Details of the potential conflict follow. Public accessibility: It is active in the current database instance. Network type: DUAL. It is requested in the current modify request"

Seems that public accessibility is the root cause, but as I said, I need the database to be accesible outside the VPC. Any suggestions or walkaround to tackle this issue?

Thanks

IMBA
已提问 2 个月前710 查看次数
1 回答
1

Hello.

How about using the functions of Systems Manager to do things like port forwarding?
Using this feature eliminates the need to launch RDS publicly.
https://aws.amazon.com/jp/blogs/mt/use-port-forwarding-in-aws-systems-manager-session-manager-to-connect-to-remote-hosts/

profile picture
专家
已回答 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则