Azure
Web Apps
intermediate
Customer Portal (B2C) — Azure Architecture Template
Consumer-facing portal with directory-backed sign-in, API Management facade and PostgreSQL profile store.
Why this architecture works
- Identity is delegated to the directory service so the portal never handles raw credentials
- API Management enforces rate limits, subscription keys and JWT validation before any backend is reached
- Serverless profile API scales with sign-in bursts without pre-provisioned capacity
- Redis caches session and profile lookups to keep p95 latency low for logged-in users
- Key Vault holds OAuth client secrets and connection strings with rotation support
What's inside (9 resources)
Identity (B2C)
active-directory
Edge
front-door
Portal UI
web-app
API Gateway
api-management
Session Cache
redis-cache
Profile API
function-app
User DB
postgresql-flexible-server
Secrets
key-vault
APM
application-insights
From template to running infrastructure
- Open this template in the CloudForge visual designer (free account, no credit card).
- Customize resources, names, and connections on the drag-and-drop canvas — or ask Vani, the AI architect, to adapt it.
- Generate production-ready Terraform, ARM, or Bicep in one click.
- Review the plan diff and security scan, then deploy with human approval.