๐Ÿ—„๏ธ Temporary Databases

Spin up PostgreSQL, Redis, MongoDB, or MySQL instances on demand. Pre-loaded templates, connection strings, auto-backup on expiry, and automatic cleanup. Perfect for prototyping, demos, and CI/CD testing.

What Are Temporary Databases?

Temporary Databases give you real, isolated database instances that auto-expire. No provisioning, no infrastructure management, no cleanup. Just spin up, use, and walk away. Perfect for:

How It Works

  1. Navigate to Temporary Databases in your 25cent.cloud dashboard
  2. Select a database engine: PostgreSQL, Redis, MongoDB, or MySQL
  3. Choose a template (empty, e-commerce, blog schema, etc.) or start blank
  4. Set duration (1โ€“72 hours) โ€” instance spins up in seconds
  5. Get your connection string and start using it immediately
  6. Database auto-expires โ€” optional backup exported before cleanup

Pricing

1 quarter per hour (25ยข/hour). No monthly fees, no egress charges, no storage fees. All database engines cost the same. Sessions can be extended at any time.

Supported Engines

Engine Version Use Cases
PostgreSQL 16.x Relational data, full-text search, JSON, geospatial
Redis 7.x Caching, sessions, queues, pub/sub, leaderboards
MongoDB 7.x Document storage, flexible schemas, aggregation pipelines
MySQL 8.x Traditional relational, WordPress, legacy migrations

Templates

Pre-loaded templates get you started instantly with sample data and schemas:

API Usage

POST /api/temp-database/instances
Authorization: Bearer YOUR_TOKEN
Content-Type: application/json

{
  "engine": "postgresql",
  "template": "e-commerce",
  "duration": 4,
  "enableBackup": true
}

Response:

{
  "instanceId": "db_abc123xyz",
  "engine": "postgresql",
  "connectionString": "postgresql://user:[email protected]:5432/temp_abc123xyz",
  "expiresAt": "2026-02-28T18:00:00Z",
  "cost": 4,
  "status": "running",
  "template": "e-commerce"
}

Connecting

Use the connection string with any standard client:

# psql
psql "postgresql://user:[email protected]:5432/temp_abc123xyz"

# Node.js
const pool = new Pool({ connectionString: '...' });

# Python
conn = psycopg2.connect("postgresql://user:[email protected]:5432/temp_abc123xyz")

# redis-cli
redis-cli -h db.25cent.cloud -p 6379 -a pass

vs. Cloud DBaaS

Feature 25cent.cloud AWS RDS PlanetScale
Setup Time Seconds 5-10 minutes 1-2 minutes
Monthly Minimum $0 (25ยข/hour) $15+/month $29+/month
Auto-Cleanup โœ… Yes โŒ Manual โŒ Manual
Pre-loaded Templates โœ… Yes โŒ No โŒ No
Multi-Engine โœ… PG, Redis, Mongo, MySQL โœ… Multiple MySQL only

Security

โ† Back to Advanced Guides