Living Systems Handbook microservices as humans Bipin Singh
The ecosystem

The shared world

2 min readChapter 21 of 34By Bipin Singh

Humans in a society are independent, but they share a world: laws, ID systems, roads, hospitals, newspapers. A microservice society shares a platform — common capabilities every human uses, owned and run once.

Shared vs private

Shared by the society (platform) Private to each human
User identity (who the customers are) Business data (memory)
The front door (API Gateway, domain names) Business rules (brain)
The town square (event bus) and its rules Inboxes (queues)
Monitoring, logging and alerting standards Its own dashboards and alarms
Deployment pipeline templates Its own deployment schedule
Security guardrails (accounts, SCPs, policies) Its own IAM role (ID card)
Watch out

Share infrastructure and standards, never memory. A shared "common database" quietly turns a society back into one giant tangled body.

Identity: the society's ID office

Amazon Cognito user pools register and authenticate customers. Every human trusts the same tokens:

Laws: guardrails

Hospitals and newspapers: shared observability

The history books: analytics

Analysts want to know how the café is doing — orders per hour, popular dishes, payment failures. Don't let them query each human's memory. Instead:

Town square ──rule: all events──► Data Firehose ──► S3 data lake (partitioned, Parquet)
                                                       └─► Athena / QuickSight dashboards

Every announcement becomes history, analysable without disturbing anyone's work.

Configuration and secrets

Shared DNA: platform constructs

Package common patterns as reusable CDK constructs — e.g. a ServiceFunction with standard runtime, tracing, logging and alarms baked in, or an Inbox construct that always comes with a dead-letter queue and alarm. New humans are then born healthy by default.

Key idea

A good platform makes the right thing the easy thing: identity, gates, notice boards, monitoring and guardrails are provided once — so each human can focus on its one job.

Bipin Singh
Written by Bipin Singh

Senior Full-Stack Engineer · AI & AWS. I design and build serverless systems on AWS — and love explaining them simply.

Work with me