Work022020 — 2021
Multi-tenant cloud
Azure, Kubernetes, and Terraform for a multi-tenant application in Germany, including identity and the pipelines that deploy it.
Client and context
At ASSIST Software, a multi-tenant application in Germany needed a cloud architecture, the security around it, and a way to create environments without hand work. The engagement ran from September 2020 to May 2021.
Problem
Tenants had to stay isolated. Sign-in had to know which tenant a person belonged to, and consent had to be stored when the terms changed. New environments were still assembled by hand.
What I did
- 01
Designed the multi-tenant cloud architecture and the security for Cloud and Kubernetes.
- 02
Built CI/CD pipelines for the microservices and front-end projects, with deployment URLs coming from variable groups.
- 03
Wrote Terraform CI scripts so environment resources were created automatically, and whitelisted Azure IPs for MongoDB.
- 04
Implemented an Azure AD B2C custom flow with the Identity Experience Framework: sign-in, sign-up, password reset, a tenant id on the token, and GDPR data stored per user.
Result
Environments that could be created and deployed from the pipeline.
Sign-in that resolves the current user’s tenant and carries it on the token.
Custom B2C screens, with JavaScript enabled, for the consent and account flows.