Step 5: Understand the Architecture - Simply Readable Walkthrough
Learn how 12 AWS services orchestrate document translation and Easy Read
Great! You've deployed the demo
Now let's walk through what you just deployed and see it in action.
Start WalkthroughChoose your next step
Generate Evidence Pack
Create your business case documentation with what you've learned.
Generate Evidence PackWalkthrough progress
Step 5 of 5 • 7 minutes
Understand the Architecture
Look under the bonnet to see how 12 AWS services work together in an event-driven architecture to power document translation and Easy Read.
Screenshot updating - please check back soon
Expected outcome
- You understand the high-level architecture
- You can identify the key AWS services and their roles
- You understand the event-driven data flow
- You can explain the architecture to a colleague
Architecture overview
Simply Readable is a fully serverless application. There are no servers to manage, no databases to maintain, and no infrastructure to patch. Everything runs on managed AWS services that scale automatically and charge only for what you use.
View architecture as text
AWS Services Used
| Layer | Service | Purpose |
|---|---|---|
| Frontend | Amazon CloudFront + S3 | Hosts the React web application globally |
| Auth | Amazon Cognito | User authentication and identity-scoped access |
| API | AWS AppSync | Real-time GraphQL API with subscriptions |
| Security | AWS WAF | Web application firewall protecting the API |
| Storage | Amazon S3 | Document storage with identity-scoped prefixes |
| Data | Amazon DynamoDB | Job tracking and status management |
| Events | Amazon EventBridge Pipes | Connects DynamoDB Streams to Step Functions |
| Orchestration | AWS Step Functions | Orchestrates multi-step translation and Easy Read workflows |
| Compute | AWS Lambda | 12+ functions for document processing, admin setup, and more |
| AI | Amazon Translate | Document translation into 75 languages |
| AI | Amazon Bedrock (Claude 3 Haiku) | Text simplification for Easy Read |
| AI | Amazon Comprehend | Language detection for uploaded documents |
Event-driven architecture
Simply Readable uses an event-driven pattern. Rather than a traditional request-response model, the system reacts to events:
- User uploads a document -- the React app uploads directly to S3 using Cognito-authenticated credentials, then writes a job record to DynamoDB via AppSync.
- DynamoDB Stream fires -- the new job record triggers a DynamoDB Stream event.
- EventBridge Pipes routes the event -- the stream event is filtered and transformed by EventBridge Pipes, which starts a Step Functions execution.
- Step Functions orchestrates the workflow -- the state machine calls Lambda functions that interact with Translate, Bedrock, and S3.
- Status updates flow back -- Lambda functions update the DynamoDB job record, which AppSync picks up via subscriptions and pushes to the browser in real-time.
Why event-driven? This pattern means there are no always-on servers. Each component only runs when needed, keeping costs near zero when the system is idle. It also scales naturally -- if 100 documents are uploaded simultaneously, Step Functions runs 100 parallel workflows.
Explore in the AWS Console
To see the architecture in action, explore these AWS Console pages while a job is running:
Step Functions
View state machines (opens in new tab) -- see the visual workflow and execution history
DynamoDB
View tables (opens in new tab) -- see job records and their status changes
S3
View buckets (opens in new tab) -- see uploaded and translated documents in identity-scoped folders
CloudWatch Logs
View log groups (opens in new tab) -- see Lambda function logs for debugging
For a deeper dive into the architecture, visit the How It Works page after completing the walkthrough.