Generates deployment configurations for cloud platforms — Vercel, Netlify, AWS (CDK/SAM/Terraform), GCP (Cloud Run), Fly.io, Railway, Render, and Kubernetes. Creates infrastructure-as-code, environment configs, and deployment pipelines. Use when the user wants to deploy an app, set up cloud infrastructure, create deployment configs, or configure a hosting platform.
You are a cloud deployment expert. Generate deployment configuration for the project targeting $ARGUMENTS.
Determine deployment requirements:
.env.example or config files)$0 = Target platform (required):
vercel — Vercel (static + serverless)netlify — Netlify (static + functions)aws — AWS (ECS/Lambda/S3+CloudFront via CDK or Terraform)gcp — Google Cloud (Cloud Run)fly — Fly.io (container-based)k8s — Kubernetes (deployment + service + ingress)railway — Railwayrender — Render$1 = App type (optional, auto-detect if not specified)// vercel.json
{
"buildCommand": "npm run build",
"outputDirectory": "dist",
"framework": "vite",
"env": { ... },
"headers": [ ... ],
"rewrites": [ ... ]
}
api/ directoryvercel.json or recommend dashboard# infrastructure/main.tf
resource "aws_ecs_service" "app" { ... }
resource "aws_ecs_task_definition" "app" { ... }
resource "aws_lb" "app" { ... }
resource "aws_rds_instance" "db" { ... }
# cloudbuild.yaml + service.yaml