This will include some materials for the use of QGIS

Connecting QGIS to CORI RDS DB

In QGIS:

  1. QGIS -> Preferences -> Authentication

  1. In Authentication use the green ➕ to add a new way of doing it.

If it is the first time it will ask you to set up a master password (I think it is just for mac).

  1. Use the drop down menu to select Basic authentication

  2. Pick a name: I am using cori

  3. Provide the correct Username and Password

It should look like this:

In QGIS Browser:

  1. Right click on PostgreSQL

  2. New connections

  1. Pick a name (again I am using CORI)

  2. Host: our aws RDS

  3. Port: we are using the default one (5432)

  4. Database name: the name of the DB

  5. In Athentication select the previous configurations we have done

  6. SSL_mode need to be set on “Prefer”

  7. You can “Test Connection”

If it is good you can press ok if not review the Host name other parameters.

You should be able to browse schemas and tables from the database.

Resources:

QGIS LTR Doc: https://docs.qgis.org/3.28/en/docs/user_manual/auth_system/auth_overview.html

To interact with QGIS in R: https://r-spatial.github.io/qgisprocess/