page:blueprints:professional training:member portal:django

Professional Training: Member Portal Using Django

Summary

A member portal blueprint for professional training built with Django on Ample. Domain schema:

Public information includes the certification catalog, cohort dates, and trainer credentials. Exam results, employer billing, and participant identity are kept out of scope until further review. Exam results and certifications are personal records; only cohort logistics and materials are modeled.

Technical basis 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).

Framework and Workload

Prerequisites

Resource Requirements

Infrastructure Requirements

  1. Compute: Apps run in isolated x86_64 Firecracker microVMs that auto-pause when idle and wake on request; sizes are the priced VM sizes.
  2. Postgres: Managed PostgreSQL 16 runs in its own microVM and is auto-provisioned when an app needs a database and no DATABASE_URL is supplied.
  3. S3-compatible Object Storage: Buckets are S3-compatible with issued credentials; PutObject and GetObject are verified by canary. Other S3 operations are not verified.

Workflow Steps

  1. Model the Professional Training Domain: Create the tables course_groups, memberships, sessions, materials, document_access. Certification cohorts live in course_groups; keep sensitive classes (exam results, employer billing, participant identity) out of this schema.
  2. Authorize Access to Materials: By membership and role (401, 403 negative tests)
  3. Store Materials: In the private bucket and stream them through the app.
  4. Deploy and Verify: The negative tests and an authorized download.
  5. Verify Self-Test(s): From the example and own acceptance checks for the professional training workflow.

Cost Estimate

Limitations

Examples

Success Checks

  1. App responds on its public URL (path: /, expect: ample canary django patterns)
  2. Private-document-library self-test from the example (path: /p/private-document-library, expect: see the pattern fixture checks)