How do I connect AWS MYSQL using the bastion server

I have a database inside my VPC on the AWS cloud servers. I am using the Bastion server to make a connection from the outside world.
How do I connect my MySQL database to this portal?

Hi @Sagar_Shah,

I don’t think the MySQL app in Make will work if it’s access is behind the Bastion Server by which I mean the RDS credentials that you have can be added in Make cause it’s access needs to be made through Bastion Server.

What you can do is,

  1. Use SSH Module in Make that will log into your Bastion Server
  2. Have a Simple Script over there that can query MySQL or even the Command Line/Commands will work

Not sure, if it is the best way to do it, but this way you can access the RDS through Make.