Forum Discussion

EylesIT's avatar
EylesIT
Resolver II
2 years ago
Solved

How to connect to a postgreSQL instance on AWS RDS

I have a postgreSQL database instance hosted on AWS RDS, and wish to connect to it from my local machine. I have the postgreSQL tool called PGAdmin installed on my local machine. It can successfully...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi, EylesIT 

    According to your description, you are trying to connect to postgreSQL using Power BI, but it has not been successful, you need to confirm that:

    1.Whether NpgSQL is the latest version, and whether the GAC option is enabled during installation.

    2.configure security groups: you may need to create a security group in AWS's VPC to allow internet access to the database port (default value is 5432).

    You can try to use the Postgres connector to fetch data from the data source you deployed on AWS. You will then need to use the gateway to manage the data source refresh (turn on the option to use the gateway to handle cloud data sources) and install Remote Access Credentials (which is used to authenticate with AWS credentials) on the device where you installed the gateway and handled these operations.

    Related Link: Merge or append on-premises and cloud data sources 

    BTW, you can take refer to the following blog if it helps:

    Connection of Power BI with RDS PostgreSQL on AWS from Scratch 

     

    Best Regards,
    Yang
    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum