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
asked 2 months ago700 views
1 Answer
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
EXPERT
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions