← ClaudeAtlas

awslisted

AWS hosting and deployment patterns covering compute (EC2, ECS, Lambda), networking (ALB, CloudFront, Route 53, API Gateway), databases (RDS, ElastiCache), infrastructure-as-code (CDK), IAM, monitoring (CloudWatch), and cost optimization. Use when deploying applications to AWS or designing cloud architecture. Triggers on AWS, EC2, ECS, Fargate, Lambda, CloudFront, CDK, API Gateway, Route 53, RDS, IAM.
RepairYourTech/cfsa-antigravity · ★ 5 · DevOps & Infrastructure · score 69
Install: claude install-skill RepairYourTech/cfsa-antigravity
# AWS Hosting AWS provides the broadest set of cloud services. This skill covers the most common hosting patterns for web applications, APIs, and background services, with infrastructure-as-code via AWS CDK. ## Architecture Decision Tree ``` What are you deploying? ├─ Static site (HTML/CSS/JS) ──────────> S3 + CloudFront ├─ Server-rendered app (Next.js, etc.) ─> ECS Fargate or Lambda ├─ REST/GraphQL API ───────────────────> Lambda + API Gateway OR ECS Fargate + ALB ├─ Long-running background workers ────> ECS Fargate (always-on) or EC2 ├─ Event-driven functions ─────────────> Lambda (triggered by SQS, S3, EventBridge) ├─ Containerized microservices ────────> ECS Fargate + ALB + Service Connect └─ Full control over the VM ───────────> EC2 (last resort) ``` ## EC2 — Virtual Machines Use EC2 only when you need full OS-level control, GPU instances, or specific hardware. For most web apps, prefer ECS Fargate or Lambda. ```typescript // CDK: EC2 instance import * as ec2 from 'aws-cdk-lib/aws-ec2'; const vpc = new ec2.Vpc(this, 'Vpc', { maxAzs: 2 }); const instance = new ec2.Instance(this, 'WebServer', { vpc, instanceType: ec2.InstanceType.of(ec2.InstanceClass.T3, ec2.InstanceSize.MICRO), machineImage: ec2.MachineImage.latestAmazonLinux2023(), keyPair: ec2.KeyPair.fromKeyPairName(this, 'KeyPair', 'my-key'), }); instance.connections.allowFromAnyIpv4(ec2.Port.tcp(80)); instance.connections.allowFromAnyIpv4(ec2.Port.tcp(443)); ``` ## ECS Fargate — Serverless Container