---
title: "PostgreSQL database server on a VPS · CloudSat"
description: "Deploy PostgreSQL on CloudSat: the open-source relational database with JSONB, full-text search, replication and extensions such as PostGIS, on NVMe disks."
url: https://cloudsat.io/apps/deploy-postgresql
updated: 2026-11-18T15:52:35Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Databases](https://cloudsat.io/apps/category/database-servers) Editor's pick

# PostgreSQL on a VPS

PostgreSQL is a mature open-source relational database with strong SQL standards support, JSONB, full-text search, replication and a deep extension ecosystem.

[Deploy PostgreSQL](https://dash.cloudsat.io/console/deploy?image=app%3Apostgresql&plan=cloud-1g) [All apps](https://cloudsat.io/apps)

## About PostgreSQL

PostgreSQL is an object-relational database developed by a global community under the permissive PostgreSQL License. It offers MVCC transactions, rich SQL with window functions and CTEs, JSONB documents, full-text search, table partitioning, and both streaming and logical replication.

Extensions such as PostGIS and pgvector turn the same server into a GIS engine or a vector store. A dedicated CloudSat VPS gives the database its own NVMe disk and memory, and a snapshot before each major upgrade gives you a restore point.

The server listens on port 5432 for local connections only, and you administer it through `psql` as the `postgres` system user.

## What you get with PostgreSQL

- MVCC transactions with full ACID guarantees
- JSONB, arrays and full-text search in plain SQL
- Streaming and logical replication
- Declarative table partitioning
- Extensions such as PostGIS, pgvector and pg_stat_statements

## PostgreSQL use cases

- Primary database for Django, Rails, Laravel or Node.js apps
- Geospatial queries with PostGIS
- Embedding search with pgvector beside relational data

## After you deploy PostgreSQL

1. Once the console reads **Running**, SSH in and open a shell with `sudo -u postgres psql`.
2. Create a role and database per app, for example `CREATE ROLE shop LOGIN PASSWORD '<secret>';` and `CREATE DATABASE shop OWNER shop;`.
3. For remote apps, set `listen_addresses` in `postgresql.conf`, add a `scram-sha-256` rule to `pg_hba.conf`, then `systemctl restart postgresql`.
4. Open 5432 in a CloudSat firewall only to your application servers, and schedule `pg_dump` or WAL archiving.

## PostgreSQL ports

Open these in your firewall if you use one: `5432/tcp PostgreSQL (localhost until you open it)`.

## PostgreSQL FAQ

### Which PostgreSQL version should I run?

PostgreSQL 18 is the newest major release, supported until November 2030, and each major version receives fixes for five years. Check yours with `psql --version` and plan major upgrades with `pg_upgrade`.

### Can I add extensions like pgvector?

Yes. Install the extension package built for your PostgreSQL version with apt, then run `CREATE EXTENSION vector;` in the target database. PostGIS and most others follow the same pattern.

**Disclaimer.** The PostgreSQL project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

## Apps like PostgreSQL

[All apps in Databases](https://cloudsat.io/apps/category/database-servers)

- [pgAdmin](https://cloudsat.io/apps/deploy-pgadmin): Databases pgAdmin 4 is the open-source administration tool for PostgreSQL: browse objects, write and explain queries, and manage roles from a browser tab.
- [MySQL](https://cloudsat.io/apps/deploy-mysql): Databases MySQL Community Server is the open-source relational database behind WordPress, Drupal and many web stacks, with InnoDB transactions and built-in replication.
- [MariaDB](https://cloudsat.io/apps/deploy-mariadb): Databases MariaDB is an open-source relational database that began as a fork of MySQL, keeping its protocol and tools while adding engines and features.
- [Supabase](https://cloudsat.io/apps/deploy-supabase): Databases Supabase bundles PostgreSQL with authentication, auto-generated REST APIs, realtime, file storage and edge functions, plus the Studio dashboard to run it.
- [Adminer](https://cloudsat.io/apps/deploy-adminer): Databases Adminer is a full database manager in one PHP file: browse tables, run SQL, edit rows and export dumps for MySQL, MariaDB, PostgreSQL, SQLite and more.
- [Apache CouchDB](https://cloudsat.io/apps/deploy-couchdb): Databases Apache CouchDB stores JSON documents behind an HTTP API and replicates between servers, browsers and phones. The backend of choice for offline-first apps.
