Connecting PMM running on Docker on EC2 instance to RDS MariaDB instance

Can anyone please help me with this?