Project
Resource
Learn about resources on OpenCloud — PostgreSQL databases and Redis caches.
Resource
What is a Resource?
A Resource is an infrastructure service that your applications need — a database to store data or a cache to speed things up. Resources run separately from applications and connect via environment variables.
Available resources:
| Type | Service | What it's for |
|---|---|---|
| Database | PostgreSQL | Storing data — user accounts, content, records |
| Cache | Redis | Ultra-fast in-memory storage for performance |
Create a Resource
Prerequisites: An OpenCloud account with credits and at least one project.
- Go to Resources > Create Resource
- Choose the type: PostgreSQL or Redis
- Choose a plan:
- Nano (~$2/month) — Good for most use cases
- Micro (~$3/month) — More storage and memory
- Select the same project as the application that will use it
- Click Create (takes 1-3 minutes)
- Get connection details: Host, Port, Username, Password, Connection string
Resources must be in the same project as the application to connect automatically.
Manage Resources
Resource cards show: name, type, status, plan, and project.
Connection Details
After creation, view connection details in the resource detail page:
- Host — Server address
- Port — Connection port
- Username — Database user
- Password — Click to reveal
- Connection string — Full connection URL (copy button available)
Start, Stop, Restart
| Action | What it does |
|---|---|
| Start | Boots up the resource |
| Stop | Resource becomes inaccessible (data preserved, still billed) |
| Restart | Use for connection issues |
Upgrade or Downgrade
- Open resource detail page
- Go to Settings or Plan tab
- Select new plan — pricing changes on next billing cycle
Delete
Deleting a resource permanently destroys all data inside it. This cannot be undone.
PostgreSQL
PostgreSQL is a powerful, open-source relational database. On OpenCloud:
- Required by: n8n (stores workflows and execution data)
- Auto-connected: When in the same project, applications detect PostgreSQL automatically
- Plans: Nano to Exclusive (1-12 CPUs, 2-64 GB RAM, 20-600 GB storage)
Redis
Redis is an ultra-fast in-memory data store. On OpenCloud:
- Used for: Caching, session storage, real-time data, queues
- Authentication: Password-only (auto-configured)
- Plans: Micro to Enterprise (1-32 GB memory)
Status Reference
| Status | Meaning |
|---|---|
| Creating | Setting up (1-3 minutes) |
| Running | Active and accessible |
| Stopped | Paused, data preserved |
| Error | Something went wrong |