# AWS Deploy

> Generate AWS deployment configurations for EKS, ECS, Lambda, and CloudFormation/CDK

- Skill: `erp-core-dev/aws-deploy` (Agent Skill)
- Install (CLI): `npx skillmds@latest add erp-core-dev/aws-deploy`
- Raw SKILL.md: https://api.skillmd.com/api/skills/erp-core-dev/aws-deploy/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: ERP-CORE-DEV (https://skillmd.com/u/erp-core-dev)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/erp-core-dev/aws-deploy

---


# AWS Deployment

Generate AWS deployment configuration for the given service.

## Deployment Types

### EKS (default)
- Kubernetes manifests: Deployment, Service, Ingress (ALB Ingress Controller)
- HPA with CPU/memory targets, PodDisruptionBudget
- ECR image push, AWS Secrets Manager via External Secrets Operator
- Rolling update strategy with maxSurge/maxUnavailable

### ECS (Fargate)
- Task definition with container definitions, resource limits
- Service with desired count, health check, circuit breaker
- ALB target group, listener rules
- Blue-green deployment via CodeDeploy

### Lambda
- SAM template or CDK construct
- API Gateway integration (REST or HTTP API)
- Layers for shared dependencies
- Canary deployment with alias traffic shifting

## Common
- VPC configuration: private subnets for compute, public for ALB
- Security groups: least-privilege ingress/egress
- IAM roles: task/function execution role with minimum permissions
- CloudWatch alarms: 5xx rate, latency p99, error count
- Secrets Manager for sensitive configuration (not environment variables)

## Arguments
- `<service-name>`: Service name in kebab-case
- `--type=<eks|ecs|lambda>`: Deployment target (default: eks)

