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
demandé il y a 2 mois710 vues
1 réponse
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
répondu il y a 2 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions