Aws advanced

From williamzujkowski/standards · View interactive version

Aws advanced is an AI agent skill from the GitHub repository williamzujkowski/standards. Orchestration & Events:

How to use this skill

Skill file

AWS Advanced Patterns

Master advanced AWS serverless architectures, event-driven patterns, and enterprise-grade cloud solutions.

Level 1: Quick Reference

AWS Advanced Services Overview

Orchestration & Events:

Data & Storage:

Integration:

Observability:

Common Patterns Quick Reference

# Event-Driven Architecture
Pattern: Publisher → EventBridge → Subscribers
Use Case: Microservices decoupling, cross-account events
Key Services: EventBridge, Lambda, SQS

# Orchestrated Workflow
Pattern: API → Step Functions → Lambda/Services
Use Case: Multi-step processes, saga pattern, ETL
Key Services: Step Functions, Lambda, DynamoDB

# Fan-Out Processing
Pattern: SNS Topic → Multiple SQS Queues → Lambda
Use Case: Parallel processing, multi-tenant systems
Key Services: SNS, SQS, Lambda

# CQRS Pattern
Pattern: Write DB → DynamoDB Streams → Read DB
Use Case: Read/write separation, materialized views
Key Services: DynamoDB Streams, Lambda, ElastiCache

# Saga Pattern
Pattern: Step Functions → Compensating Transactions
Use Case: Distributed transactions, rollback logic
Key Services: Step Functions, Lambda, DynamoDB

Essential Checklist

Security:

Cost Optimization:

Reliability:

Observability:


Level 2: Implementation Guide

📚 Full Examples: See REFERENCE.md for complete code samples, detailed configurations, and production-ready implementations.

API Gateway Advanced Patterns

Custom Authorizers - Lambda functions that validate tokens/API keys before allowing API access.

Usage Plans & Rate Limiting:

VTL Mapping Templates - Transform request/response without Lambda:

See REFERENCE.md for authorizer implementations, VTL examples, and WebSocket APIs.


DynamoDB Advanced Patterns

Single-Table Design - Store multiple entity types in one table using composite keys.

Key Strategy:

Common Patterns:

DynamoDB Streams - Capture changes (INSERT/MODIFY/REMOVE) for:

Transactions - ACID operations across up to 100 items:

See REFERENCE.md for complete access patterns, stream processors, and transaction examples.


SQS/SNS Messaging Patterns

FIFO Queues - Guarantee ordering and exactly-once processing:

Fan-Out Pattern (SNS → Multiple SQS):

Dead-Letter Queues (DLQ):

Best Practices:

See REFERENCE.md for FIFO queue setup, SNS filter policies, and DLQ consumers.


Cost Optimization Strategies

Lambda:

DynamoDB:

S3:

General:

See REFERENCE.md for auto-scaling configs, lifecycle policies, and cost analysis scripts.


Observability and Monitoring

X-Ray Distributed Tracing:

CloudWatch Custom Metrics (EMF):

Structured Logging:

console.log(JSON.stringify({
  level: 'INFO',
  message: 'Order processed',
  orderId, customerId,
  timestamp: new Date().toISOString()
}));

Best Practices:

See REFERENCE.md for X-Ray instrumentation, EMF examples, and structured logger implementations.


Level 3: Deep Dive Resources

Official AWS Documentation

Step Functions:

EventBridge:

Lambda Layers:

DynamoDB:

Observability:

Books and Courses

Books:

Courses:

Architecture Patterns

AWS Prescriptive Guidance:

Reference Architectures:

Bundled Resources

See included templates and scripts:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.