
- AWSAvailable on Amazon Web Services
- AzureAvailable on Microsoft Azure
- GCP· nextGoogle Cloud is next on the roadmap
PostgreSQL with pgAdmin 4
PostgreSQL 18.6 from the official PGDG repository with pgAdmin 4 and Webmin - a database server ready for remote clients the moment it boots. Remote connections use scram-sha-256, tuning is safe for small instances, and no database password is stored in the image: local administration uses socket peer authentication, and pgAdmin's secrets are regenerated per instance.
- Version
- v18.6
- Operating system
- Ubuntu 24.04 LTS
- Architecture
- x86_64
- Support
- Email support
What's installed
Every package and version on the image, identical on every cloud it ships on. Nothing else is installed.
- PostgreSQL 18.6
- pgAdmin 4 9.17
- Apache 2.4.58 (pgAdmin host)
- Webmin 2.660
LicensingOpen source (PostgreSQL License), no licence key required
Deploy anywhere
PostgreSQL with pgAdmin 4 on AWS and Azure.
Google Cloud is next on the roadmap. One clean-room build, one first-boot credential model, one patch cadence — identical on every cloud you run. Every identifier below is the real one; copy it and launch.
- AWSAvailable
Amazon Web Services
AMI · v18.6
AWS AMI IDShown for your region on the AWS Marketplace launch page once you subscribe.
- Released
- Root volume
- gp3 · 20 GiB
Instance types- t3a.medium
- t3.medium
- t3a.large
- m6a.large
Regions34 regions· show all· hide
- us-east-1
- af-south-1
- ap-east-1
- ap-east-2
- ap-northeast-1
- ap-northeast-2
- ap-northeast-3
- ap-south-1
- ap-south-2
- ap-southeast-1
- ap-southeast-2
- ap-southeast-3
- ap-southeast-4
- ap-southeast-5
- ap-southeast-6
- ap-southeast-7
- ca-central-1
- ca-west-1
- eu-central-1
- eu-central-2
- eu-north-1
- eu-south-1
- eu-south-2
- eu-west-1
- eu-west-2
- eu-west-3
- il-central-1
- me-central-1
- me-south-1
- mx-central-1
- sa-east-1
- us-east-2
- us-west-1
- us-west-2
5-day free trial, then from $0.04/hr software charge (larger instance sizes cost more) plus your own EC2 costs, billed by AWS.
Subscriptions are open to AWS India (AISPL) accounts. Outside India? Ask us for a private build.
- AzureAvailable
Microsoft Azure
Compute Gallery image · v18.6
Azure Compute Gallery image IDSelected for you when you create the VM from the Azure Marketplace listing.
- Released
- OS disk
- Premium_LRS · 30 GiB
VM sizes- Standard_D2as_v7
- Standard_D2as_v5
- Standard_B2ms
- Standard_D4as_v7
Regions50 regions· show all· hide
- eastus
- australiacentral
- australiaeast
- australiasoutheast
- austriaeast
- belgiumcentral
- brazilsouth
- canadacentral
- canadaeast
- centralindia
- centralus
- chilecentral
- denmarkeast
- eastasia
- eastus2
- francecentral
- germanywestcentral
- indiasouthcentral
- indonesiacentral
- israelcentral
- italynorth
- japaneast
- japanwest
- jioindiawest
- koreacentral
- koreasouth
- malaysiawest
- mexicocentral
- newzealandnorth
- northcentralus
- northeurope
- norwayeast
- polandcentral
- qatarcentral
- southafricanorth
- southcentralus
- southeastasia
- southindia
- spaincentral
- swedencentral
- switzerlandnorth
- uaenorth
- uksouth
- ukwest
- westcentralus
- westeurope
- westindia
- westus
- westus2
- westus3
Getting started on Amazon Web Services
From launch to signed in, step by step.
Subscribe on AWS Marketplace and launch in your region with TCP
22,80,5432and8000open; wait about two minutes.Open
http://<instance-public-ip>/for a landing page with versions and connection examples. pgAdmin 4 is at/pgadmin4with username[email protected].Connect to PostgreSQL on port 5432 as role
postgres:psql -h <instance-public-ip> -p 5432 -U postgres -d postgres. Webmin is on port8000asrootoradmin. The password for all three is your EC2 Instance ID (for examplei-0123456789abcdef0).SSH as
ubuntuwith your key pair. Change passwords withsudo bash /home/ubuntu/iscripts/pass_postgres.sh(any role),pass_pgadmin.shorpass_webmin.sh.Tuning lives in
/etc/postgresql/18/main/conf.d/99-provencloud.conf. Open 5432 only to the addresses that need it, never to 0.0.0.0/0.
Security posture
What this AWS image does and does not ship with, one fact per line.
Clean-room build on Canonical's official Ubuntu 24.04 LTS image: every component comes from its own official repository or release, nothing is copied from any third-party image, and the finished image was scanned for third-party vendor strings before capture.
No usable credential ships in the image; passwords are set on your instance at first boot from EC2 instance metadata (IMDSv2) and the scripts that set them delete themselves afterwards.
SSH is key-only, root login over SSH is refused, and build-time SSH keys, shell history and logs were removed before imaging.
PostgreSQL is the product here, so it listens on all interfaces with scram-sha-256 for remote clients; the security group is the gate, and the landing page deliberately never prints the Instance ID.
Local administration uses peer authentication over the Unix socket, which means no PostgreSQL password is stored anywhere in the image. pgAdmin keeps its users and its three Flask secrets in one SQLite file, so first boot rebuilds that database from scratch - the only path that regenerates SECRET_KEY, SECURITY_PASSWORD_SALT and CSRF_SESSION_KEY per instance.
The password-change script passes values to psql on stdin with psql's own quoting, never interpolated into SQL by hand.
The bundled password tools enforce at least 10 characters with upper- and lower-case letters, a number and a symbol, and verify the new credential with a real sign-in before reporting success.
The image is HTTP-only by design so it works at a bare IP with no certificate warnings: terminate TLS at a load balancer or add a certificate before exposing it publicly, and restrict port 22 and any admin ports to trusted IP ranges in your security group.
Getting started on Microsoft Azure
From launch to signed in, step by step.
Create the VM from the Azure Marketplace listing with TCP
22,80and8000open in your network security group, and5432only if you need to reach the database from outside the VM. Chooseubuntuas the administrator username so SSH and the script paths match. Wait about three minutes for first boot.Open
http://<vm-public-ip>/pgadmin4and sign in with the email[email protected]- pgAdmin validates the email format before it looks anything up, so a bareadmincan never work. Webmin is on port8000(usernameadminorroot). The PostgreSQL role ispostgres.The password is your VM ID: in the Azure portal open the virtual machine, choose Properties and copy VM ID - a 36-character value such as
02aab8a4-74ef-476e-8182-f6d2ba4166a6, typed exactly as shown in lower case.SSH as
ubuntuwith your key. Change passwords withsudo bash ~/iscripts/pass_postgres.sh,pass_pgadmin.shorpass_webmin.sh.
Security posture
What this Azure image does and does not ship with, one fact per line.
Clean-room build on Canonical's official Ubuntu image from the Azure Marketplace: every component comes from its own official source and no third-party image was launched or copied.
The postgres role, the pgAdmin login and Webmin are all set on first boot from your VM's own vmId.
The pre-image cleanup proves the build's own credentials are rejected before capture, and first boot sets every password from the new VM's own vmId, read from Azure IMDS.
The ubuntu login account ships password-locked with an empty authorized_keys, and cloud-init installs your own SSH key at deploy time.
Shell history, logs and cloud-init state are cleared before capture.
Verified against Microsoft's documented Linux certification test cases on a VM deployed from this gallery version - 13 passed, 0 failures - with VM extension provisioning confirmed and every helper script executed rather than only reviewed.
Port 5432 is not opened for you - open it only if you need remote database access, and scope it to your own networks.
Restrict port 22 to trusted IP ranges, and put the consoles behind HTTPS with your own certificate before exposing them to the internet.