ec2

Manage Amazon EC2 instances, AMIs, security groups, and key pairs via AWS CLI.

3|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/david-2814/claw-aws --skill ec2-david-2814
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ec2
Source: https://github.com/david-2814/claw-aws/tree/main/skills/ec2
Command: npx skills add https://github.com/david-2814/claw-aws --skill ec2-david-2814

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing Amazon EC2 resources via the AWS CLI can be tedious and error-prone. This skill centralizes common EC2 operations, reducing manual steps and helping maintain consistent configurations.

Core Features & Use Cases

  • Instance lifecycle management: Launch, stop, start, reboot, and terminate EC2 instances with sensible defaults and safety checks.
  • AMI and image management: Locate, tag, and manage AMIs to streamline image workflows.
  • Security and access control: Create and manage security groups and key pairs to control access.
  • Operational visibility: List and describe instances, security groups, and key pairs to monitor your environment.

Quick Start

Install and configure the EC2 skill so you can immediately begin managing EC2 resources via AWS CLI.

Frequently Asked Questions about ec2

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

FAQPage Schema
How do I automate EC2 instance lifecycle management using AWS CLI?

Automate EC2 instance lifecycle management by running AWS CLI commands to launch, stop, start, reboot, and terminate instances. The process applies sensible defaults and safety checks to reduce manual configuration steps and maintain consistent environments.

What AWS CLI and IAM permissions do I need to manage EC2 instances?

Managing EC2 instances requires AWS CLI v2 and IAM permissions granting ec2:* access. You also need a valid VPC and subnet configured in your AWS environment to successfully launch and operate instances.

Can I manage security groups and key pairs for EC2 via command line?

Yes, you can create and manage security groups and key pairs via command line to control access. This secures your EC2 instances by centralizing operational visibility and security configurations directly through the CLI.

What's the best way to locate and manage AMIs for EC2 workflows?

The best way to manage AMIs is using CLI commands to locate, tag, and organize images. This streamlines image workflows and reduces manual tracking errors when provisioning new EC2 instances from standardized templates.

Why does launching EC2 instances via CLI require a valid VPC and subnet?

Launching EC2 instances via CLI requires a valid VPC and subnet because instances must deploy into a configured network space. Without these networking prerequisites, the AWS environment cannot route or secure the provisioned resources.

How do I list and describe EC2 instances and security groups to monitor my environment?

List and describe EC2 instances, security groups, and key pairs using AWS CLI describe commands. This provides operational visibility into your cloud infrastructure, allowing you to monitor environment status and verify configurations.