Multi cloud VPN connection to RDS

0

Hi, i've created a VPN connection from GCP to AWS following this guide: https://blog.searce.com/connecting-clouds-aws-gcp-771eb25a2dc3 Then i've created a vm con GCP and i've tested the connection to AWS. On AWS i've a Elasticache instance which i can connect without problems, but if i try with the RDS instance i've:

ERROR 2002 (HY000): Can't connect to MySQL server on '...' (115)

Security group and firewall rules seems right in AWS and GCP. Both Elasticache and RDS instance are in the same VPC and the same subnets group. I also tried to set "Public access" on RDS without results.

Some suggestions on that? Thanks

1回答
0

Hi.

Since it's on the same subnet as Elasticash, I don't think there's a network problem.

[Confirmation on AWS side]
Are the information such as the inbound port and source IP address of the RDS security group correct?

[Confirmation on Google Cloud side]
Can I create Cloud SQL for MySQL within Google Cloud and connect from a Google Cloud virtual machine?

profile picture
エキスパート
iwasa
回答済み 1年前
  • On AWS the security group rules seem correct (i tried with a 0.0.0.0/0 too), i tested the connection from the GCP instance to my backend on ECS with curl and it works.

    On GCP i've tested a VM with mysql and it works too. For now i can't test Cloud SQL instance because i need permissions and i'm waiting for the admin.

    Update: i've created an EC2 instance with mysql and i can connect on mysql from GCP

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ