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 Answer
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
answered a year ago
  • 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.

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