ec2
Manage AWS EC2 virtual machines, AMIs, and networking. Use for instance lifecycle management, security group configuration, key pair handling, and troubleshooting connectivity.
Introduction
The EC2 skill provides a comprehensive toolkit for cloud engineers and developers to manage Amazon Elastic Compute Cloud (EC2) resources through AI-assisted automation. It is designed to handle the full lifecycle of virtual machines, from provisioning and configuration to decommissioning. The skill offers deep context on instance types, including general-purpose, compute-optimized, and memory-optimized categories, as well as complex purchasing options like Reserved Instances, Spot Instances, and Savings Plans. It is particularly useful for Infrastructure as Code (IaC) workflows, script generation, and rapid troubleshooting of connectivity issues or security policy misconfigurations.
-
Automated provisioning of EC2 instances with custom user data scripts for bootstrapping software and services.
-
Configuration of virtual firewalls through security groups, including granular inbound and outbound traffic rules for TCP, HTTP, and SSH protocols.
-
Lifecycle management encompassing start, stop, reboot, and terminate operations, including tag-based filtering for bulk resource management.
-
AMI management for image creation, registration, and cross-region copying to facilitate disaster recovery and horizontal scaling.
-
EBS volume and snapshot operations for data persistence, including encryption, IOPS tuning, and throughput optimization.
-
Integration patterns for IAM roles, instance profiles, and EventBridge rules for scheduled automation.
-
Users should provide specific instance IDs, AMI IDs, or tag keys/values as inputs to ensure precise resource targeting.
-
The skill assists in generating Boto3 Python code snippets or AWS CLI commands based on current best practices.
-
Always verify security group CIDR ranges and subnet associations to prevent unauthorized exposure of resources.
-
Use the provided troubleshooting patterns to diagnose common SSH connectivity, reachability, or instance boot failures.
-
Keep in mind that EC2 operations can incur costs; monitor usage and leverage Spot or Savings Plans where appropriate for non-production environments.
-
The skill assumes access to properly configured AWS credentials and appropriate IAM permissions for EC2, IAM, and EBS API calls.
Repository Stats
- Stars
- 1,082
- Forks
- 437
- Open Issues
- 15
- Language
- Python
- Default Branch
- main
- Sync Status
- Idle
- Last Synced
- Apr 29, 2026, 12:16 PM