aws-ec2-setup by aj-geddes/useful-ai-prompts
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill aws-ec2-setupAmazon EC2 在云中提供可调整大小的计算容量。启动和配置虚拟服务器,并完全控制网络、存储和安全设置。根据需求自动扩展。
最小工作示例:
# 创建安全组
aws ec2 create-security-group \
--group-name web-server-sg \
--description "Web server security group" \
--vpc-id vpc-12345678
# 添加入站规则
aws ec2 authorize-security-group-ingress \
--group-id sg-0123456789abcdef0 \
--protocol tcp \
--port 80 \
--cidr 0.0.0.0/0
aws ec2 authorize-security-group-ingress \
--group-id sg-0123456789abcdef0 \
--protocol tcp \
--port 443 \
--cidr 0.0.0.0/0
aws ec2 authorize-security-group-ingress \
--group-id sg-0123456789abcdef0 \
--protocol tcp \
--port 22 \
--cidr YOUR_IP/32
// ... (完整实现请参阅参考指南)
references/ 目录下的详细实现:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 指南 | 内容 |
|---|---|
| 使用 AWS CLI 创建 EC2 实例 | 使用 AWS CLI 创建 EC2 实例 |
| 用户数据脚本 | 用户数据脚本 |
| Terraform EC2 配置 | Terraform EC2 配置 |
每周安装量
130
代码仓库
GitHub 星标数
126
首次出现
2026年1月21日
安全审计
安装于
gemini-cli110
opencode108
codex104
cursor98
claude-code98
github-copilot89
Amazon EC2 provides resizable compute capacity in the cloud. Launch and configure virtual servers with complete control over networking, storage, and security settings. Scale automatically based on demand.
Minimal working example:
# Create security group
aws ec2 create-security-group \
--group-name web-server-sg \
--description "Web server security group" \
--vpc-id vpc-12345678
# Add ingress rules
aws ec2 authorize-security-group-ingress \
--group-id sg-0123456789abcdef0 \
--protocol tcp \
--port 80 \
--cidr 0.0.0.0/0
aws ec2 authorize-security-group-ingress \
--group-id sg-0123456789abcdef0 \
--protocol tcp \
--port 443 \
--cidr 0.0.0.0/0
aws ec2 authorize-security-group-ingress \
--group-id sg-0123456789abcdef0 \
--protocol tcp \
--port 22 \
--cidr YOUR_IP/32
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| EC2 Instance Creation with AWS CLI | EC2 Instance Creation with AWS CLI |
| User Data Script | User Data Script |
| Terraform EC2 Configuration | Terraform EC2 Configuration |
Weekly Installs
130
Repository
GitHub Stars
126
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketWarnSnykWarn
Installed on
gemini-cli110
opencode108
codex104
cursor98
claude-code98
github-copilot89
Azure Data Explorer (Kusto) 查询技能:KQL数据分析、日志遥测与时间序列处理
125,100 周安装
shadcn/ui:可复制的React组件库,基于Tailwind CSS和Radix UI,提供完全代码控制权
328 周安装
数学计算与符号计算工具:SymPy、Z3、Pint统一入口,支持方程求解、证明、单位转换
334 周安装
React Three Fiber物理引擎教程 - r3f-physics(Rapier)快速入门与实战
326 周安装
Apollo Kotlin:Android与JVM的强类型GraphQL客户端,支持Kotlin多平台
329 周安装
Three.js 3D可视化开发指南 - 创建交互式3D图形与沉浸式网页体验
331 周安装
AI代码审查专家 - 自动化代码质量、安全与性能分析工具 | 现代开发实践
334 周安装