aws-ec2

Manage EC2 instances, AMIs, and auto-scaling groups via AWS CLI.

46|4|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/BagelHole/DevOps-Security-Agent-Skills --skill aws-ec2-bagelhole
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-ec2
Source: https://github.com/BagelHole/DevOps-Security-Agent-Skills/tree/main/infrastructure/cloud-aws/aws-ec2
Command: npx skills add https://github.com/BagelHole/DevOps-Security-Agent-Skills --skill aws-ec2-bagelhole

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the deployment and management of Amazon EC2 compute instances, addressing the need for scalable and configurable virtual servers in the cloud.

Core Features & Use Cases

  • Instance Deployment: Launch new EC2 instances with specified AMIs, instance types, key pairs, and security groups.
  • Auto Scaling: Configure Auto Scaling Groups with launch templates to automatically adjust the number of instances based on demand.
  • Instance Management: Perform common operations like listing, starting, stopping, and creating AMIs from existing instances.
  • Use Case: Deploy a web application by launching EC2 instances, configuring them with user data for initial setup, and placing them behind an auto-scaling group for high availability.

Quick Start

Launch a new EC2 instance using the provided AWS CLI command.

Frequently Asked Questions about aws-ec2

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

FAQPage Schema
How do I launch AWS EC2 instances with specific security groups and key pairs?

You can launch AWS EC2 instances by specifying AMIs, instance types, key pairs, and security groups via AWS CLI commands. This configures virtual servers directly, preparing compute resources for immediate cloud deployment.

How does auto scaling work for virtual machines on Amazon Web Services?

Auto scaling works by configuring Auto Scaling Groups with launch templates to automatically adjust the number of virtual machines. This dynamically matches compute capacity to real-time demand on Amazon Web Services.

What's the best way to manage EC2 instance lifecycle and create AMIs?

Managing EC2 instances involves using AWS CLI commands to list, start, and stop virtual machines. You can create AMIs directly from existing instances to preserve your configured compute environment for future deployments.

Do I need AWS CLI to configure compute resources and deploy scalable web applications?

Yes, you need AWS CLI to configure compute resources and deploy scalable web applications. It provides the direct interaction required to manage EC2 instances, set up user data, and enable high availability.

When should I use EC2 auto scaling groups for high availability?

Use EC2 auto scaling groups for high availability when deploying web applications that experience variable demand. Placing configured instances behind an auto scaling group ensures consistent performance during traffic fluctuations.