Alirezarezvani aws solution architect

From yanacuti1121/Yana-AI · View interactive version

Alirezarezvani aws solution architect is an AI agent skill from the GitHub repository yanacuti1121/Yana-AI. Expert AWS solution architecture for startups focusing on serverless, scalable, and cost-effective cloud infrastructure with modern DevOps practices and infrastructure-as-code

How to use this skill

Skill file

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

Input Requirements

Architecture design requires:

Formats accepted:

Output Formats

Results include:

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 Patterns

1. Serverless Web Application

Use Case: SaaS platforms, mobile backends, low-traffic websites

Stack:

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:

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:

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:

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:

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:

Benefits: Low latency globally, disaster recovery, data sovereignty

Cost: 1.5-2x single region costs

Best Practices

Serverless Design Principles

  1. Stateless functions - Store state in DynamoDB, S3, or ElastiCache
  2. Idempotency - Handle retries gracefully, use unique request IDs
  3. Cold start optimization - Use provisioned concurrency for critical paths, optimize package size
  4. Timeout management - Set appropriate timeouts, use Step Functions for long processes
  5. Error handling - Implement retry logic, dead letter queues, exponential backoff

Cost Optimization

  1. Right-sizing - Start small, monitor metrics, scale based on actual usage
  2. Reserved capacity - Use Savings Plans or Reserved Instances for predictable workloads
  3. S3 lifecycle policies - Transition to cheaper storage tiers (IA, Glacier)
  4. Lambda memory optimization - Test different memory settings for cost/performance balance
  5. CloudWatch log retention - Set appropriate retention periods (7-30 days for most)
  6. NAT Gateway alternatives - Use VPC endpoints, consider single NAT in dev environments

Security Hardening

  1. Principle of least privilege - IAM roles with minimal permissions
  2. Encryption everywhere - At rest (KMS) and in transit (TLS/SSL)
  3. Network isolation - Private subnets, security groups, NACLs
  4. Secrets management - Use Secrets Manager or Parameter Store, never hardcode
  5. API protection - WAF rules, rate limiting, API keys, OAuth2
  6. Audit logging - CloudTrail for API calls, VPC Flow Logs for network traffic

Scalability Design

  1. Horizontal over vertical - Scale out with more small instances vs. larger instances
  2. Database sharding - Partition data by tenant, geography, or time
  3. Read replicas - Offload read traffic from primary database
  4. Caching layers - CloudFront (edge), ElastiCache (application), DAX (DynamoDB)
  5. Async processing - Use queues (SQS) for non-critical operations
  6. Auto-scaling policies - Target tracking (CPU, requests) vs. step scaling

DevOps & Reliability

  1. Infrastructure as Code - Version control, peer review, automated testing
  2. Blue/Green deployments - Zero-downtime releases, instant rollback
  3. Canary releases - Test new versions with small traffic percentage
  4. Health checks - Application-level health endpoints, graceful degradation
  5. Chaos engineering - Test failure scenarios, validate recovery procedures
  6. Monitoring & alerting - Set up CloudWatch alarms for critical metrics

Service Selection Guide

Compute

Database

Storage

Messaging & Events

API & Integration

Startup-Specific Considerations

MVP (Minimum Viable Product) Architecture

Goal: Launch fast, minimal infrastructure

Recommended:

Cost: $20-100/month

Setup time: 1-3 days

Growth Stage (Scaling to 10k-100k users)

Goal: Handle growth, maintain cost efficiency

Add:

Cost: $500-2000/month

Migration time: 1-2 weeks

Scale-Up (100k+ users, Series A+)

Goal: Reliability, observability, global reach

Add:

Cost: $3000-10000/month

Migration time: 1-3 months

Common Pitfalls to Avoid

Technical Debt

Security Mistakes

Performance Issues

Cost Surprises

Compliance & Governance

Data Residency

HIPAA Compliance

SOC 2 / ISO 27001

Limitations

Helpful Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.