Versa Innovations
Microservices on AWS EKS
NestJS microservices on Kubernetes with Cognito/OIDC auth, RBAC and an isolated VPC.
- Role
- Full Stack Developer & DevOps Engineer
- Company
- Versa Innovations
- Year
- 2023–2024
- Metric
- RBAC
- JWT + Cognito (OIDC)
- Metric
- Least-privilege
- VPC + IAM design
- Metric
- Load-tested
- right-sized with Locust
Stack
- NestJS
- AWS EKS
- Docker
- Cognito (OIDC)
- GitHub Actions
- Jest
- Locust
Problem
Versa needed its NestJS services running reliably on AWS, with proper authentication, a secure network boundary, and a delivery pipeline that stopped regressions before they shipped.
Constraints
- Multiple services, each deployable on its own.
- Role-based access across users and services.
- Infrastructure cost had to match real load, not guesses.
Architecture
Key decisions
- NestJS microservices on EKS with Docker, so each service scales and deploys independently.
- JWT + Cognito (OIDC) with RBAC, keeping identity in a managed service and authorization rules in code.
- CI/CD with GitHub Actions and Jest quality gates: nothing merges without passing tests.
- VPC with security groups and least-privilege IAM, so each service can reach only what it needs.
- Locust load testing to right-size the cluster from measured traffic.
Outcome
A secure, independently deployable service platform with quality gates on every change and infrastructure sized from load-test data.