I just created the following architecture in a VPC for a project :
My question is : How do I do to connect to my RDS instance using MySQL Workbench on my local PC wiht this architecture ?
I have read that it is simple if I just connect my RDS instance directly to the bastion but it seems awful in term of architecture.
it seems awful in term of architecture.
This is how it is done. You need to have a bastion host in a private subnet and setup an ssh tunnel to the RDS instance. This can be dune using session manager as explained in AWS docs:
You can also setup regular ssh tunnel, without session manager, but this requires bastion in a public subent: