AWS RDS to EC2

Job ID: 35628329

Budget: $10 – $30 USD

I need help to connect from an RDS (Maria) to EC2

Both services are on two different accounts so i think we need to use a proxy. I am unsure.

Your task is to guide me step by step of how to connect these two services.