Prompt
I'm unhappy with our current SaaS infrastructure spread across AWS, Stripe, Auth0, and Datadog; how do I simplify it?
Latest observation
Yes — the way to simplify a SaaS stack like AWS + Stripe + Auth0 + Datadog is usually not “replace everything,” but reduce the number of places where business logic and operational truth live.
Here’s a practical way to think about it.
1) Define the core systems you actually need
Most SaaS companies need only a few true primitives:
- Compute / data plane: where your app runs and stores data
- Identity: who the user is
- Billing: who pays and what they’re entitled to
- Observability: how you know it’s working
Right now your stack likely maps to:
- AWS = compute, storage, networking, some auth, some observability
- Stripe = billing and subscriptions
- Auth0 = identity
- Datadog = logs / metrics / traces / alerting
That’s not inherently too many vendors. The pain usually comes from:
- duplicated user/billing state
- too many dashboards and alerts
- custom glue code between systems
- unclear “source of truth”
- overengineering early on
2) Pick one source of truth for each domain
A big simplification step is deciding where each truth lives:
- User identity truth → Auth0 (or AWS Cognito, if you want to consolidate into AWS)
- Subscription / entitlement truth → Stripe
- Application data truth → your database
- Operational health truth → one observability platform
Don’t let both Auth0 and your app database “own” user lifecycle independently.
Don’t let Stripe entitlements be duplicated in 4 different internal tables unless there’s a clear reason.
3) Decide what you can consolidate
There are two common simplification paths:
Path A: Optimize for fewer vendors
If you want fewer contracts and fewer moving parts:
- Move Auth0 → Cognito if your auth needs are standard
- Use AWS-native monitoring (CloudWatch + X-Ray + OpenTelemetry) instead of Datadog
- Keep Stripe unless you have a strong reason to replace it
This can reduce vendor count, but may increase engineering effort and reduce UX quality in the short term.
Path B: Optimize for developer speed and less glue
If you want less operational overhead:
- Keep Stripe (usually best-in-class)
- Keep Auth0 if auth is complex (SSO, enterprise, social login, MFA)
- Keep Datadog if you rely on it heavily
- Simplify AWS architecture internally
This often produces the best short-term outcome because replacing Stripe/Auth0/Datadog can be expensive and risky.
4) Reduce integration surface area
A lot of “infrastructure sprawl” comes from unnecessary integration patterns.
Good simplification patterns:
- Use webhooks from Stripe/Auth0 only for essential state changes
- Centralize integration logic in a small number of services
- Avoid point-to-point service chatter
- Use an internal “billing/identity sync” module rather than scattered logic
- Create one internal “account status” model that combines:
- user identity
- subscription state
- org/team membership
- entitlement flags
Avoid:
- every service calling Stripe directly
- every service checking Auth0 claims differently
- duplicating webhook handlers across multiple apps
- custom “billing truth” logic in the frontend
5) Simplify AWS specifically
AWS often becomes the biggest source of complexity. Common simplifications:
- Use one main runtime:
- ECS/Fargate or Lambda, not both everywhere unless needed
- Use one database strategy:
- ideally one primary relational DB for core app data
- Standardize on:
- one IaC tool
- one deployment pipeline
- one logging format
- one secrets strategy
- Minimize bespoke networking:
- fewer VPCs, fewer peering setups, fewer cross-account complications
If you’re on Kubernetes without a strong reason, that’s often a simplification target too.
6) Reduce observability noise
Datadog can be powerful, but it can also become expensive and noisy.
To simplify:
- define a small set of golden signals:
- latency
- traffic
- errors
- saturation
- keep a small number of critical alerts
- standardize dashboards by service type
- instrument with OpenTelemetry so you’re not locked into one vendor’s SDKs
- trim low-value metrics and logs aggressively
Often the biggest win is not changing tools, but reducing what you collect.
7) Consolidate around a few workflows
The operational workflow should be simple:
Example:
- User signs up via Auth0
- Billing starts in Stripe
- Webhook updates internal account entitlement
- App checks only internal entitlement service / table
- Monitoring watches the app and key business events
If possible, make your internal app depend on your own entitlement API, not directly on Stripe or Auth0 for runtime decisions.
8) A realistic simplification roadmap
Here’s a low-risk sequence:
Phase 1: Map the current state
- list every app/service
- list every integration with AWS/Stripe/Auth0/Datadog
- identify source of truth for users, orgs, subscriptions, entitlements
- find duplicated logic and manual ops
Phase 2: Remove duplication
- unify identity and billing state in one internal model
- consolidate webhooks and event handlers
- delete dead dashboards/alerts/metrics
- standardize deployment and secrets
Phase 3: Reduce vendor complexity if still needed
- evaluate Auth0 → Cognito
- evaluate Datadog → AWS-native + OpenTelemetry
- consider whether certain AWS components can be replaced with simpler managed services
9) Rule of thumb
Don’t simplify by “using fewer tools.”
Simplify by:
- having fewer systems of record
- fewer integration paths
- fewer custom exceptions
- fewer places to debug the same problem
10) If you want the shortest practical answer
A very common simplified SaaS stack is:
- AWS for app hosting and data
- Stripe for payments
- Auth0 or Cognito for auth
- One observability layer:
- Datadog if you value speed and convenience
- AWS-native if you want cost/control and can tolerate more setup
Then ensure:
- your app owns entitlement logic
- only a couple of services talk to Stripe/Auth0
- your AWS setup is standardized and minimal
If you want, I can turn this into a concrete target architecture for your company size, or help you decide which of AWS / Stripe / Auth0 / Datadog to keep vs replace based on your constraints.