aws-solution-architectDesign AWS architectures for startups using serverless patterns and IaC templates. Use when asked to design serverless architecture, create CloudFormation templates, optimize AWS costs, set up CI/CD pipelines, or migrate to AWS. Covers Lambda, API Gateway, DynamoDB, ECS, Aurora, and cost optimization.
Install via ClawdBot CLI:
clawdbot install aws-solution-architectDesign scalable, cost-effective AWS architectures for startups with infrastructure-as-code templates.
Use this skill when you encounter:
| Category | Terms |
|----------|-------|
| Architecture Design | serverless architecture, AWS architecture, cloud design, microservices, three-tier |
| IaC Generation | CloudFormation, CDK, Terraform, infrastructure as code, deploy template |
| Serverless | Lambda, API Gateway, DynamoDB, Step Functions, EventBridge, AppSync |
| Containers | ECS, Fargate, EKS, container orchestration, Docker on AWS |
| Cost Optimization | reduce AWS costs, optimize spending, right-sizing, Savings Plans |
| Database | Aurora, RDS, DynamoDB design, database migration, data modeling |
| Security | IAM policies, VPC design, encryption, Cognito, WAF |
| CI/CD | CodePipeline, CodeBuild, CodeDeploy, GitHub Actions AWS |
| Monitoring | CloudWatch, X-Ray, observability, alarms, dashboards |
| Migration | migrate to AWS, lift and shift, replatform, DMS |
Collect application specifications:
- Application type (web app, mobile backend, data pipeline, SaaS)
- Expected users and requests per second
- Budget constraints (monthly spend limit)
- Team size and AWS experience level
- Compliance requirements (GDPR, HIPAA, SOC 2)
- Availability requirements (SLA, RPO/RTO)
Run the architecture designer to get pattern recommendations:
python scripts/architecture_designer.py --input requirements.json
Select from recommended patterns:
See references/architecture_patterns.md for detailed pattern specifications.
Create infrastructure-as-code for the selected pattern:
# Serverless stack (CloudFormation)
python scripts/serverless_stack.py --app-name my-app --region us-east-1
# Output: CloudFormation YAML template ready to deploy
Analyze estimated costs and optimization opportunities:
python scripts/cost_optimizer.py --resources current_setup.json --monthly-spend 2000
Output includes:
Deploy the generated infrastructure:
# CloudFormation
aws cloudformation create-stack \
--stack-name my-app-stack \
--template-body file://template.yaml \
--capabilities CAPABILITY_IAM
# CDK
cdk deploy
# Terraform
terraform init && terraform apply
Verify deployment and set up monitoring:
# Check stack status
aws cloudformation describe-stacks --stack-name my-app-stack
# Set up CloudWatch alarms
aws cloudwatch put-metric-alarm --alarm-name high-errors ...
Generates architecture patterns based on requirements.
python scripts/architecture_designer.py --input requirements.json --output design.json
Input: JSON with app type, scale, budget, compliance needs
Output: Recommended pattern, service stack, cost estimate, pros/cons
Creates serverless CloudFormation templates.
python scripts/serverless_stack.py --app-name my-app --region us-east-1
Output: Production-ready CloudFormation YAML with:
Analyzes costs and recommends optimizations.
python scripts/cost_optimizer.py --resources inventory.json --monthly-spend 5000
Output: Recommendations for:
Ask: "Design a serverless MVP backend for a mobile app with 1000 users"
Result:
- Lambda + API Gateway for API
- DynamoDB pay-per-request for data
- Cognito for authentication
- S3 + CloudFront for static assets
- Estimated: $20-50/month
Ask: "Design a scalable architecture for a SaaS platform with 50k users"
Result:
- ECS Fargate for containerized API
- Aurora Serverless for relational data
- ElastiCache for session caching
- CloudFront for CDN
- CodePipeline for CI/CD
- Multi-AZ deployment
Ask: "Optimize my AWS setup to reduce costs by 30%. Current spend: $3000/month"
Provide: Current resource inventory (EC2, RDS, S3, etc.)
Result:
- Idle resource identification
- Right-sizing recommendations
- Savings Plans analysis
- Storage lifecycle policies
- Target savings: $900/month
Ask: "Generate CloudFormation for a three-tier web app with auto-scaling"
Result:
- VPC with public/private subnets
- ALB with HTTPS
- ECS Fargate with auto-scaling
- Aurora with read replicas
- Security groups and IAM roles
Provide these details for architecture design:
| Requirement | Description | Example |
|-------------|-------------|---------|
| Application type | What you're building | SaaS platform, mobile backend |
| Expected scale | Users, requests/sec | 10k users, 100 RPS |
| Budget | Monthly AWS limit | $500/month max |
| Team context | Size, AWS experience | 3 devs, intermediate |
| Compliance | Regulatory needs | HIPAA, GDPR, SOC 2 |
| Availability | Uptime requirements | 99.9% SLA, 1hr RPO |
JSON Format:
{
"application_type": "saas_platform",
"expected_users": 10000,
"requests_per_second": 100,
"budget_monthly_usd": 500,
"team_size": 3,
"aws_experience": "intermediate",
"compliance": ["SOC2"],
"availability_sla": "99.9%"
}
| Document | Contents |
|----------|----------|
| references/architecture_patterns.md | 6 patterns: serverless, microservices, three-tier, data processing, GraphQL, multi-region |
| references/service_selection.md | Decision matrices for compute, database, storage, messaging |
| references/best_practices.md | Serverless design, cost optimization, security hardening, scalability |
Generated Mar 1, 2026
A tech startup needs a cost-effective, scalable backend for their new mobile app. They expect initial traffic of 1,000 users and require user authentication, a REST API, and a database. The architecture must be serverless to minimize operational overhead and keep monthly costs under $100.
A growing Software-as-a-Service company with 50,000 users needs to redesign its architecture for better scalability and reliability. The platform requires containerized microservices, a relational database with read replicas, a CI/CD pipeline, and a multi-AZ deployment to meet a 99.9% SLA.
A traditional e-commerce business wants to migrate its on-premises infrastructure to AWS. The goal is to improve performance during peak sales events, enhance security, and reduce costs. The architecture must support a three-tier web application with auto-scaling, a CDN, and database replication.
A data analytics startup needs to build a serverless event-driven pipeline to process real-time streaming data from IoT devices. The solution must ingest, transform, and store data efficiently, using services like Kinesis, Lambda, and DynamoDB, while optimizing for cost and low latency.
An established company with a monthly AWS spend of $3,000 seeks to reduce costs by 30% without impacting performance. The audit involves analyzing current EC2, RDS, and S3 usage, identifying idle resources, right-sizing instances, and recommending Reserved Instances or Savings Plans.
Companies charge customers a recurring fee for access to software hosted on AWS. This model requires scalable, multi-tenant architectures with robust security, high availability, and predictable operational costs to maintain profitability.
Platforms like e-commerce or ride-sharing apps generate revenue per transaction or commission. They need highly available, low-latency architectures to handle peak loads, with cost optimization focused on pay-per-use services like Lambda and DynamoDB.
Free mobile apps monetize through in-app advertisements. They require serverless backends to handle variable user traffic cost-effectively, with architectures optimized for data collection, real-time analytics, and global content delivery via CDNs.
💬 Integration Tip
Integrate this skill by providing clear requirements upfront, such as application type, budget, and scale, to generate tailored IaC templates and cost estimates efficiently.
Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
Full desktop computer use for headless Linux servers. Xvfb + XFCE virtual desktop with xdotool automation. 17 actions (click, type, scroll, screenshot, drag,...
Essential Docker commands and workflows for container management, image operations, and debugging.
Tool discovery and shell one-liner reference for sysadmin, DevOps, and security tasks. AUTO-CONSULT this skill when the user is: troubleshooting network issues, debugging processes, analyzing logs, working with SSL/TLS, managing DNS, testing HTTP endpoints, auditing security, working with containers, writing shell scripts, or asks 'what tool should I use for X'. Source: github.com/trimstray/the-book-of-secret-knowledge
Deploy applications and manage projects with complete CLI reference. Commands for deployments, projects, domains, environment variables, and live documentation access.
Monitor topics of interest and proactively alert when important developments occur. Use when user wants automated monitoring of specific subjects (e.g., product releases, price changes, news topics, technology updates). Supports scheduled web searches, AI-powered importance scoring, smart alerts vs weekly digests, and memory-aware contextual summaries.