Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

aws-advanced-patterns

БесплатноЗапускает вложенные скриптыНе проверен

Orchestration & Events:

williamzujkowskiот williamzujkowski★ 23 звезды на GitHub16 установок в других каталогах

Об этом скилле

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:

  • Step Functions: State machine orchestration for complex workflows
  • EventBridge: Serverless event bus for event-driven architectures
  • Lambda Layers: Shared code and dependencies across functions

Data & Storage:

  • DynamoDB Advanced: Single-table design, streams, global tables
  • S3 Advanced: Event notifications, object lifecycle, intelligent tiering

Integration:

  • API Gateway Advanced: Custom authorizers, usage plans, WebSocket APIs
  • SQS/SNS Patterns: FIFO queues, DLQ, fan-out, message filtering

Observability:

  • CloudWatch: Custom metrics, composite alarms, insights
  • X-Ray: Distributed tracing, service maps, annotations

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:

  • IAM least privilege policies (resource-level permissions)
  • Secrets Manager for credentials (automatic rotation)
  • VPC endpoints for private connectivity
  • Encryption at rest and in transit
  • WAF rules for API Gateway

Cost Optimization:

  • Lambda reserved concurrency for predictable workloads
  • DynamoDB on-demand vs provisioned capacity
  • S3 Intelligent-Tiering for variable access patterns
  • CloudWatch Logs retention policies
  • Cost allocation tags for all resources

Reliability:

  • Multi-AZ deployments
  • Dead-letter queues (DLQ) for failed messages
  • Circuit breakers in Step Functions
  • Exponential backoff with jitter
  • Chaos engineering tests

Observability:

  • X-Ray tracing enabled on all Lambda functions
  • Custom CloudWatch metrics for business KPIs
  • Structured logging (JSON format)
  • Distributed tracing correlation IDs
  • Alarms for error rates and latency

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.

  • JWT Authorizer - Verify JWT tokens, return IAM policy + context
  • Request Authorizer - Validate custom headers, IP whitelist, API keys

Usage Plans & Rate Limiting:

  • Throttle: Burst (max concurrent), Rate (requests/second)
  • Quota: Monthly/daily limits per API key
  • Associate API keys with usage plans

VTL Mapping Templates - Transform request/response without Lambda:

  • Add $context variables (requestId, authorizer data, sourceIP)
  • Access $input for payload manipulation
  • Use for legacy system integration

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:

  • PK (Partition Key): Entity type + ID (e.g., USER#123, ORDER#456)
  • SK (Sort Key): Relationship or sub-entity (e.g., PROFILE, ORDER#2024-01-15)
  • GSI for alternate access patterns (e.g., query by email, status)

Common Patterns:

  • 1:N relationships - Same PK, different SK prefixes
  • N:N relationships - Inverted index with GSI
  • Hierarchical data - SK with begins_with queries

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

  • Materialized views
  • Cross-region replication
  • Analytics/auditing
  • Event-driven workflows

Transactions - ACID operations across up to 100 items:

  • TransactWriteItems - Atomic writes with conditions
  • TransactGetItems - Consistent reads
  • Use for fund transfers, inventory management

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


SQS/SNS Messaging Patterns

FIFO Queues - Guarantee ordering and exactly-once processing:

  • MessageGroupId - Messages with same ID processed in order
  • MessageDeduplicationId - Prevents duplicate
Полный SKILL.md на GitHub

Установить aws-advanced-patterns в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

REFERENCE.mdscripts/cost-optimization.pytemplates/custom-authorizer.jstemplates/dynamodb-single-table.yamltemplates/eventbridge-patterns.jsontemplates/lambda-layer-structure/nodejs/build.shtemplates/lambda-layer-structure/nodejs/package.jsontemplates/lambda-layer-structure/python/build.shtemplates/lambda-layer-structure/python/requirements.txttemplates/step-functions-state-machine.json

FAQ

Что делает скилл aws-advanced-patterns?

Orchestration & Events:

Как установить скилл aws-advanced-patterns?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл aws-advanced-patterns запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить aws-advanced-patterns с