Creator · aiagentwithdhruv
Last updated · Sep 1, 2026
Deploy any full-stack app (Next.js + FastAPI or similar) to AWS production with Docker, ECR, ECS Fargate, ALB, ElastiCache, CloudWatch, and Grafana. Use when deploying to AWS, setting up CI/CD, configuring production infrastructure, or shipping any app to production.
Do not auto-install
Install targets
Codex install prompt
Install the "aws-production-deploy" agent skill from https://github.com/aiagentwithdhruv/skills/tree/main/aws-production-deploy. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Deploy any full-stack app (Next.js + FastAPI or similar) to AWS production with Docker, ECR, ECS Fargate, ALB, ElastiCache, CloudWatch, and Grafana. Use when deploying to AWS, setting up CI/CD, configuring production infrastructure, or shipping any app to production. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"aiagentwithdhruv-aws-production-deploy","task":"Install aws-production-deploy","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Agent fit
Claude Code + OpenAI Agents + CLI
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add aiagentwithdhruv/skills --skill aws-production-deploy
Maintenance
fresh
11d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
16
59/100 Quality · 57/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Do not auto-installTrust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Choose a stronger alternative or inspect the source manually before any install attempt.
Stars
16 GitHub stars
Repo activity
16 stars, 6 forks
Maintenance
11d since push
License
MIT
Install
npx skills add aiagentwithdhruv/skills --skill aws-production-deploy
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add aiagentwithdhruv/skills --skill aws-production-deployDo not use when
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20aws-production-deploy%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20aws-production-deploy%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/aiagentwithdhruv-aws-production-deploy/install
Agent should check
Copy prompt
Task: Use aws-production-deploy in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20aws-production-deploy%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/aiagentwithdhruv-aws-production-deploy/install
Install command: npx skills add aiagentwithdhruv/skills --skill aws-production-deploy
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/aiagentwithdhruv-aws-production-deploy/install
LLM text format
/api/skills/aiagentwithdhruv-aws-production-deploy/install?format=text
Find alternatives
/api/skills/search?q=aws-production-deploy&limit=3
Agent prompt
Use aws-production-deploy for this task. Review https://www.openagentskill.com/api/skills/aiagentwithdhruv-aws-production-deploy/install, then install with: npx skills add aiagentwithdhruv/skills --skill aws-production-deployRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/aiagentwithdhruv-aws-production-deploy
LLM text
/api/registry/manifest/aiagentwithdhruv-aws-production-deploy?format=text
Install alias
/api/registry/install/aiagentwithdhruv-aws-production-deploy
Recommend
/api/registry/recommend?task=Use%20aws-production-deploy%20in%20an%20agent%20workflow&limit=3
Agent fit
GitHub automation
Use-case tags
Platforms
Claude Code, OpenAI Agents
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
GitHub automation
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Trust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
GitHub adoption
FIX16 GitHub stars
Stars/forks activity
FIX16 stars, 6 forks; issue activity unavailable in current metadata
Recent maintenance
PASS11d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Choose a stronger alternative or inspect the source manually before any install attempt.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Build and ship code
I need a coding agent that can understand a repository, edit code, and review pull requests.
Workflow fit
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: aws-production-deploy description: Deploy any full-stack app (Next.js + FastAPI or similar) to AWS production with Docker, ECR, ECS Fargate, ALB, ElastiCache, CloudWatch, and Grafana. Use when deploying to AWS, setting up CI/CD, configuring production infrastructure, or shipping any app to production. ---
# AWS Production Deployment Stack
## Goal Ship any full-stack application to production on AWS with proper CI/CD, monitoring, caching, and load balancing. Zero manual deployments after setup.
---
## When to Use This Skill
- Deploying Next.js + FastAPI (or any frontend + backend) to production - Setting up Docker → ECR → ECS Fargate pipeline - Configuring GitHub Actions CI/CD for AWS - Adding CloudWatch logging + Grafana dashboards - Setting up ElastiCache (Redis) for caching/sessions - Configuring Application Load Balancer with SSL - ANY project that needs production-grade AWS hosting
---
## Architecture Pattern
``` git push → GitHub Actions → Docker Build → ECR Push → ECS Fargate Deploy ↓ ALB (HTTPS + SSL) ↓ ECS Tasks (Containers) ↓ ↓ ↓ Database ElastiCache CloudWatch ↓ Grafana ```
---
## Step-by-Step AWS CLI Setup
### Prerequisites ```bash # Install AWS CLI (macOS) brew install awscli
# Configure credentials aws configure # AWS Access Key ID: <from IAM> # AWS Secret Access Key: <from IAM> # Default region: ap-south-1 (or your region) # Default output: json
# Verify aws sts get-caller-identity ```
### Step 1: Create ECR Repositories ```bash # Create repos for frontend and backend images aws ecr create-repository --repository-name <app>-frontend --image-scanning-configuration scanOnPush=true aws ecr create-repository --repository-name <app>-backend --image-scanning-configuration scanOnPush=true
# Login to ECR aws ecr get-login-password --region <region> | docker login --username AWS --password-stdin <account-id>.dkr.ecr.<region>.amazonaws.com ```
### Step 2: Create VPC & Networking ```bash # Create VPC aws ec2 create-vpc --cidr-block 10.0.0.0/16 --tag-specifications 'ResourceType=vpc,Tags=[{Key=Name,Value=<app>-vpc}]'
# Create public subnets (for ALB) — need 2 AZs minimum aws ec2 create-subnet --vpc-id <vpc-id> --cidr-block 10.0.1.0/24 --availability-zone <region>a --tag-specifications 'ResourceType=subnet,Tags=[{Key=Name,Value=<app>-public-1}]' aws ec2 create-subnet --vpc-id <vpc-id> --cidr-block 10.0.2.0/24 --availability-zone <region>b --tag-specifications 'ResourceType=subnet,Tags=[{Key=Name,Value=<app>-public-2}]'
# Create private subnets (for ECS + ElastiCache) aws ec2 create-subnet --vpc-id <vpc-id> --cidr-block 10.0.3.0/24 --availability-zone <region>a --tag-specifications 'ResourceType=subnet,Tags=[{Key=Name,Value=<app>-private-1}]' aws ec2 create-subnet --vpc-id <vpc-id> --cidr-block 10.0.4.0/24 --availability-zone <region>b --tag-specifications 'ResourceType=subnet,Tags=[{Key=Name,Value=<app>-private-2}]'
# Create Internet Gateway (for ALB) aws ec2 create-internet-gateway --tag-specifications 'ResourceType=internet-gateway,Tags=[{Key=Name,Value=<app>-igw}]' aws ec2 attach-internet-gateway --internet-gateway-id <igw-id> --vpc-id <vpc-id>
# Create NAT Gateway (for ECS Fargate to pull images + reach internet) aws ec2 allocate-address --domain vpc # Get Elastic IP aws ec2 create-nat-gateway --subnet-id <public-subnet-1-id> --allocation-id <eip-alloc-id>
# Route tables — public subnets → IGW, private subnets → NAT aws ec2 create-route-table --vpc-id <vpc-id> # Public RT aws ec2 create-route --route-table-id <public-rt-id> --destination-cidr-block 0.0.0.0/0 --gateway-id <igw-id> aws ec2 associate-route-table --route-table-id <public-rt-id> --subnet-id <public-subnet-1-id> aws ec2 associate-route-table --route-table-id <public-rt-id> --subnet-id <public-subnet-2-id>
aws ec2 create-route-table --vpc-id <vpc-id> # Private RT aws ec2 create-route --route-table-id <private-rt-id> --destination-cidr-block 0.0.0.0/0 --nat-gateway-id <nat-gw-id> aws ec2 associate-route-table --route-table-id <private-rt-id> --subnet-id <private-subnet-1-id> aws ec2 associate-route-table --route-table-id <private-rt-id> --subnet-id <private-subnet-2-id> ```
### Step 3: Security Groups ```bash # ALB security group — allow HTTPS from internet aws ec2 create-security-group --group-name <app>-alb-sg --description "ALB SG" --vpc-id <vpc-id> aws ec2 authorize-security-group-ingress --group-id <alb-sg-id> --protocol tcp --port 443 --cidr 0.0.0.0/0 aws ec2 authorize-security-group-ingress --group-id <alb-sg-id> --protocol tcp --port 80 --cidr 0.0.0.0/0
# ECS security group — allow from ALB only aws ec2 create-security-group --group-name <app>-ecs-sg --description "ECS SG" --vpc-id <vpc-id> aws ec2 authorize-security-group-ingress --group-id <ecs-sg-id> --protocol tcp --port 3000 --source-group <alb-sg-id> aws ec2 authorize-security-group-ingress --group-id <ecs-sg-id> --protocol tcp --port 8000 --source-group <alb-sg-id>
# ElastiCache security group — allow from ECS only aws ec2 create-security-group --group-name <app>-redis-sg --description "Redis SG" --vpc-id <vpc-id> aws ec2 authorize-security-group-ingress --group-id <redis-sg-id> --protocol tcp --port 6379 --source-group <ecs-sg-id> ```
### Step 4: ElastiCache (Redis) ```bash # Create subnet group aws elasticache create-cache-subnet-group \ --cache-subnet-group-name <app>-redis-subnet \ --cache-subnet-group-description "Redis subnets" \ --subnet-ids <private-subnet-1-id> <private-subnet-2-id>
# Create Redis cluster aws elasticache create-cache-cluster \ --cache-cluster-id <app>-redis \ --cache-node-type cache.t3.micro \ --engine redis \ --num-cache-nodes 1 \ --cache-subnet-group-name <app>-redis-subnet \ --security-group-ids <redis-sg-id> ```
### Step 5: Application Load Balancer ```bash # Create ALB aws elbv2 create-load-balancer \ --name <app>-alb \ --subnets <public-subnet-1-id> <public-subnet-2-id> \ --security-groups <alb-sg-id> \ --scheme internet-facing \ --type application
# Create target groups aws elbv2 create-target-group --name <app>-frontend-tg --protocol HTTP --port 3000 --vpc-id <vpc-id> --target-type ip --health-check-path / aws elbv2 create-target-group --name <app>-backend-tg --protocol HTTP --port 8000 --vpc-id <vpc-id> --target-type ip --health-check-path /health
# SSL Certificate (via ACM) aws acm request-certificate --domain-name <yourdomain.com> --validation-method DNS --subject-alternative-names "*.<yourdomain.com>" # → Validate DNS via Route53 or your DNS provider
# HTTPS Listener with path-based routing aws elbv2 create-listener \ --load-balancer-arn <alb-arn> \ --protocol HTTPS --port 443 \ --certificates CertificateArn=<cert-arn> \ --default-actions Type=forward,TargetGroupArn=<frontend-tg-arn>
# HTTP → HTTPS redirect aws elbv2 create-listener \ --load-balancer-arn <alb-arn> \ --protocol HTTP --port 80 \ --default-actions Type=redirect,RedirectConfig='{Protocol=HTTPS,Port=443,StatusCode=HTTP_301}'
# Route /api/* to backend aws elbv2 create-rule \ --listener-arn <https-listener-arn> \ --conditions Field=path-pattern,Values='/api/*' \ --priority 1 \ --actions Type=forward,TargetGroupArn=<backend-tg-arn> ```
### Step 6: ECS Cluster + Task Definitions ```bash # Create cluster aws ecs create-cluster --cluster-name <app>-cluster
# Create CloudWatch log groups FIRST aws logs create-log-group --log-group-name /ecs/<app>/frontend aws logs create-log-group --log-group-name /ecs/<app>/backend
# Create ECS Task Execution Role (if not exists) aws iam create-role --role-name ecsTaskExecutionRole --assume-role-policy-document '{ "Version": "2012-10-17", "Statement": [{"Effect": "Allow", "Principal": {"Service": "ecs-tasks.amazonaws.com"}, "Action": "sts:AssumeRole"}] }' aws iam attach-role-policy --role-name ecsTaskExecutionRole --policy-arn arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy ```
**Task Definition JSON** (`infra/task-definition.json`): ```json { "family": "<app>", "networkMode": "awsvpc", "requiresCompatibilities": ["FARGATE"], "cpu": "512", "memory": "1024", "executionRoleArn": "arn:aws:iam::<account>:role/ecsTaskExecutionRole", "taskRoleArn": "arn:aws:iam::<account>:role/ecsTaskRole", "containerDefinitions": [ { "name": "frontend", "image": "<account>.dkr.ecr.<region>.amazonaws.com/<app>-frontend:latest", "portMappings": [{"containerPort": 3000, "protocol": "tcp"}], "environment": [ {"name": "NEXT_PUBLIC_API_URL", "value": "https://<domain>/api"} ], "logConfiguration": { "logDriver": "awslogs", "options": { "awslogs-group": "/ecs/<app>/frontend", "awslogs-region": "<region>", "awslogs-stream-prefix": "ecs" } }, "essential": true }, { "name": "backend", "image": "<account>.dkr.ecr.<region>.amazonaws.com/<app>-backend:latest", "portMappings": [{"containerPort": 8000, "protocol": "tcp"}], "environment": [ {"name": "MONGODB_URI", "value": "<mongodb-atlas-uri>"}, {"name": "REDIS_URL", "value": "redis://<elasticache-endpoint>:6379"}, {"name": "OPENAI_API_KEY", "value": "<key>"} ], "logConfiguration": { "logDriver": "awslogs", "options": { "awslogs-group": "/ecs/<app>/backend", "awslogs-region": "<region>", "awslogs-stream-prefix": "ecs" } }, "essential": true } ] } ```
```bash # Register task definition aws ecs register-task-definition --cli-input-json file://infra/task-definition.json
# Create ECS service aws ecs create-service \ --cluster <app>-cluster \ --service-name <app>-service \ --task-definition <app> \ --desired-count 2 \ --launch-type FARGATE \ --network-configuration "awsvpcConfiguration={subnets=[<private-subnet-1>,<private-subnet-2>],securityGroups=[<ecs-sg-id>],assignPublicIp=DISABLED}" \ --load-balancers "targetGroupArn=<frontend-tg-arn>,containerName=frontend,containerPort=3000" "targetGroupArn=<backend-tg-arn>,containerName=backend,containerPort=8000" ```
### Step 7: GitHub Actions CI/CD
`.github/workflows/deploy.yml`: ```yaml name: Deploy to AWS ECS
on: push: branches: [main]
env: AWS_REGION: ap-south-1 ECR_FRONTEND: <app>-frontend ECR_BACKEND: <app>-backend ECS_CLUSTER: <app>-cluster ECS_SERVICE: <app>-service TASK_DEFINITION: <app>
jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4
- name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: ${{ env.AWS_REGION }}
- name: Login to ECR id: ecr uses: aws-actions/amazon-ecr-login@v2
- name: Build & push frontend run: | docker build -t ${{ steps.ecr.outputs.registry }}/${{ env.ECR_FRONTEND }}:${{ github.sha }} -f frontend/Dockerfile frontend/ docker push ${{ steps.ecr.outputs.registry }}/${{ env.ECR_FRONTEND }}:${{ github.sha }}
- name: Build & push backend run: | docker build -t ${{ steps.ecr.outputs.registry }}/${{ env.ECR_BACKEND }}:${{ github.sha }} -f backend/Dockerfile backend/ docker push ${{ steps.ecr.outputs.registry }}/${{ env.ECR_BACKEND }}:${{ github.sha }}
- name: Download current task definition run: | aws ecs describ
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for aws-production-deploy, ready for a manual X post.
aws-production-deploy: Deploy any full-stack app (Next.js + FastAPI or similar) to AWS production with Docker, ECR,... 16 stars https://www.openagentskill.com/skills/aiagentwithdhruv-aws-production-deploy?ref=x
Listing + install path for aws-production-deploy: https://www.openagentskill.com/skills/aiagentwithdhruv-aws-production-deploy?ref=x Install: npx skills add aiagentwithdhruv/skills --skill aws-production-deploy
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to aiagentwithdhruv but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/aiagentwithdhruv-aws-production-deploy?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/aiagentwithdhruv-aws-production-deploy?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/aiagentwithdhruv-aws-production-deploy/audit)
[](https://www.openagentskill.com/skills/aiagentwithdhruv-aws-production-deploy?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)aiagentwithdhruv
@aiagentwithdhruv
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Do not auto-install
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsPermission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness