No per-service fees - one plan, unlimited appsFree tier available - start building today15% off your workspace - subscribe to our blogNo per-service fees - one plan, unlimited appsFree tier available - start building today15% off your workspace - subscribe to our blog
Miget x AIPlansEnterpriseCompareBlogDashboard
Start for Free
Blog/Miget/Cloud/
··

Free PostgreSQL Hosting with Public Access (IPv4/IPv6 Included)

Comparing providers rather than setting one up? We put the options side by side in best free PostgreSQL hosting - Neon, Supabase, Aiven, Render, Railway and Miget, with the catch each one hides. This post is the hands-on setup for Miget's.

Want to launch a PostgreSQL database in the cloud for free? Miget offers fully managed PostgreSQL hosting with optional public access via IPv4/IPv6 - perfect for development, testing, and prototypes.

What you get on the free tier:

  • A fully managed PostgreSQL instance (pick your version, e.g. 17.x) - provisioning, TLS, and connection management handled for you
  • 0.1 vCPU, 256 Mi RAM, 1 Gi storage (the Miget Free resource)
  • Optional public access over IPv4 and IPv6 - connect with psql or any client from anywhere, not just from apps inside the platform
  • TLS-encrypted connections by default
  • An upgrade path that does not require migrating: scale CPU/RAM/storage in place, or move up to PostgreSQL HA clusters when you go to production

Two ways to get started: You can create PostgreSQL as a standalone service or add it as an add-on to an existing app. Choose the approach that works best for your use case.


1. Navigate to Services

Go to Services in your dashboard and click Create Service.

2. Select PostgreSQL

Choose PostgreSQL from the available services.

Add Service

3. Configure Your Database

3.1 Select Resource

Add your label, select project, and select the Miget Free resource (0.1 CPU, 256 Mi RAM, 1 Gi storage) or any other resource you wish to use.

Configure Service

3.2 Configure PostgreSQL

  • Choose your PostgreSQL version (e.g. 17.x)
  • Enable Public Access if you want it reachable from the internet
  • Enable Environment Variables if you wish to use Project Environment Variables.
  • Adjust CPU, RAM, and Storage to your needs.

Configure Service 2


Option 2: Add PostgreSQL to an Existing App

If you prefer to add PostgreSQL as an add-on to an existing application, follow these steps:

1. Create an App (or use an existing one)

Navigate to Applications, click Create Application, and fill in the basic info.

Create Application

2. Choose the Free Resource Tier

Select the Miget Free resource (0.1 CPU, 256 Mi RAM, 1 Gi storage).

Important: Your app will reserve ~128 Mi of RAM, leaving ~128 Mi available for your database.

Choose Free Resource

3. Add PostgreSQL as an Add-on

Go to the Add-ons tab and click Add Your First AddonPostgreSQL.

Select Add-on

4. Configure Your Database

  • Choose your PostgreSQL version (e.g. 17.x).
  • Enable Public Access if you want it reachable from the internet.
  • Set CPU/RAM/Disk (Free plan defaults shown here).

Configure PostgreSQL


Connect to Your Database

Regardless of which option you chose, after creation you'll see full connection details including external URL, database name, username, and password.

Database Details

Connect with psql

Use the provided connection string or run:

Example:

PGPASSWORD=OeI0wAebyme9 psql -h postgres-tm1vt.db.eu-east-1.onmiget.com -U o3udoa2n h4gsaj8x
psql (17.5)
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, compression: off, ALPN: postgresql)
Type "help" for help.

h4gsaj8x=>

Verify Public IPv4/IPv6 Access

If you enabled public access, your database will be reachable over both IPv4 and IPv6.

You can verify the DNS resolution like this:

host postgres-tm1vt.db.eu-east-1.onmiget.com
postgres-tm1vt.db.eu-east-1.onmiget.com has address 91.90.88.188
postgres-tm1vt.db.eu-east-1.onmiget.com has address 91.90.88.189
postgres-tm1vt.db.eu-east-1.onmiget.com has IPv6 address 2001:41d0:a800:c00:10::babe
postgres-tm1vt.db.eu-east-1.onmiget.com has IPv6 address 2001:41d0:a800:c00:10::c0de

You can now connect to the database from anywhere in the world using IPv4 or IPv6 - depending on your client and network support.

Miget is dual-stack ready: every public database endpoint comes with native IPv6 support alongside IPv4.

Free Plan Limitations

FREE PLAN: The free plan comes with no best effort guarantees and can be limited below 10% CPU cap. This plan is subject to limitations and may not provide consistent performance. FREE Miget® Offer: There is no SLA.

If you need more RAM or CPU, you can upgrade your resource or move to a paid plan for better performance and support.


Start Now

Go to https://app.miget.com, navigate to Services to create a standalone PostgreSQL database, or create an app and add PostgreSQL as an add-on - both options are free.

Need more help? Check out our PostgreSQL documentation.


How Miget Compares to Other Free PostgreSQL Options

Most free PostgreSQL tiers come with a catch: instances that sleep after inactivity, one-time trial credits that run out, or databases locked to private networking so you cannot connect from your laptop. When you compare free PostgreSQL hosting options, check four things:

  1. Is it a standing free tier or a trial? Miget's free resource is a standing free tier available on every account (best-effort, no SLA) - not a time-boxed trial. For comparison, Railway's free option is a one-time $5 trial credit, and Render's free tier sleeps after 15 minutes of inactivity (both as of April 2026 - see our full Railway alternative and Render alternative breakdowns).
  2. Can you reach it from outside? Public access on Miget is optional but included - IPv4 and IPv6, TLS by default. Many free tiers only allow connections from apps hosted on the same platform.
  3. What happens when you outgrow it? On Miget you scale the same instance in place (more CPU/RAM/storage) or move to HA clusters - no dump-and-restore migration to a different provider.
  4. Is the database a separate bill later? On per-service platforms a production Postgres becomes its own monthly line item. On Miget, databases are included in your compute plan - the same model that makes Miget a compelling Heroku alternative for full-stack apps.

Frequently Asked Questions

Is Miget's PostgreSQL hosting really free?

Yes. The Miget Free resource (0.1 vCPU, 256 Mi RAM, 1 Gi storage) costs $0 and can run a standalone PostgreSQL service. It is best-effort capacity with no SLA - fine for development, testing, and prototypes, not for production traffic.

Is this managed PostgreSQL hosting?

Yes. Miget provisions the instance, manages TLS and connection endpoints, and lets you pick the PostgreSQL version. You do not manage a VM or install anything - you get a connection string.

Can I connect to the free database from anywhere?

Yes, if you enable Public Access. Your database gets a public endpoint with both IPv4 and IPv6 addresses, and you can connect with psql, a GUI client, or any driver over TLS. If you leave Public Access off, the database is reachable only from your apps on Miget.

What are the free plan's limits?

256 Mi RAM, 0.1 vCPU (which may be capped below 10% under load), and 1 Gi storage, with no SLA. If you add PostgreSQL as an add-on to a free app instead of running it standalone, the app reserves about half the RAM.

How do I upgrade when my project grows?

Change the resource allocation on the same instance (CPU, RAM, and storage scale independently), or move to a paid plan for consistent performance. For production workloads, PostgreSQL HA clusters add automatic failover.


Free Managed PostgreSQL with Public IPv4 and IPv6 Access