ec2

Manages AWS EC2 instances including provisioning, configuration, security groups, and snapshots.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/tjl8787/mycodex-skills --skill ec2-tjl8787
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ec2
Source: https://github.com/tjl8787/mycodex-skills/tree/main/skills/ec2
Command: npx skills add https://github.com/tjl8787/mycodex-skills --skill ec2-tjl8787

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the complex task of managing AWS EC2 virtual machines, from launching and configuring to monitoring and troubleshooting.

Core Features & Use Cases

  • Instance Lifecycle Management: Launch, stop, start, reboot, and terminate EC2 instances.
  • Networking & Security: Configure security groups, key pairs, and network access.
  • Automation: Automate instance creation, AMI building, and scaling with scripts and templates.
  • Troubleshooting: Diagnose and resolve common instance connectivity and performance issues.
  • Use Case: Quickly launch a new web server instance, configure its security group to allow HTTP traffic, and attach an IAM role for S3 access.

Quick Start

Use the ec2 skill to launch a t3.micro instance with the name 'web-server' using the provided key pair and security group.

Frequently Asked Questions about ec2

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I launch an AWS EC2 instance with a specific IAM role and security group?

To launch an AWS EC2 instance, you can provision the virtual machine by specifying the instance type, attaching an IAM role, and configuring the security group to control network access during creation.

What is the best way to automate EC2 instance provisioning and AMI creation?

Automating EC2 instance provisioning and AMI creation is handled through scripts and templates that programmatically define instance configurations and build images for repeatable deployments.

How do I troubleshoot common AWS EC2 instance connectivity and performance issues?

Troubleshooting EC2 connectivity and performance issues involves diagnosing security group rules, key pairs, and network configurations to isolate and resolve access or resource bottlenecks.

Can I manage EBS volumes and user data when configuring EC2 virtual machines?

Yes, managing EC2 virtual machines includes configuring EBS volumes and passing user data scripts during instance launch to automate initial operating system setup and application deployment.

What are the steps to perform EC2 instance lifecycle operations like stop, start, and reboot?

EC2 instance lifecycle operations like stopping, starting, and rebooting virtual machines are executed through management commands that transition the instance state without altering its underlying configuration.

Why is my AWS EC2 instance not allowing HTTP traffic?

An EC2 instance blocks HTTP traffic when its security group lacks the proper ingress rules, requiring you to configure network access to allow inbound traffic on the designated port.