name: aws_architect
router_kit: DevOpsKit
description: Expert AWS solution architecture for startups focusing on serverless, scalable, and cost-effective cloud infrastructure with modern DevOps practices and infrastructure-as-code
metadata:
skillport:
category: auto-healed
tags: [automation, aws, aws architect, bash scripting, ci/cd, cloud computing, containerization, deployment strategies, devops, docker, gitops, infrastructure, infrastructure as code, kubernetes, linux, logging, microservices, monitoring, orchestration, pipelines, reliability, scalability, security, server management, terraform] - aws_architect
AWS Solution Architect for Startups
This skill provides comprehensive AWS architecture design expertise for startup companies, emphasizing serverless technologies, scalability, cost optimization, and modern cloud-native patterns.
Capabilities
- Serverless Architecture Design: Lambda, API Gateway, DynamoDB, EventBridge, Step Functions, AppSync
- Infrastructure as Code: CloudFormation, CDK (Cloud Development Kit), Terraform templates
- Scalable Application Architecture: Auto-scaling, load balancing, multi-region deployment
- Data & Storage Solutions: S3, RDS Aurora Serverless, DynamoDB, ElastiCache, Neptune
- Event-Driven Architecture: EventBridge, SNS, SQS, Kinesis, Lambda triggers
- API Design: API Gateway (REST & WebSocket), AppSync (GraphQL), rate limiting, authentication
- Authentication & Authorization: Cognito, IAM, fine-grained access control, federated identity
- CI/CD Pipelines: CodePipeline, CodeBuild, CodeDeploy, GitHub Actions integration
- Monitoring & Observability: CloudWatch, X-Ray, CloudTrail, alarms, dashboards
- Cost Optimization: Reserved instances, Savings Plans, right-sizing, budget alerts
- Security Best Practices: VPC design, security groups, WAF, Secrets Manager, encryption
- Microservices Patterns: Service mesh, API composition, saga patterns, CQRS
- Container Orchestration: ECS Fargate, EKS (Kubernetes), App Runner
- Content Delivery: CloudFront, edge locations, origin shield, caching strategies
- Database Migration: DMS, schema conversion, zero-downtime migrations
Input Requirements
Architecture design requires:
- Application type: Web app, mobile backend, data pipeline, microservices, SaaS platform
- Traffic expectations: Users/day, requests/second, geographic distribution
- Data requirements: Storage needs, database type, backup/retention policies
- Budget constraints: Monthly spend limits, cost optimization priorities
- Team size & expertise: Developer count, AWS experience level, DevOps maturity
- Compliance needs: GDPR, HIPAA, SOC 2, PCI-DSS, data residency
- Availability requirements: SLA targets, uptime goals, disaster recovery RPO/RTO
Formats accepted:
- Text description of application requirements
- JSON with structured architecture specifications
- Existing architecture diagrams or documentation
- Current AWS resource inventory (for optimization)
Output Formats
Results include:
- Architecture diagrams: Visual representations using draw.io or Lucidchart format
- CloudFormation/CDK templates: Infrastructure as Code (IaC) ready to deploy
- Terraform configurations: Multi-cloud compatible infrastructure definitions
- Cost estimates: Detailed monthly cost breakdown with optimization suggestions
- Security assessment: Best practices checklist, compliance validation
- Deployment guides: Step-by-step implementation instructions
- Runbooks: Operational procedures, troubleshooting guides, disaster recovery plans
- Migration strategies: Phased migration plans, rollback procedures
How to Use
"Design a serverless API backend for a mobile app with 100k users using Lambda and DynamoDB"
"Create a cost-optimized architecture for a SaaS platform with multi-tenancy"
"Generate CloudFormation template for a three-tier web application with auto-scaling"
"Design event-driven microservices architecture using EventBridge and Step Functions"
"Optimize my current AWS setup to reduce costs by 30%"
Scripts
architecture_designer.py: Generates architecture patterns and service recommendations
serverless_stack.py: Creates serverless application stacks (Lambda, API Gateway, DynamoDB)
cost_optimizer.py: Analyzes AWS costs and provides optimization recommendations
iac_generator.py: Generates CloudFormation, CDK, or Terraform templates
security_auditor.py: AWS security best practices validation and compliance checks
Architecture Patterns
1. Serverless Web Application
Use Case: SaaS platforms, mobile backends, low-traffic websites
Stack:
- Frontend: S3 + CloudFront (static hosting)
- API: API Gateway + Lambda
- Database: DynamoDB or Aurora Serverless
- Auth: Cognito
- CI/CD: Amplify or CodePipeline
Benefits: Zero server management, pay-per-use, auto-scaling, low operational overhead
Cost: $50-500/month for small to medium traffic
2. Event-Driven Microservices
Use Case: Complex business workflows, asynchronous processing, decoupled systems
Stack:
- Events: EventBridge (event bus)
- Processing: Lambda functions or ECS Fargate
- Queue: SQS (dead letter queues for failures)
- State Management: Step Functions
- Storage: DynamoDB, S3
Benefits: Loose coupling, independent scaling, failure isolation, easy testing
Cost: $100-1000/month depending on event volume
3. Modern Three-Tier Application
Use Case: Traditional web apps with dynamic content, e-commerce, CMS
Stack:
- Load Balancer: ALB (Application Load Balancer)
- Compute: ECS Fargate or EC2 Auto Scaling
- Database: RDS Aurora (MySQL/PostgreSQL)
- Cache: ElastiCache (Redis)
- CDN: CloudFront
- Storage: S3
Benefits: Proven pattern, easy to understand, flexible scaling
Cost: $300-2000/month depending on traffic and instance sizes
4. Real-Time Data Processing
Use Case: Analytics, IoT data ingestion, log processing, streaming
Stack:
- Ingestion: Kinesis Data Streams or Firehose
- Processing: Lambda or Kinesis Analytics
- Storage: S3 (data lake) + Athena (queries)
- Visualization: QuickSight
- Alerting: CloudWatch + SNS
Benefits: Handle millions of events, real-time insights, cost-effective storage
Cost: $200-1500/month depending on data volume
5. GraphQL API Backend
Use Case: Mobile apps, single-page applications, flexible data queries
Stack:
- API: AppSync (managed GraphQL)
- Resolvers: Lambda or direct DynamoDB integration
- Database: DynamoDB
- Real-time: AppSync subscriptions (WebSocket)
- Auth: Cognito or API keys
Benefits: Single endpoint, reduce over/under-fetching, real-time subscriptions
Cost: $50-400/month for moderate usage
6. Multi-Region High Availability
Use Case: Global applications, disaster recovery, compliance requirements
Stack:
- DNS: Route 53 (geolocation routing)
- CDN: CloudFront with multiple origins
- Compute: Multi-region Lambda or ECS
- Database: DynamoDB Global Tables or Aurora Global Database
- Replication: S3 cross-region replication
Benefits: Low latency globally, disaster recovery, data sovereignty
Cost: 1.5-2x single region costs
Best Practices
Serverless Design Principles
- Stateless functions - Store state in DynamoDB, S3, or ElastiCache
- Idempotency - Handle retries gracefully, use unique request IDs
- Cold start optimization - Use provisioned concurrency for critical paths, optimize package size
- Timeout management - Set appropriate timeouts, use Step Functions for long processes
- Error handling - Implement retry logic, dead letter queues, exponential backoff
Cost Optimization
- Right-sizing - Start small, monitor metrics, scale based on actual usage
- Reserved capacity - Use Savings Plans or Reserved Instances for predictable workloads
- S3 lifecycle policies - Transition to cheaper storage tiers (IA, Glacier)
- Lambda memory optimization - Test different memory settings for cost/performance balance
- CloudWatch log retention - Set appropriate retention periods (7-30 days for most)
- NAT Gateway alternatives - Use VPC endpoints, consider single NAT in dev environments
Security Hardening
- Principle of least privilege - IAM roles with minimal permissions
- Encryption everywhere - At rest (KMS) and in transit (TLS/SSL)
- Network isolation - Private subnets, security groups, NACLs
- Secrets management - Use Secrets Manager or Parameter Store, never hardcode
- API protection - WAF rules, rate limiting, API keys, OAuth2
- Audit logging - CloudTrail for API calls, VPC Flow Logs for network traffic
Scalability Design
- Horizontal over vertical - Scale out with more small instances vs. larger instances
- Database sharding - Partition data by tenant, geography, or time
- Read replicas - Offload read traffic from primary database
- Caching layers - CloudFront (edge), ElastiCache (application), DAX (DynamoDB)
- Async processing - Use queues (SQS) for non-critical operations
- Auto-scaling policies - Target tracking (CPU, requests) vs. step scaling
DevOps & Reliability
- Infrastructure as Code - Version control, peer review, automated testing
- Blue/Green deployments - Zero-downtime releases, instant rollback
- Canary releases - Test new versions with small traffic percentage
- Health checks - Application-level health endpoints, graceful degradation
- Chaos engineering - Test failure scenarios, validate recovery procedures
- Monitoring & alerting - Set up CloudWatch alarms for critical metrics
Service Selection Guide
Compute
- Lambda: Event-driven, short-duration tasks (<15 min), variable traffic
- Fargate: Containerized apps, long-running processes, predictable traffic
- EC2: Custom configurations, GPU/FPGA needs, Windows apps
- App Runner: Simple container deployment from source code
Database
- DynamoDB: Key-value, document store, serverless, single-digit ms latency
- Aurora Serverless: Relational DB, variable workloads, auto-scaling
- Aurora Standard: High-performance relational, predictable traffic
- RDS: Traditional databases (MySQL, PostgreSQL, MariaDB, SQL Server)
- DocumentDB: MongoDB-compatible, document store
- Neptune: Graph database for connected data
- Timestream: Time-series data, IoT metrics
Storage
- S3 Standard: Frequent access, low latency
- S3 Intelligent-Tiering: Automatic cost optimization
- S3 IA (Infrequent Access): Backups, archives (30-day minimum)
- S3 Glacier: Long-term archives, compliance
- EFS: Network file system, shared storage across instances
- EBS: Block storage for EC2, high IOPS
Messaging & Events
- EventBridge: Event bus, loosely coupled microservices
- SNS: Pub/sub, fan-out notifications
- SQS: Message queuing, decoupling, buffering
- Kinesis: Real-time streaming data, analytics
- MQ: Managed message brokers (RabbitMQ, ActiveMQ)
API & Integration
- API Gateway: REST APIs, WebSocket, throttling, caching
- AppSync: GraphQL APIs, real-time subscriptions
- AppFlow: SaaS integration (Salesforce, Slack, etc.)
- Step Functions: Workflow orchestration, state machines
Startup-Specific Considerations
MVP (Minimum Viable Product) Architecture
Goal: Launch fast, minimal infrastructure
Recommended:
- Amplify (full-stack deployment)
- Lambda + API Gateway + DynamoDB
- Cognito for auth
- CloudFront + S3 for frontend
Cost: $20-100/month
Setup time: 1-3 days
Growth Stage (Scaling to 10k-100k users)
Goal: Handle growth, maintain cost efficiency
Add:
- ElastiCache for caching
- Aurora Serverless for complex queries
- CloudWatch dashboards and alarms
- CI/CD pipeline (CodePipeline)
- Multi-AZ deployment
Cost: $500-2000/month
Migration time: 1-2 weeks
Scale-Up (100k+ users, Series A+)
Goal: Reliability, observability, global reach
Add:
- Multi-region deployment
- DynamoDB Global Tables
- Advanced monitoring (X-Ray, third-party APM)
- WAF and Shield for DDoS protection
- Dedicated support plan
- Reserved instances/Savings Plans
Cost: $3000-10000/month
Migration time: 1-3 months
Common Pitfalls to Avoid
Technical Debt
- Over-engineering early - Don't build for 10M users when you have 100
- Under-monitoring - Set up basic monitoring from day one
- Ignoring costs - Enable Cost Explorer and billing alerts immediately
- Single region dependency - Plan for multi-region from start
Security Mistakes
- Public S3 buckets - Use bucket policies, block public access
- Overly permissive IAM - Avoid "*" permissions, use specific resources
- Hardcoded credentials - Use IAM roles, Secrets Manager
- Unencrypted data - Enable encryption by default
Performance Issues
- No caching - Add CloudFront, ElastiCache early
- Inefficient queries - Use indexes, avoid scans in DynamoDB
- Large Lambda packages - Use layers, minimize dependencies
- N+1 queries - Implement DataLoader pattern, batch operations
Cost Surprises
- Undeleted resources - Tag everything, review regularly
- Data transfer costs - Keep traffic within same AZ/region when possible
- NAT Gateway charges - Use VPC endpoints for AWS services
- CloudWatch Logs accumulation - Set retention policies
Compliance & Governance
Data Residency
- Use specific regions (eu-west-1 for GDPR)
- Enable S3 bucket replication restrictions
- Configure Route 53 geolocation routing
HIPAA Compliance
- Use BAA-eligible services only
- Enable encryption at rest and in transit
- Implement audit logging (CloudTrail)
- Configure VPC with private subnets
SOC 2 / ISO 27001
- Enable AWS Config for compliance rules
- Use AWS Audit Manager
- Implement least privilege access
- Regular security assessments
Limitations
- Lambda limitations: 15-minute execution limit, 10GB memory max, cold start latency
- API Gateway limits: 29-second timeout, 10MB payload size
- DynamoDB limits: 400KB item size, eventually consistent reads by default
- Regional availability: Not all services available in all regions
- Vendor lock-in: Some serverless services are AWS-specific (consider abstraction layers)
- Learning curve: Requires AWS expertise, DevOps knowledge
- Debugging complexity: Distributed systems harder to troubleshoot than monoliths
Helpful Resources
AWS Architect v1.1 - Enhanced
🔄 Workflow
Kaynak: AWS Well-Architected Framework
Aşama 1: Operational Excellence & Security
Aşama 2: Reliability & Performance
Aşama 3: Cost Optimization
Kontrol Noktaları
| Aşama |
Doğrulama |
| 1 |
Security Score > %90 (Trusted Advisor / Security Hub) |
| 2 |
Yük testinde (Load Testing) %99.9 availability sağlandı |
| 3 |
Tahmini maliyet bütçe sınırları içinde |
1---2name: aws-architect3description: This skill provides comprehensive AWS architecture design expertise for startup companies, emphasizing serverless technologies, scalability, cost optimization, and modern cloud-native patterns.4---5
6---
7name: aws_architect
8router_kit: DevOpsKit
9description: Expert AWS solution architecture for startups focusing on serverless, scalable, and cost-effective cloud infrastructure with modern DevOps practices and infrastructure-as-code
10metadata:
11 skillport:
12 category: auto-healed
13 tags: [automation, aws, aws architect, bash scripting, ci/cd, cloud computing, containerization, deployment strategies, devops, docker, gitops, infrastructure, infrastructure as code, kubernetes, linux, logging, microservices, monitoring, orchestration, pipelines, reliability, scalability, security, server management, terraform] - aws_architect
14---
15
16# AWS Solution Architect for Startups
17
18This skill provides comprehensive AWS architecture design expertise for startup companies, emphasizing serverless technologies, scalability, cost optimization, and modern cloud-native patterns.
19
20## Capabilities
21
22- **Serverless Architecture Design**: Lambda, API Gateway, DynamoDB, EventBridge, Step Functions, AppSync
23- **Infrastructure as Code**: CloudFormation, CDK (Cloud Development Kit), Terraform templates
24- **Scalable Application Architecture**: Auto-scaling, load balancing, multi-region deployment
25- **Data & Storage Solutions**: S3, RDS Aurora Serverless, DynamoDB, ElastiCache, Neptune
26- **Event-Driven Architecture**: EventBridge, SNS, SQS, Kinesis, Lambda triggers
27- **API Design**: API Gateway (REST & WebSocket), AppSync (GraphQL), rate limiting, authentication
28- **Authentication & Authorization**: Cognito, IAM, fine-grained access control, federated identity
29- **CI/CD Pipelines**: CodePipeline, CodeBuild, CodeDeploy, GitHub Actions integration
30- **Monitoring & Observability**: CloudWatch, X-Ray, CloudTrail, alarms, dashboards
31- **Cost Optimization**: Reserved instances, Savings Plans, right-sizing, budget alerts
32- **Security Best Practices**: VPC design, security groups, WAF, Secrets Manager, encryption
33- **Microservices Patterns**: Service mesh, API composition, saga patterns, CQRS
34- **Container Orchestration**: ECS Fargate, EKS (Kubernetes), App Runner
35- **Content Delivery**: CloudFront, edge locations, origin shield, caching strategies
36- **Database Migration**: DMS, schema conversion, zero-downtime migrations
37
38## Input Requirements
39
40Architecture design requires:
41- **Application type**: Web app, mobile backend, data pipeline, microservices, SaaS platform
42- **Traffic expectations**: Users/day, requests/second, geographic distribution
43- **Data requirements**: Storage needs, database type, backup/retention policies
44- **Budget constraints**: Monthly spend limits, cost optimization priorities
45- **Team size & expertise**: Developer count, AWS experience level, DevOps maturity
46- **Compliance needs**: GDPR, HIPAA, SOC 2, PCI-DSS, data residency
47- **Availability requirements**: SLA targets, uptime goals, disaster recovery RPO/RTO
48
49Formats accepted:
50- Text description of application requirements
51- JSON with structured architecture specifications
52- Existing architecture diagrams or documentation
53- Current AWS resource inventory (for optimization)
54
55## Output Formats
56
57Results include:
58- **Architecture diagrams**: Visual representations using draw.io or Lucidchart format
59- **CloudFormation/CDK templates**: Infrastructure as Code (IaC) ready to deploy
60- **Terraform configurations**: Multi-cloud compatible infrastructure definitions
61- **Cost estimates**: Detailed monthly cost breakdown with optimization suggestions
62- **Security assessment**: Best practices checklist, compliance validation
63- **Deployment guides**: Step-by-step implementation instructions
64- **Runbooks**: Operational procedures, troubleshooting guides, disaster recovery plans
65- **Migration strategies**: Phased migration plans, rollback procedures
66
67## How to Use
68
69"Design a serverless API backend for a mobile app with 100k users using Lambda and DynamoDB"
70"Create a cost-optimized architecture for a SaaS platform with multi-tenancy"
71"Generate CloudFormation template for a three-tier web application with auto-scaling"
72"Design event-driven microservices architecture using EventBridge and Step Functions"
73"Optimize my current AWS setup to reduce costs by 30%"
74
75## Scripts
76
77- `architecture_designer.py`: Generates architecture patterns and service recommendations
78- `serverless_stack.py`: Creates serverless application stacks (Lambda, API Gateway, DynamoDB)
79- `cost_optimizer.py`: Analyzes AWS costs and provides optimization recommendations
80- `iac_generator.py`: Generates CloudFormation, CDK, or Terraform templates
81- `security_auditor.py`: AWS security best practices validation and compliance checks
82
83## Architecture Patterns
84
85### 1. Serverless Web Application
86**Use Case**: SaaS platforms, mobile backends, low-traffic websites
87
88**Stack**:
89- **Frontend**: S3 + CloudFront (static hosting)
90- **API**: API Gateway + Lambda
91- **Database**: DynamoDB or Aurora Serverless
92- **Auth**: Cognito
93- **CI/CD**: Amplify or CodePipeline
94
95**Benefits**: Zero server management, pay-per-use, auto-scaling, low operational overhead
96
97**Cost**: $50-500/month for small to medium traffic
98
99### 2. Event-Driven Microservices
100**Use Case**: Complex business workflows, asynchronous processing, decoupled systems
101
102**Stack**:
103- **Events**: EventBridge (event bus)
104- **Processing**: Lambda functions or ECS Fargate
105- **Queue**: SQS (dead letter queues for failures)
106- **State Management**: Step Functions
107- **Storage**: DynamoDB, S3
108
109**Benefits**: Loose coupling, independent scaling, failure isolation, easy testing
110
111**Cost**: $100-1000/month depending on event volume
112
113### 3. Modern Three-Tier Application
114**Use Case**: Traditional web apps with dynamic content, e-commerce, CMS
115
116**Stack**:
117- **Load Balancer**: ALB (Application Load Balancer)
118- **Compute**: ECS Fargate or EC2 Auto Scaling
119- **Database**: RDS Aurora (MySQL/PostgreSQL)
120- **Cache**: ElastiCache (Redis)
121- **CDN**: CloudFront
122- **Storage**: S3
123
124**Benefits**: Proven pattern, easy to understand, flexible scaling
125
126**Cost**: $300-2000/month depending on traffic and instance sizes
127
128### 4. Real-Time Data Processing
129**Use Case**: Analytics, IoT data ingestion, log processing, streaming
130
131**Stack**:
132- **Ingestion**: Kinesis Data Streams or Firehose
133- **Processing**: Lambda or Kinesis Analytics
134- **Storage**: S3 (data lake) + Athena (queries)
135- **Visualization**: QuickSight
136- **Alerting**: CloudWatch + SNS
137
138**Benefits**: Handle millions of events, real-time insights, cost-effective storage
139
140**Cost**: $200-1500/month depending on data volume
141
142### 5. GraphQL API Backend
143**Use Case**: Mobile apps, single-page applications, flexible data queries
144
145**Stack**:
146- **API**: AppSync (managed GraphQL)
147- **Resolvers**: Lambda or direct DynamoDB integration
148- **Database**: DynamoDB
149- **Real-time**: AppSync subscriptions (WebSocket)
150- **Auth**: Cognito or API keys
151
152**Benefits**: Single endpoint, reduce over/under-fetching, real-time subscriptions
153
154**Cost**: $50-400/month for moderate usage
155
156### 6. Multi-Region High Availability
157**Use Case**: Global applications, disaster recovery, compliance requirements
158
159**Stack**:
160- **DNS**: Route 53 (geolocation routing)
161- **CDN**: CloudFront with multiple origins
162- **Compute**: Multi-region Lambda or ECS
163- **Database**: DynamoDB Global Tables or Aurora Global Database
164- **Replication**: S3 cross-region replication
165
166**Benefits**: Low latency globally, disaster recovery, data sovereignty
167
168**Cost**: 1.5-2x single region costs
169
170## Best Practices
171
172### Serverless Design Principles
1731. **Stateless functions** - Store state in DynamoDB, S3, or ElastiCache
1742. **Idempotency** - Handle retries gracefully, use unique request IDs
1753. **Cold start optimization** - Use provisioned concurrency for critical paths, optimize package size
1764. **Timeout management** - Set appropriate timeouts, use Step Functions for long processes
1775. **Error handling** - Implement retry logic, dead letter queues, exponential backoff
178
179### Cost Optimization
1801. **Right-sizing** - Start small, monitor metrics, scale based on actual usage
1812. **Reserved capacity** - Use Savings Plans or Reserved Instances for predictable workloads
1823. **S3 lifecycle policies** - Transition to cheaper storage tiers (IA, Glacier)
1834. **Lambda memory optimization** - Test different memory settings for cost/performance balance
1845. **CloudWatch log retention** - Set appropriate retention periods (7-30 days for most)
1856. **NAT Gateway alternatives** - Use VPC endpoints, consider single NAT in dev environments
186
187### Security Hardening
1881. **Principle of least privilege** - IAM roles with minimal permissions
1892. **Encryption everywhere** - At rest (KMS) and in transit (TLS/SSL)
1903. **Network isolation** - Private subnets, security groups, NACLs
1914. **Secrets management** - Use Secrets Manager or Parameter Store, never hardcode
1925. **API protection** - WAF rules, rate limiting, API keys, OAuth2
1936. **Audit logging** - CloudTrail for API calls, VPC Flow Logs for network traffic
194
195### Scalability Design
1961. **Horizontal over vertical** - Scale out with more small instances vs. larger instances
1972. **Database sharding** - Partition data by tenant, geography, or time
1983. **Read replicas** - Offload read traffic from primary database
1994. **Caching layers** - CloudFront (edge), ElastiCache (application), DAX (DynamoDB)
2005. **Async processing** - Use queues (SQS) for non-critical operations
2016. **Auto-scaling policies** - Target tracking (CPU, requests) vs. step scaling
202
203### DevOps & Reliability
2041. **Infrastructure as Code** - Version control, peer review, automated testing
2052. **Blue/Green deployments** - Zero-downtime releases, instant rollback
2063. **Canary releases** - Test new versions with small traffic percentage
2074. **Health checks** - Application-level health endpoints, graceful degradation
2085. **Chaos engineering** - Test failure scenarios, validate recovery procedures
2096. **Monitoring & alerting** - Set up CloudWatch alarms for critical metrics
210
211## Service Selection Guide
212
213### Compute
214- **Lambda**: Event-driven, short-duration tasks (<15 min), variable traffic
215- **Fargate**: Containerized apps, long-running processes, predictable traffic
216- **EC2**: Custom configurations, GPU/FPGA needs, Windows apps
217- **App Runner**: Simple container deployment from source code
218
219### Database
220- **DynamoDB**: Key-value, document store, serverless, single-digit ms latency
221- **Aurora Serverless**: Relational DB, variable workloads, auto-scaling
222- **Aurora Standard**: High-performance relational, predictable traffic
223- **RDS**: Traditional databases (MySQL, PostgreSQL, MariaDB, SQL Server)
224- **DocumentDB**: MongoDB-compatible, document store
225- **Neptune**: Graph database for connected data
226- **Timestream**: Time-series data, IoT metrics
227
228### Storage
229- **S3 Standard**: Frequent access, low latency
230- **S3 Intelligent-Tiering**: Automatic cost optimization
231- **S3 IA (Infrequent Access)**: Backups, archives (30-day minimum)
232- **S3 Glacier**: Long-term archives, compliance
233- **EFS**: Network file system, shared storage across instances
234- **EBS**: Block storage for EC2, high IOPS
235
236### Messaging & Events
237- **EventBridge**: Event bus, loosely coupled microservices
238- **SNS**: Pub/sub, fan-out notifications
239- **SQS**: Message queuing, decoupling, buffering
240- **Kinesis**: Real-time streaming data, analytics
241- **MQ**: Managed message brokers (RabbitMQ, ActiveMQ)
242
243### API & Integration
244- **API Gateway**: REST APIs, WebSocket, throttling, caching
245- **AppSync**: GraphQL APIs, real-time subscriptions
246- **AppFlow**: SaaS integration (Salesforce, Slack, etc.)
247- **Step Functions**: Workflow orchestration, state machines
248
249## Startup-Specific Considerations
250
251### MVP (Minimum Viable Product) Architecture
252**Goal**: Launch fast, minimal infrastructure
253
254**Recommended**:
255- Amplify (full-stack deployment)
256- Lambda + API Gateway + DynamoDB
257- Cognito for auth
258- CloudFront + S3 for frontend
259
260**Cost**: $20-100/month
261**Setup time**: 1-3 days
262
263### Growth Stage (Scaling to 10k-100k users)
264**Goal**: Handle growth, maintain cost efficiency
265
266**Add**:
267- ElastiCache for caching
268- Aurora Serverless for complex queries
269- CloudWatch dashboards and alarms
270- CI/CD pipeline (CodePipeline)
271- Multi-AZ deployment
272
273**Cost**: $500-2000/month
274**Migration time**: 1-2 weeks
275
276### Scale-Up (100k+ users, Series A+)
277**Goal**: Reliability, observability, global reach
278
279**Add**:
280- Multi-region deployment
281- DynamoDB Global Tables
282- Advanced monitoring (X-Ray, third-party APM)
283- WAF and Shield for DDoS protection
284- Dedicated support plan
285- Reserved instances/Savings Plans
286
287**Cost**: $3000-10000/month
288**Migration time**: 1-3 months
289
290## Common Pitfalls to Avoid
291
292### Technical Debt
293- **Over-engineering early** - Don't build for 10M users when you have 100
294- **Under-monitoring** - Set up basic monitoring from day one
295- **Ignoring costs** - Enable Cost Explorer and billing alerts immediately
296- **Single region dependency** - Plan for multi-region from start
297
298### Security Mistakes
299- **Public S3 buckets** - Use bucket policies, block public access
300- **Overly permissive IAM** - Avoid "*" permissions, use specific resources
301- **Hardcoded credentials** - Use IAM roles, Secrets Manager
302- **Unencrypted data** - Enable encryption by default
303
304### Performance Issues
305- **No caching** - Add CloudFront, ElastiCache early
306- **Inefficient queries** - Use indexes, avoid scans in DynamoDB
307- **Large Lambda packages** - Use layers, minimize dependencies
308- **N+1 queries** - Implement DataLoader pattern, batch operations
309
310### Cost Surprises
311- **Undeleted resources** - Tag everything, review regularly
312- **Data transfer costs** - Keep traffic within same AZ/region when possible
313- **NAT Gateway charges** - Use VPC endpoints for AWS services
314- **CloudWatch Logs accumulation** - Set retention policies
315
316## Compliance & Governance
317
318### Data Residency
319- Use specific regions (eu-west-1 for GDPR)
320- Enable S3 bucket replication restrictions
321- Configure Route 53 geolocation routing
322
323### HIPAA Compliance
324- Use BAA-eligible services only
325- Enable encryption at rest and in transit
326- Implement audit logging (CloudTrail)
327- Configure VPC with private subnets
328
329### SOC 2 / ISO 27001
330- Enable AWS Config for compliance rules
331- Use AWS Audit Manager
332- Implement least privilege access
333- Regular security assessments
334
335## Limitations
336
337- **Lambda limitations**: 15-minute execution limit, 10GB memory max, cold start latency
338- **API Gateway limits**: 29-second timeout, 10MB payload size
339- **DynamoDB limits**: 400KB item size, eventually consistent reads by default
340- **Regional availability**: Not all services available in all regions
341- **Vendor lock-in**: Some serverless services are AWS-specific (consider abstraction layers)
342- **Learning curve**: Requires AWS expertise, DevOps knowledge
343- **Debugging complexity**: Distributed systems harder to troubleshoot than monoliths
344
345## Helpful Resources
346
347- **AWS Well-Architected Framework**: https://aws.amazon.com/architecture/well-architected/
348- **AWS Architecture Center**: https://aws.amazon.com/architecture/
349- **Serverless Land**: https://serverlessland.com/
350- **AWS Pricing Calculator**: https://calculator.aws/
351- **AWS Cost Explorer**: Track and analyze spending
352- **AWS Trusted Advisor**: Automated best practice checks
353- **CloudFormation Templates**: https://github.com/awslabs/aws-cloudformation-templates
354- **AWS CDK Examples**: https://github.com/aws-samples/aws-cdk-examples
355
356---
357
358*AWS Architect v1.1 - Enhanced*
359
360## 🔄 Workflow
361
362> **Kaynak:** [AWS Well-Architected Framework](https://aws.amazon.com/architecture/well-architected/)
363
364### Aşama 1: Operational Excellence & Security
365- [ ] **Ops**: Runbooks hazır mı? Hata durumunda (Rollback) süreç net mi?
366- [ ] **Security**: IAM "Least Privilege" uygulandı mı? S3 Public Access kapalı mı?
367- [ ] **Encryption**: Veri at-rest (KMS) ve in-transit (HTTPS) şifreli mi?
368
369### Aşama 2: Reliability & Performance
370- [ ] **Backup**: Veritabanı PITR (Point-in-Time Recovery) açık mı?
371- [ ] **Scaling**: Auto-scaling tetikleyicileri (CPU/RAM/Requests) test edildi mi?
372- [ ] **Caching**: CloudFront/ElastiCache katmanları doğru yapılandırıldı mı?
373
374### Aşama 3: Cost Optimization
375- [ ] **Right-Sizing**: Instance/Lambda boyutları CPU/RAM kullanımına uygun mu?
376- [ ] **Lifecycle**: S3 verileri için Lifecycle kuralları (IA/Glacier) var mı?
377- [ ] **Alerts**: Bütçe alarmları (AWS Budgets) kuruldu mu?
378
379### Kontrol Noktaları
380| Aşama | Doğrulama |
381|-------|-----------|
382| 1 | Security Score > %90 (Trusted Advisor / Security Hub) |
383| 2 | Yük testinde (Load Testing) %99.9 availability sağlandı |
384| 3 | Tahmini maliyet bütçe sınırları içinde |