Home / Support / Oracle Cloud Marketplace / PostgreSQL 16
LivePostgreSQL 16 on Oracle Linux 9 delivers the world's most advanced open-source relational database on a hardened, enterprise Linux foundation - ready to launch directly into your OCI tenancy in minutes.
| Status | Live on Oracle Cloud Marketplace |
|---|---|
| Version | 16.0.2 |
| Platform | Oracle Linux 9 |
| Ports open in the host firewall | SSH (22/tcp), 5432/tcp |
| Category | Databases |
| Upstream licence | PostgreSQL |
| Pricing | Pay-as-you-go software fee per OCPU-hour, billed by Oracle on your OCI invoice — see the listing's Pricing tab |
This is the listing's usage information, verbatim. Every command in it is run by our QA on a freshly launched instance before an image version can publish, so the text and the tested procedure cannot drift apart.
After launch:
ssh opc@PUBLIC_IPsudo systemctl status postgresqlsudo cat /root/.pg_default_credentialssudo -u postgres psql -Atc 'SELECT 1'
PGPASSWORD='YOUR_PASSWORD' psql -h 127.0.0.1 -U postgres -Atc 'SHOW server_version'sudo -u postgres psql -c "ALTER SYSTEM SET listen_addresses = '*';"
echo 'host all all APPLICATION_CIDR scram-sha-256' | sudo tee -a /var/lib/pgsql/data/pg_hba.conf
sudo systemctl restart postgresqlPort 5432 is already permitted in the host firewall. Restrict it in your VCN security list or NSG to the application tier's CIDR; never expose it to the internet.
sudo -u postgres psql -c "ALTER ROLE postgres WITH PASSWORD 'your-strong-password';"The image is CVE-patched at build time. Apply ongoing updates, including PostgreSQL 16 minor releases from the Oracle Linux 9 AppStream, with:
sudo dnf -y update
Email support@dcassociatesgroup.com (response within 1 business day) or use the
contact form. Include the listing name, your OCI region, the instance OCID and the
output of sudo journalctl -u <service> -n 100 for the unit named in the quick start.