aws-ec2-setup

aj-geddes/useful-ai-prompts · updated Apr 8, 2026

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill aws-ec2-setup
0 commentsdiscussion
summary

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.

skill.md

AWS EC2 Setup

Table of Contents

Overview

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.

When to Use

  • Web application servers
  • Application backends and APIs
  • Batch processing and compute jobs
  • Development and testing environments
  • Containerized applications (ECS)
  • Kubernetes clusters (EKS)
  • Database servers
  • VPN and proxy servers

Quick Start

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)

Reference Guides

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

Best Practices

✅ DO

  • Use security groups for network control
  • Attach IAM roles for AWS access
  • Enable CloudWatch monitoring
  • Use AMI for consistent deployments
  • Implement auto-scaling for variable load
  • Use EBS for persistent storage
  • Enable termination protection for production
  • Keep systems patched and updated

❌ DON'T

  • Use overly permissive security groups
  • Store credentials in user data
  • Ignore CloudWatch metrics
  • Use outdated AMIs
  • Create hardcoded configurations
  • Forget to monitor costs

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.634 reviews
  • Harper Nasser· Dec 16, 2024

    Keeps context tight: aws-ec2-setup is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Daniel Thompson· Dec 4, 2024

    aws-ec2-setup reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Mateo Choi· Nov 23, 2024

    I recommend aws-ec2-setup for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Mateo Abbas· Oct 14, 2024

    Useful defaults in aws-ec2-setup — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Chen Sethi· Sep 21, 2024

    aws-ec2-setup reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Rahul Santra· Sep 17, 2024

    Registry listing for aws-ec2-setup matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Arjun Shah· Sep 5, 2024

    aws-ec2-setup has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Carlos Gill· Sep 1, 2024

    Useful defaults in aws-ec2-setup — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Valentina Malhotra· Aug 24, 2024

    Solid pick for teams standardizing on skills: aws-ec2-setup is focused, and the summary matches what you get after install.

  • Carlos Bansal· Aug 20, 2024

    I recommend aws-ec2-setup for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

showing 1-10 of 34

1 / 4