| Application ports | 5432 (PostgreSQL, TLS available) — listen_addresses = '*' and a `host all all 0.0.0.0/0 md5` rule are pre-set; only the NSG keeps it closed |
|---|---|
| Admin credential file | sudo cat /root/.postgresql-initial-password |
| Sign in as | postgres (superuser; password auth over the network, peer auth locally) |
| Service(s) | postgresql |
| Configuration | /etc/postgresql/16/main/postgresql.conf (ssl = on); /etc/postgresql/16/main/pg_hba.conf; TLS certificate /etc/ssl/certs/ssl-cert-snakeoil.pem and key /etc/ssl/private/ssl-cert-snakeoil.key, a self-signed pair generated on your VM at first boot |
| Logs | /var/log/postgresql/postgresql-16-main.log |
| Version | PostgreSQL 16 (PGDG packages) |
| Platform | Ubuntu 24.04 LTS |
This image generates its admin credential on the VM at first boot — nothing is pre-set. SSH into the VM with the username + key you chose at deploy, then print the generated credential:
ssh <your-username>@<VM-IP>
sudo cat /root/.postgresql-initial-passwordSign in as postgres (superuser; password auth over the network, peer auth locally).
This is the password of the `postgres` superuser, set at first boot. Local `sudo -u postgres psql` still works (peer auth); network clients use this password over md5 until you tighten pg_hba.conf. Change it with ALTER USER and delete the file once stored securely.
Email support@dcassociatesgroup.com (response within 1 business day) or send a
message via the contact form. Include the offer name, VM size, region, and any log output — sudo journalctl -u <service> -n 100 usually tells the story.