Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Designs, builds, deploys, tests, and debugs serverless applications on AWS Lambda using the AWS Serverless MCP Server.
59% 86%+27 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 13 of 22 without it.
3 of 3 safety checks passed
Not used yet
The most important architectural decision in an event-driven system is whether services coordinate through choreography or orchestration.
| Choreography | Orchestration | |
|---|---|---|
| How it works | Services emit events; other services react independently | A central coordinator (Step Functions, Durable Functions) directs each step |
| Coupling | Loose — publisher doesn't know about consumers | Tighter — coordinator knows about each step |
| Visibility | Distributed; hard to see the full flow | Centralized; execution history in one place |
| Failure handling | Each service handles its own failures | Central error handling and retry logic |
| Best for | Independent services reacting to facts about the world | Business-critical workflows requiring audit trails, visibility, and reliable sequencing |
Use choreography (EventBridge + Lambda) when services are genuinely independent and don't need to know the outcome of each other's processing.
Use orchestration (Step Functions / Lambda durable functions) when you need reliable sequencing, compensating transactions, human approval steps, or the ability to visualize and debug the full workflow.
In practice, most systems use both: orchestration within a bounded context, choreography between bounded contexts.
| Type | Use Case |
|---|---|
| Default bus | Receives AWS service events (EC2 state changes, S3 events, CodePipeline, etc.) |
| Custom bus | Your application events; recommended for all custom event routing |
| Partner bus | Receives events from SaaS partners (Datadog, Zendesk, Stripe, etc.) |
Always use a custom event bus for application events — keeps your events separate from AWS service noise and simplifies IAM and monitoring.
Every event on the bus has this envelope (added automatically by EventBridge):
{
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.