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 Antwort
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
beantwortet vor einem Jahr
  • 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.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen