advanced~3h

Capstone: Building a Second Microservice — AuditService

A capstone walkthrough building an AuditService that consumes events from a primary service via SQS, persists an audit trail to DynamoDB, and exposes a query API — demonstrating end-to-end event-driven multi-service architecture with SQS, DynamoDB, and cross-service IAM roles.

0
Subtopics

🎓 Learning objectives

  • •Design an event-driven consumer microservice that decouples from its upstream producer via SQS
  • •Model an append-only audit trail in DynamoDB with query patterns that support real compliance lookups
  • •Configure least-privilege, cross-service IAM roles so AuditService can only do exactly what it needs to
  • •Reason about idempotency, ordering, and failure handling in an SQS-driven consumer
  • •Expose a secure, paginated query API over an audit trail without leaking data across tenants
  • •Explain, end to end, how two independently-deployed services stay correctly in sync via asynchronous events rather than direct calls

Capstone: Building a Second Microservice — AuditService is a Pro topic

Sign in, then upgrade to Pro or Power to unlock this topic and the full AWS curriculum.

Related concepts

sqs-fundamentalssns-fundamentalsdynamodb-data-modelingiam-roles-cross-service-accessevent-driven-architecture-patterns

Next Step

Continue to Capstone: The Complete AWS Platform →