How awslabs/aws-well-architected-labs works
This repository is a collection of AWS learning and sample applications, not one unified runtime. The clearest end-to-end workflow in the supplied evidence is the Well-Architected integration: a tagged workload event triggers EC2 recommendation processing, which consults a mapping table, gathers Compute Optimizer and Trusted Advisor findings, and updates workload notes. Other groups represent separate Todo and operations examples. The README was empty; relationships are limited to those shown in excerpts or SOURCE INDEX references.
Main entry points: costQuestion.js Cost questions · app.js Todo web client · getEC2Recommendations.js Recommendation orchestration · costTA.js Trusted Advisor costs
Components 27
Well-Architected integration
- Event handler
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/app.js - Recommendation orchestration
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/computeopt/getEC2Recommendations.js - Mapping writer
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/dynamodb/mappingEngine.js - Mapping queries
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/dynamodb/queries.js - Cost questions
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/questions/costQuestion.js - EC2 details
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/ec2/describe.js - Workload tag match
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/ec2/checkTag.js - Date helper
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/libraries/date.js - Trusted Advisor costs
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/trustedadvisor/costTA.js - Workload notes updater
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/wellarchitected/updateNotes.js
Serverless Todo
- Todo web client
static/Common/Code/Serverless-Todo/src/web/app.js - Create handler
static/Common/Code/Serverless-Todo/src/api/create/app.py - Read handler
static/Common/Code/Serverless-Todo/src/api/read/app.py - Update handler
static/Common/Code/Serverless-Todo/src/api/update/app.py - Delete handler
static/Common/Code/Serverless-Todo/src/api/delete/app.py
Operations playbook
- Playbook service
static/Operations/200_Automating_operations_with_playbooks_and_runbooks/Code/src/app.js
Other components
- Tagged workload event
- DynamoDB
- Compute Optimizer
- Trusted Advisor
- Well-Architected Tool
- Todo user
- Todo table
- Operations client
- AWS KMS
- Secrets Manager
- MySQL database
Connections 29
- Tagged workload event → Event handler: triggers
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/app.js - Event handler → Recommendation orchestration: calls
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/app.js - Recommendation orchestration → Mapping queries: loads mappings
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/computeopt/getEC2Recommendations.js - Recommendation orchestration → Cost questions: dispatches questions
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/computeopt/getEC2Recommendations.js - Recommendation orchestration → Date helper: gets date
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/computeopt/getEC2Recommendations.js - Mapping writer → DynamoDB: batch writes
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/dynamodb/mappingEngine.js - Mapping queries → DynamoDB: queries
- Cost questions → Compute Optimizer: gets recommendations
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/questions/costQuestion.js - Cost questions → EC2 details: reads instance tags
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/questions/costQuestion.js - Cost questions → Workload tag match: checks tags
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/questions/costQuestion.js - Cost questions → Trusted Advisor costs: gets findings
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/questions/costQuestion.js - Cost questions → Workload notes updater: updates notes
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/questions/costQuestion.js - Trusted Advisor costs → Trusted Advisor: reads checks
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/trustedadvisor/costTA.js - Trusted Advisor costs → EC2 details: reads instance tags
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/trustedadvisor/costTA.js - Trusted Advisor costs → Workload tag match: checks tags
static/watool/200_Integration_with_AWS_Compute_Optimizer_and_AWS_Trusted_Advisor/Code/integration/src/trustedadvisor/costTA.js - Workload notes updater → Well-Architected Tool: writes notes
- Todo user → Todo web client: uses
- Todo web client → Create handler: posts create
- Todo web client → Read handler: requests list
- Todo web client → Update handler: posts edits
- Todo web client → Delete handler: requests delete
- Create handler → Todo table: writes
- Read handler → Todo table: reads
- Update handler → Todo table: updates
static/Common/Code/Serverless-Todo/src/api/update/app.py - Delete handler → Todo table: deletes
- Operations client → Playbook service: sends requests
- Playbook service → AWS KMS: encrypts and decrypts
static/Operations/200_Automating_operations_with_playbooks_and_runbooks/Code/src/app.js - Playbook service → Secrets Manager: hydrates credentials
static/Operations/200_Automating_operations_with_playbooks_and_runbooks/Code/src/app.js - Playbook service → MySQL database: reads and writes secrets
static/Operations/200_Automating_operations_with_playbooks_and_runbooks/Code/src/app.js