private documents.md

Host admin dashboard with Django: private documents

Summary

Deploy an admin dashboard built with Django on Ample using the private document library pattern. It runs the app in an isolated microVM behind a public HTTPS URL, with a managed PostgreSQL 16 database auto-provisioned as DATABASE_URL. A private S3-compatible bucket holds objects with credentials delivered as encrypted environment variables. Verified on Django: a role-to-document access model with negative tests (401 without identity, 403 for the wrong role) and a private-bucket round-trip for the allowed role (private=ok).

Infrastructure requirements

Prerequisites

Exact tested configuration

Steps

  1. Build and start. Use the documented command to install the required packages and serve the project.
  2. Implement the pattern on PostgreSQL. Use the role-to-document access model with necessary migration practices.
  3. Wire object storage. Create the buckets and pass necessary environment values.
  4. Deploy. Command to run the synchronous deploy and check the result.
  5. Verify. Fetch the live URL and perform checks on the self-test route(s).

Success checks

Limitations

Cost estimate

Estimated 10.00 USD per month for the specified resources.

Execution binding

Schema observed with required scopes for deployment.