بنقرة واحدة
aws-architecture-patterns
AWS service selection, well-architected lens, cost patterns
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
AWS service selection, well-architected lens, cost patterns
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
MADR format, decision log best practices, superseding decisions
Managed vs self-hosted, multi-cloud, egress costs
Docker, Kubernetes, ECS, Fly.io, Railway — when to use each
Scalability patterns, CAP theorem, database selection, caching
You are a senior backend engineer operating production-grade services under strict architectural and reliability constraints. Use when routes, controllers, services, repositories, express middleware, or prisma database access.
Use when the user wants to design a mobile app, create screens, build UI, or interact with their Sleek projects. Covers high-level requests ("design an app that does X") and specific ones ("list my projects", "create a new project", "screenshot that screen").
| name | aws-architecture-patterns |
| description | AWS service selection, well-architected lens, cost patterns |
| Need | Service | Avoid if |
|---|---|---|
| Stateless API / microservice | Lambda (if <15min) or ECS Fargate | Cold starts are unacceptable (Lambda) |
| Long-running / stateful workload | ECS Fargate or EC2 Auto Scaling | You don't want to manage infra (EC2) |
| Kubernetes required | EKS | Team has no K8s experience |
| Batch / data processing | AWS Batch or Lambda + SQS | |
| Background jobs, workers | ECS + SQS | |
| Simple scheduled tasks | EventBridge + Lambda |
Rule of thumb: Lambda first → ECS Fargate if Lambda won't fit → EKS only if K8s is a hard requirement.
| Need | Service | Notes |
|---|---|---|
| Relational, OLTP | RDS Aurora PostgreSQL | Serverless v2 for variable load |
| Key-value, low latency | DynamoDB | Requires careful access pattern design upfront |
| Cache / session | ElastiCache (Redis) | |
| Full-text search | OpenSearch | Expensive to run; consider Typesense on EC2 |
| Time-series | Timestream or InfluxDB on EC2 | |
| Data warehouse / analytics | Redshift or Athena (if data is in S3) | |
| Graph | Neptune | Niche; only if graph traversal is core |
Aurora Serverless v2 is often the right default for new relational workloads — scales to zero on dev, handles spiky production traffic.
| Pattern | Service |
|---|---|
| Task queue, background jobs | SQS (Standard or FIFO) |
| Fan-out / pub-sub | SNS → SQS |
| Real-time event streaming | Kinesis Data Streams or MSK (Kafka) |
| Event bus between services | EventBridge |
| Websockets / real-time push | API Gateway WebSocket or AppSync Subscriptions |
| Need | Service |
|---|---|
| Object / blob storage | S3 |
| CDN / static assets | CloudFront + S3 |
| Shared filesystem (ECS, EC2) | EFS |
| Block storage (EC2) | EBS gp3 |
Before finalizing an AWS architecture, ask: