
☁️ SaaS & Cloud · Flowchart
A typical CI/CD pipeline from a pull request to production: build, tests, security scans, staging deploy, approval and a canary release.
Drawing diagram…
CI/CD flowchart: a developer opens a pull request, CI builds the code, runs unit tests, static analysis and dependency security scans. If anything fails the PR is blocked. After review and merge, a container image is built and pushed to the registry, deployed to staging and smoke-tested. After manual approval it goes to production as a 10% canary; if error rates stay normal it is rolled out to 100%, otherwise it is rolled back automatically.
flowchart TD
A[Developer opens pull request] --> B[Build]
B --> C[Unit tests]
C --> D[Static analysis and security scan]
D --> E{All checks pass?}
E -->|No| F[Block merge, notify developer]
E -->|Yes| G[Code review and merge]
G --> H[Build container image]
H --> I[Push to registry]
I --> J[Deploy to staging]
J --> K[Smoke tests]
K --> L{Manual approval}
L -->|Approved| M[Canary release 10%]
M --> N{Error rate normal?}
N -->|Yes| O[Roll out to 100%]
N -->|No| P[Automatic rollback]How a microservices app runs on Kubernetes in the cloud: ingress, namespaces, services with multiple replicas, managed databases and monitoring.
The authorization code flow with PKCE used by most modern web and mobile apps to log users in through an identity provider.
A B2B SaaS product serving many customer organisations from one platform: tenant-aware services, per-tenant data isolation, billing and admin.
The classic three-tier web app on AWS: CloudFront and a load balancer, an autoscaling app tier in private subnets, and a Multi-AZ database.
Services that talk through events instead of direct calls: an order service publishes events that inventory, payments, notifications and analytics react to.
The states of a SaaS customer's subscription: trial, active, past due with retries, paused, cancelled and expired.