Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aj-geddes avatar

Aws Ec2 Setup

  • 422 installs
  • 305 repo stars
  • Updated March 4, 2026
  • aj-geddes/useful-ai-prompts

aws-ec2-setup is a Claude Code infrastructure skill that provisions and configures AWS EC2 instances, VPC networking, security groups, and launch templates for developers bootstrapping compute for APIs, workers, or self-

About

aws-ec2-setup is a cloud infrastructure skill from aj-geddes/useful-ai-prompts that guides provisioning and configuration of AWS EC2 instances alongside VPC networking, security groups, and launch templates. Developers invoke it when bootstrapping compute for REST APIs, background workers, or self-hosted services that need a repeatable AWS foundation before deployment pipelines exist. The skill covers instance sizing, subnet placement, inbound and outbound security group rules, and launch template patterns for consistent instance launches. Reach for aws-ec2-setup when standing up first AWS compute rather than debugging an existing multi-region fleet.

  • VPC and subnet planning
  • Security group hardening
  • AMI and instance sizing
  • SSH and key-pair access
  • Auto Scaling group basics

Aws Ec2 Setup by the numbers

  • 422 all-time installs (skills.sh)
  • Ranked #384 of 1,039 Cloud & Infrastructure skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill aws-ec2-setup

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs422
repo stars305
Last updatedMarch 4, 2026
Repositoryaj-geddes/useful-ai-prompts

How do you bootstrap AWS EC2 with VPC and security groups?

Provision and configure AWS EC2 instances, VPC networking, security groups, and launch templates when bootstrapping compute for APIs, workers, or self-hosted services.

Who is it for?

Backend developers bootstrapping AWS compute for APIs, workers, or self-hosted services who need EC2, VPC, and security group configuration guidance.

Skip if: Teams already running containerized workloads on ECS or EKS who do not need raw EC2 instance provisioning.

When should I use this skill?

A developer needs to provision AWS EC2 compute with VPC networking and security groups for a new API, worker, or self-hosted service.

What you get

Configured EC2 instances, VPC networking, security group rules, and launch templates ready for API or worker deployment.

  • EC2 instance configuration
  • VPC network layout
  • security group rules

Files

SKILL.mdMarkdownGitHub ↗

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:

GuideContents
EC2 Instance Creation with AWS CLIEC2 Instance Creation with AWS CLI
User Data ScriptUser Data Script
Terraform EC2 ConfigurationTerraform 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

Related skills

How it compares

Pick aws-ec2-setup over container-platform skills when the workload needs direct EC2 instances with VPC and security group wiring.

FAQ

What AWS resources does aws-ec2-setup configure?

aws-ec2-setup configures EC2 instances, VPC networking, security groups, and launch templates. The skill targets developers bootstrapping compute for APIs, background workers, or self-hosted services on AWS.

When should developers use aws-ec2-setup?

Developers should use aws-ec2-setup when standing up first AWS compute with proper VPC and security group rules. The skill fits new backend infrastructure rather than migrating existing container fleets to ECS or EKS.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.