Complete checklist before deploying to production.
- All tests passing (
npm test) - Test coverage >80%
- No linting errors (
npm run lint) - Code reviewed and approved
- Dependencies updated
- Security audit passed (
npm audit)
- Environment variables set
- Secrets rotated from defaults
- JWT_SECRET is strong (32+ chars)
- API keys configured
- Database URL correct
- Redis URL correct
- Elasticsearch URL correct
- S3 bucket names correct
- CDN domain configured
- VPC created
- Subnets configured (public/private)
- Security groups configured
- RDS instance provisioned
- ElastiCache cluster provisioned
- Elasticsearch cluster provisioned
- S3 buckets created
- CloudFront distribution created
- Load balancer configured
- SSL certificates installed
- DNS records configured
- Migrations tested in staging
- Indexes created
- Backup strategy configured
- Read replicas configured (optional)
- Connection pooling configured
- SSL enabled
- HTTPS enforced
- CORS configured
- Rate limiting enabled
- WAF rules configured
- Security headers set
- Content Security Policy configured
- API authentication working
- Secrets in Secrets Manager
- IAM roles follow least privilege
- Database not publicly accessible
- Security groups properly configured
- CloudWatch logs configured
- CloudWatch metrics configured
- Alarms created
- Sentry configured
- Health check endpoints working
- Error tracking enabled
- Performance monitoring enabled
- Build successful
- Docker image built
- Image pushed to ECR
- Container scanned for vulnerabilities
- Deployment script tested
- Rollback plan ready
- Backup created before migration
- Migrations run successfully
- Data integrity verified
- Rollback tested
- Application starts successfully
- Health checks passing
- All services responding
- Database connections working
- Redis connections working
- Elasticsearch connections working
- S3 access working
- External APIs accessible
- API endpoints responding
- Authentication working
- Video generation working
- Search working
- Trending working
- Video upload/download working
- CDN serving content
- Rate limiting working
- Error handling working
- Response times acceptable (<2s)
- Database query performance good
- Search performance good
- CDN cache hit rate >80%
- Memory usage normal
- CPU usage normal
- No memory leaks
- Logs flowing to CloudWatch
- Metrics reporting
- Alarms triggering correctly
- Error tracking working
- Performance metrics visible
- Smoke tests passed
- End-to-end tests passed
- Load testing performed
- API tests passed
- User acceptance testing done
- API documentation updated
- Deployment docs updated
- Runbook created/updated
- Team trained on new features
- Changelog updated
- Monitor error rates daily
- Review performance metrics
- Check for anomalies
- Gather user feedback
- Address critical issues
- Review CloudWatch metrics weekly
- Optimize based on usage patterns
- Plan scaling if needed
- Review and optimize costs
- Plan next iteration
If issues occur:
- Stop deployment immediately
- Assess impact and severity
- Execute rollback:
aws ecs update-service \ --cluster videogen-cluster \ --service videogen-backend \ --task-definition videogen-backend:PREVIOUS_VERSION
- Verify rollback successful
- Communicate status
- Investigate root cause
- Document incident
- DevOps Lead: [Contact]
- Database Admin: [Contact]
- Security Lead: [Contact]
- On-Call Engineer: [Contact]
- AWS Support: [Support Plan]
- Engineering Lead
- DevOps Lead
- Security Lead
- Product Manager
Deployment Date: ___________ Deployed By: ___________ Version: ___________