Connect to RDS Database

Instructions for setting up connections to the RDS database instance for CS176

Prerequisites

Download the necessary software

  • DBeaver - you can use any tool that connects to a Postgres database server, the instructions and classroom demonstrations will assume you are using DBeaver.
  • AWS VPN

https://dbeaver.io/download/

https://aws.amazon.com/vpn/client-vpn-download/

The VPN will require a separate OVPN file, which will be provided by your instructor.

Setup VPN connection profile

Open the AWS VPN application, and select File -> Manage Profiles

Profile Menu

Click Add Profile

Add Profile

Give it a name, and click the folder icon next to the VPN Configuration File text box

Profile Name

Browse to where you saved the .ovpn file from your instructor and select that file.  The directory path should appear in the VPN Configuration File box.  Click the Add Profile button

Config File

Then click Done

Done

You now have a completed profile, and you'll be able to connect to the VPN endpoint with a split-tunnel connection.  This means that internet traffic for your RDS database will go through the AWS VPN, but all other traffic will use your normal internet connection.  Click Connect to start the session.

Profile Connection

You will see a dialog box confirming that you are connected.  IMPORTANT!!! Make sure to disconnect from the VPN when you are done, as AWS charges the college for the time that you are connected to the VPN, regardless of whether you're using the connection or not.

Connect Confirm

Connect to the Database

Launch the DBeaver application.  If you don't see the connection settings dialog box already, open it from Database -> New Database Connection

DBeaver DB Selection

Click the button to select the PostgreSQL database type

Select Postgres

Enter the following information in the Main tab

  • Connect by: Host
  • Host: csc176-sp2025.cfukgyia439w.us-east-2.rds.amazonaws.com
  • Port: 5432
  • Check the box for Show all databases
  • Authentication: Database Native
  • Username: {sent by your instructor}
  • Password: {sent by your instructor)

Connection Settings


Tech Service Desk

Room A184, 217-353-3333

Fall/Spring: 7:30 a.m. - 6:00 p.m. M-Th. / 7:30 a.m. - 5:00 p.m. Fridays

Summer: 7:30 a.m. - 6:00 p.m. M-Th

Submit an IT Help Ticket via services.parkland.edu




Keywords:
CS176 database AWS RDS "relational database service" 
Doc ID:
148755
Owned by:
W. Jason S. in Parkland College
Created:
2025-03-04
Updated:
2025-03-06
Sites:
Parkland College