I recently downgraded my EC2 instance. I can no longer connect to RDS. I think it might be that the internal IP is different and now the logins are attached to that specif
I use:
pg_dump -v -h RDS_URL -Fc -o -U username dbname > your_dump.sql