How to connect to RDS My Sql Server instance which is in application VPC and Private subnets

0

How to connect to RDS My Sql Server instance which is in application VPC and within Private subnets from internet.

1 回答
0

Does your application live in the VPC private subnet as well and you want to access the application? If so, you can set up an Elastic Load Balancer that provides access to the application from the Internet.

If you want to provide access to the database from the Internet (which I wouldn't recommend), you could use a Network Load Balancer to do that. Best practice, you can deploy an API via API Gateway that fetches the results when someone uses it. This will allow you to provide access to the data without giving direct access to the database.

profile picture
已回答 1 年前
  • Hey, Thank you for your response.

    I do have this rds in pivate subnets with Public accessibility as No. And now my db team wants to access it with MySQL server studio or Myworkbench to connect to it.

    What will be the recommended way for this.

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

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

回答问题的准则