Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tenfyzhong/skills-hub --skill deploy-ec2-aws명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | deploy-ec2-aws |
| description | Deploy and manage AWS EC2 nodes using Terraform. |
Scaffold a self-contained Terraform project, then provision one or more named EC2 node groups on AWS. Create a dedicated VPC and public subnet, allow private communication among nodes, restrict SSH ingress, and assign a stable Elastic IP to every node.
Before running live AWS or Terraform commands, read references/deployment.md.
Require every node group to have a unique name and positive count. Ask for either value if missing.
Accept CPU and memory as optional minimum requirements. When omitted, use the small default:
2 vCPU4 GiBt3.mediumUse repeated node specifications for differently named groups:
api=2
worker=3:4:8
The format is NAME=COUNT[:CPU:MEMORY_GIB]. CPU and memory are minimums; the resolver may select a slightly larger x86_64 instance type when AWS has no exact match. Do not silently change an explicit count.
Use the node group name as the EC2 Name tag. For a group with one node, use the exact group name. For a group with multiple nodes, append zero-padded sequence numbers such as api-01 and api-02. Do not prefix EC2 names with the deployment namespace.
Defaults:
ec2-nodes-<YYMMDDHHMM> using local time$HOME/test/ec2-aws-<namespace>defaultus-west-220 GiB encrypted GP3/32Resolve this skill directory, then run:
python3 <skill-dir>/scripts/scaffold_project.py \
--node api=2 \
--node worker=3:4:8
Pass user-specified deployment settings explicitly:
python3 <skill-dir>/scripts/scaffold_project.py \
--target "$HOME/test/ec2-aws-demo" \
--namespace demo \
--aws-profile default \
--region us-west-2 \
--ssh-cidr 203.0.113.10/32 \
--public-key "$HOME/.ssh/id_ed25519.pub" \
--node api=2:2:4 \
--node worker=3:4:8
When --target is omitted, report the absolute path printed by the script. Continue all Terraform operations from that path and use its generated README.md as the local operation guide.
Keep these defaults unless the user explicitly requests a change:
ssh_cidr.For additional public ports, add the narrowest security-group rule that meets the request. Require an explicit source CIDR; do not default application ports to 0.0.0.0/0.
terraform init, plan, apply, or destroy. Refresh AWS SSO login when needed.terraform apply or terraform destroy unless the user explicitly requested provisioning or cleanup.--force on a deployment directory containing state unless the user explicitly asked to replace its local project.README.md, public/private IP outputs, resolved instance types, and SSH commands.