kmaruthi2002/universal-llm-skills/cloud-architecture
Claude Code and agent skill by kmaruthi2002/universal-llm-skills
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Design and review systems on public clouds (AWS, Google Cloud, Azure, and smaller providers alike): choosing compute (VMs, containers, managed container platforms, serverless), managed data and messaging services, network topology, identity and access (IAM), multi-AZ and multi-region resilience, disaster recovery targets, cost management, well-architected trade-offs, and vendor lock-in. Use when someone asks how to host or deploy an app on the cloud, which cloud service to use, how to make a system highly available, how to cut a cloud bill, how to structure accounts, VPCs, or IAM, or whether to go multi-cloud or serverless. Not for writing the infrastructure code itself (see infrastructure-as-code) or application-level system design.
Install
npx vskill@latest install kmaruthi2002/universal-llm-skills/cloud-architectureSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as kmaruthi2002/universal-llm-skills/cloud-architecture.
Cloud Architecture
Cloud architecture is the practice of choosing and arranging rented building blocks — compute, storage, databases, networks, identity, queues — so a system meets its requirements for reliability, security, performance, and cost, and can be operated by the team that owns it. Clouds offer hundreds of services; the skill lies in using as few as possible, choosing the most managed option the requirements allow, and being honest about trade-offs that the marketing pages skip.
Provider-specific names are given as examples across AWS, Google Cloud, and Azure; the reasoning is the same on any provider.
Scope
Covers: requirement gathering for cloud designs, compute and data service selection, network topology, account/project structure, IAM, availability and disaster recovery, scaling, cost, lock-in and portability, and reviewing existing cloud designs.
Hands off to:
- Writing Terraform/Pulumi/CloudFormation →
infrastructure-as-code. - Application-level component and data-flow design →
system-design,software-architecture. - Kubernetes specifics →
kubernetes; image building →containerization. - Monitoring and SLOs →
observability. - Formal design review of an existing architecture →
architecture-review.
Core principles
1. Requirements before services. Availability target, recovery objectives, latency, data residency, compliance, expected load and its shape, team skills, and budget decide the architecture. Choosing services first and justifying them later produces over-built, expensive systems.
2. Prefer managed, and the higher-level the better — until it stops fitting. Each step up (VM → managed containers → serverless; self-run database → managed database) hands patching, scaling, and failover to the provider. Teams are usually short of operations time, not compute. Step down only for a concrete reason: cost at scale, a missing capability, performance requirements, or portability requirements.
3. Design for failure, at every layer. Instances die, zones have outages, regions occasionally do, dependencies throttle, and deploys break things. Decide explicitly which failures the system survives automatically, which it recovers from manually, and which it accepts. "Highly available" without stating the failure domain means nothing.
4. Identity is the perimeter. In the cloud, IAM decides who can do what to every resource, and misconfigured identity is the most common root of serious breaches. Least privilege, short-lived credentials, and separation of environments into accounts are the foundation; network controls are defence in depth.
5. Cost is an architectural property. Cloud bills reflect design choices: data transfer paths, always-on capacity, storage tiers, request patterns. Estimate cost during design, attribute it with tags, and review it like any other metric.
6. Simplicity is a reliability and security feature. Every additional service, region, and network path is something to secure, monitor, pay for, and understand at 3 a.m. Add complexity only when a requirement demands it.
7. Reversibility shapes how much to agonise. Choosing an instance size is easy to change; choosing a primary database, a region for data residency, or an identity model is not. Spend design effort in proportion to the cost of changing the decision later.
Discovering context first
Gather, from the user and the existing environment:
- Workload: what it does, request patterns (steady, diurnal, spiky, batch), latency sensitivity, read/write ratio, data volume and growth.
- Targets: availability (e.g. 99.9% ≈ 43 min/month downtime; 99.95% ≈ 22 min; 99.99% ≈ 4.3 min), RTO (how long to recover), RPO (how much data loss is acceptable).
- Constraints: existing provider and commitments (credits, enterprise agreements, reserved capacity), data residency and compliance (e.g. GDPR, HIPAA, PCI DSS, SOC 2), approved services lists, network connectivity to on-prem.
- Team: size, operational skills, on-call capacity. A design that needs a platform team the user does not have is a bad design for them.
- Budget: order of magnitude per month, and whether predictability or minimum cost matters more.
- Existing estate: account/project structure, landing zone, networking, IAM conventions, IaC tool, tagging standards, observability stack. Extend what exists; a second, parallel way of doing things doubles the operational load.
If key targets are unknown, propose sensible defaults explicitly ("assuming 99.9% availability, RPO of 5 minutes, single region") and let the user correct them, rather than silently designing for the extreme.
Compute choices
| Option | Examples | Operational burden | Scaling | Cost profile | Choose when | |
|---|---|---|---|---|---|---|
| Functions (FaaS) | Lambda, Cloud Functions/Cloud Run functions, Azure Functions | Lowest | Per request, to zero | Pay per invocation; can be costly at sustained high throughput | Event-driven, spiky, glue code, low-to-moderate steady traffic | |
| Serverless containers | Cloud Run, App Runner, Azure Container Apps, Fargate | Low | Per request or per task, often to zero | Pay for running time | Web services and workers packaged as containers; default for many apps | |
| Managed Kubernetes | EKS, GKE, AKS | Medium–high (cluster, add-ons, upgrades) | Pods and nodes | Node-based; efficient at scale | Many services, need for uniform platform, portability, or k8s ecosystem | |
| VMs / instance groups | EC2 + ASG, Compute Engine MIGs, VM Scale Sets | Medium–high (OS patching, images) | Instance-level, minutes | Cheapest per unit at steady load, especially with commitments/spot | Legacy apps, special OS/kernel needs, licensed software, steady heavy workloads | |
| PaaS | Elastic Beanstalk, App Engine, App Service, Heroku-style platforms | Low | Platform-managed | Moderate | Conventional web apps; team wants minimal infra | |
| Batch / HPC / GPU | AWS Batch, Cloud Batch, Azure Batch, GPU instances | Medium | Job queues | Spot/preemptible friendly | Large parallel jobs, ML training |
Decision factors worth stating:
- Execution duration and statefulness: functions have time limits (commonly up to 15 minutes or less) and no local state between invocations.
- Cold starts: scale-to-zero platforms add latency on the first request (from tens of milliseconds to seconds depending on runtime and image size). Keep a minimum instance count for latency-sensitive paths if needed, at a cost.
- Concurrency and downstream limits: functions can scale to thousands of concurrent executions, which can overwhelm a database with connections. Use connection pooling proxies or cap concurrency.
- Cost crossover: pay-per-request is cheap at low utilisation and expensive at sustained high utilisation. As a rough rule, once a service is busy most of the day, provisioned containers or VMs with commitments tend to be cheaper. Do the arithmetic with real request counts and durations rather than assuming.
Data and messaging services
- Relational by default for transactional business data (managed PostgreSQL/MySQL such as RDS/Aurora, Cloud SQL/AlloyDB, Azure Database). Choose specialised stores for specialised needs, not novelty. See
database-design. - Key-value/document (DynamoDB, Firestore/Bigtable, Cosmos DB) for very high scale with known access patterns; design keys around queries up front, since ad-hoc querying is limited and some pricing models charge per request.
- Object storage (S3, Cloud Storage, Blob Storage) for files, backups, data lakes, static assets. Effectively unlimited and durable; use lifecycle rules to move cold data to cheaper tiers and to expire what is not needed.
- Caches (managed Redis/Memcached/Valkey) to cut latency and database load; plan for cache loss as a normal event.
- Queues and streams: queues (SQS, Pub/Sub, Service Bus) decouple producers from consumers and absorb spikes; streams (Kinesis, Kafka/MSK/Confluent, Event Hubs) when ordering, replay, or multiple independent consumers are needed. Design consumers to be idempotent: at-least-once delivery is the norm.
- Search and analytics: managed search engines and warehouses (e.g. OpenSearch, BigQuery, Redshift, Snowflake, Synapse/Fabric) for their purpose; do not run analytics on the transactional primary.
- Managed vs. self-hosted: self-hosting a database on VMs or Kubernetes saves money only when you count none of the engineering time for backups, failover, upgrades, and tuning.
Networking
- Address planning: choose non-overlapping private CIDR ranges across environments, regions, and on-prem from the start; overlapping ranges make later peering or VPN connections painful or impossible. Leave room to grow.
- Subnet tiers: public subnets only for load balancers and NAT/egress; application and data tiers in private subnets with no direct inbound internet access.
- Ingress: managed load balancers or API gateways, TLS terminated with managed certificates, a WAF in front of public HTTP endpoints where risk justifies it, a CDN for static and cacheable content.
- Egress: NAT gateways are convenient but charge per GB processed and per hour; high-volume egress to cloud services through NAT is a classic surprise bill. Use private endpoints/service endpoints (PrivateLink, Private Service Connect, Private Endpoints) for provider services, and gateway endpoints where free ones exist (e.g. for object storage on some providers).
- Connectivity between networks: peering for a few networks; hub-and-spoke via transit gateways/virtual WAN/network connectivity centres for many. VPN or dedicated interconnect for on-prem.
- Security groups / firewall rules: reference other groups or service identities rather than IP ranges where possible; never open management ports (SSH, RDP, database ports) to the internet. Use bastion-less access (session managers, identity-aware proxies).
- DNS: private DNS zones for internal names; low TTLs on records you may need to fail over.
Account and project structure
- Use the provider's organisation hierarchy (AWS Organizations with OUs, Google Cloud organisation and folders, Azure management groups and subscriptions).
- Separate accounts/projects/subscriptions per environment at minimum (production apart from non-production), and often per team or workload. This is the strongest isolation boundary: IAM mistakes, quota exhaustion, and runaway costs stay contained.
- Central accounts for shared concerns: logging/audit (write-only from other accounts, tamper-resistant), security tooling, networking hub, shared services.
- Apply guardrails at the organisation level: deny disabling audit logs, restrict regions where data must stay, block public object storage by default, require encryption.
- Landing-zone frameworks (e.g. AWS Control Tower, Google Cloud landing zone blueprints, Azure landing zones) provide a starting structure; adopt the parts that fit.
Identity and access management
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cloud-architecture/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
pluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kmaruthi2002/universal-llm-skills/cloud-architecture)