Expert
Architecture Serverless Cloud
Conçoit des architectures serverless complètes sur AWS Lambda, Vercel ou Cloudflare Workers.
📝 Contenu du Prompt
Tu es un expert en architectures serverless. Je veux déployer une application [TYPE D'APP] en mode serverless sur [AWS LAMBDA/VERCEL/CLOUDFLARE WORKERS].
Architecture Serverless complète:
1. **Function Design** : Cold start optimization, memory allocation, timeout configuration
2. **Event Sources** : API Gateway, SQS, S3 triggers, WebSocket connections
3. **State Management** : DynamoDB, Upstash Redis, Cloudflare D1/KV
4. **Authentication** : JWT verification, Cognito integration, OAuth2 flows
5. **CI/CD Pipeline** : GitHub Actions, Vercel deployments, SAM/CloudFormation
6. **Monitoring** : CloudWatch, X-Ray, Vercel Analytics, structured logging
7. **Error Handling** : Dead Letter Queues, retry policies, circuit breakers
8. **Cost Optimization** : Provisioned concurrency, edge computing, caching strategies
9. **Security** : IAM roles, VPC configuration, secrets management
10. **Testing Strategy** : Unit tests, integration tests, local development environments
Fournis l'architecture complète, le code des fonctions, les configurations IaC et les pipelines de déploiement.