Skip to content

Provisioning Storage

This guide walks you through provisioning databases and object storage for your applications.

Navigate to Storage in the sidebar.

Provisioning a Database

  1. Under the Database section, enter your Application ID (e.g., my-app)
  2. Click Provision
  3. The database is created and connection details are displayed

Connection Credentials

After provisioning, you'll see:

  • Database — The database name
  • Username — The database user
  • Password — The database password
  • Connection string — A ready-to-use PostgreSQL connection URL

WARNING

The password is shown only once. Copy and save it immediately.

Resetting Database Credentials

To generate a new password:

  1. Click the key icon next to the database
  2. Confirm by typing the application ID
  3. A new password is generated (the old password is invalidated immediately)

Deprovisioning a Database

  1. Click the trash icon next to the database
  2. Confirm by typing the application ID

WARNING

Deprovisioning permanently deletes the database and all its data. This cannot be undone.

Provisioning Object Storage

  1. Under the Object Storage section, enter your Application ID
  2. Click Provision
  3. The S3 bucket is created

S3 Connection Details

After provisioning one or more buckets, the page shows:

  • S3 Endpoint — The S3-compatible endpoint URL
  • Access Key — Shared across all buckets in your organization
  • Bucket name — Same as the application ID

Each provisioned app appears as a separate bucket at the shared endpoint.

Using S3 Storage

Connect with any S3-compatible client. Example with AWS CLI:

bash
aws s3 --endpoint-url https://s3.nextepoch.cloud \
  ls s3://my-app/

Or upload a file:

bash
aws s3 --endpoint-url https://s3.nextepoch.cloud \
  cp ./data.csv s3://my-app/data.csv

Deprovisioning Object Storage

  1. Click the trash icon next to the bucket
  2. Confirm the deletion

WARNING

Deprovisioning permanently deletes all objects in the bucket. This cannot be undone.

TIP

Deployed apps can access their database via environment variables. Set the connection string as an env var in the deploy dialog.

Next Steps

NextEpoch Cloud Documentation