This lesson is practical and focused on concrete, production-ready changes:
- Replace the default development database (in-memory/SQLite) with a production-grade PostgreSQL database.
- Implement authentication (require users to sign in before using Backstage).
- Package Backstage into a Docker container and outline deployment options.
- Discuss upgrade strategies, backups, and routine maintenance tasks.
- A working Backstage app used for local development.
- Basic familiarity with Docker and PostgreSQL (or access to a managed Postgres service).
- Access to an identity provider for configuring OIDC or SSO (e.g., Okta, Google Workspace, Azure AD).
This lesson is intended for readers who already have a Backstage app set up for local development. The default development database (in-memory or SQLite) is convenient for local testing but is not suitable for production—use a managed PostgreSQL instance or an equivalent production-grade database instead.
- Backstage documentation: https://backstage.io/docs
- PostgreSQL: https://www.postgresql.org/
- Docker: https://www.docker.com/
- Kubernetes: https://kubernetes.io/docs/
- OIDC / OAuth resources: https://oauth.net/ and your identity provider docs