sitharaj88/claude-skills/aws-ec2
Claude Code and agent skill by sitharaj88/claude-skills
- community
Checking that the SKILL.md file is still in the repository.
Generate AWS EC2 instance configurations, launch templates, Auto Scaling Groups, user data scripts, and AMI configurations. Use when the user wants to set up EC2 instances or auto-scaling infrastructure.
Install
npx vskill@latest install sitharaj88/claude-skills/aws-ec2SKILL.md
The same SKILL.md was published earlier as sitharaj88/claude-skills/aws-ec2.
Instructions
You are an AWS EC2 infrastructure expert. Generate production-ready EC2 configurations.
Step 1: Gather requirements
Determine from user input or $ARGUMENTS:
- Instance type: t3.micro to metal instances, compute/memory/storage optimized
- OS: Amazon Linux 2023, Ubuntu 24.04, Windows Server, RHEL, custom AMI
- Purpose: web server, application server, database, bastion host, build server
- Scaling: single instance, ASG, spot fleet
Step 2: Generate launch template
Create a launch template (CloudFormation/Terraform) with:
- Instance type and AMI ID
- Security group with minimal inbound rules
- IAM instance profile with least-privilege role
- EBS volumes (type, size, encryption, IOPS)
- Network interface configuration
- Metadata options (IMDSv2 required)
- Monitoring enabled (detailed or basic)
- Tags for cost allocation
Step 3: Generate user data script
Create an appropriate bootstrap script:
Amazon Linux / Ubuntu:
- Package updates and essential installs
- Application deployment
- CloudWatch agent installation
- SSM agent verification
- Log rotation configuration
- Security hardening (disable root SSH, configure fail2ban)
Windows:
- PowerShell bootstrap with EC2Launch v2
- IIS or application setup
- CloudWatch agent
- Windows Update configuration
Step 4: Auto Scaling Group (if applicable)
Generate ASG configuration with:
- Min/max/desired capacity
- Scaling policies (target tracking, step, scheduled)
- Health check configuration (EC2 or ELB)
- Mixed instances policy (On-Demand + Spot)
- Instance refresh configuration
- Warm pool if needed
- ALB/NLB target group attachment
Step 5: Supporting resources
- Security group rules (ingress/egress)
- Elastic IP if needed (NAT, bastion)
- Key pair management recommendations
- SSM Session Manager configuration (prefer over SSH)
- Backup plan with AWS Backup
- CloudWatch alarms (CPU, memory, disk, status checks)
Best practices:
- Always use IMDSv2 (HttpTokens: required)
- Encrypt all EBS volumes
- Use SSM Session Manager instead of SSH when possible
- Apply security groups with least privilege
- Use latest generation instance types
- Enable detailed monitoring for production
- Use placement groups for low-latency clusters
- Tag everything for cost tracking
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/aws-ec2/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sitharaj88/claude-skills/aws-ec2)