ec2

Design and optimize EC2 workloads for scalable, cost-efficient cloud infrastructure.

12|5|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/aws-samples/sample-claude-code-plugins-for-startups --skill ec2-aws-samples
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ec2
Source: https://github.com/aws-samples/sample-claude-code-plugins-for-startups/tree/main/plugins/aws-dev-toolkit/skills/ec2
Command: npx skills add https://github.com/aws-samples/sample-claude-code-plugins-for-startups --skill ec2-aws-samples

SYSTEM DOCUMENTATION & REQUIREMENTS

## What problem does it solve? EC2 workload design and optimization to help teams select the right instance types, configure launch templates, and scale efficiently while controlling costs.

## Core Features & Use Cases

  • Instance type selection guided by workload characteristics (compute, memory, I/O, GPU, or general purpose).
  • Launch templates and Auto Scaling group design with mixed instance policies to improve cost efficiency and resilience.
  • Storage and pricing guidance, including EBS types, encryption, spot optimization, and ASG health checks.

### Quick Start Describe your EC2 workload and I will propose an optimal instance family, sizing, and Auto Scaling configuration.

Frequently Asked Questions about ec2

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

FAQPage Schema
How do I choose the right EC2 instance type for my workload?

To choose the right EC2 instance type, evaluate your workload characteristics—compute, memory, I/O, or GPU. The Skill recommends instance families and sizing based on these traits, defaulting to Graviton processors for supported workloads.

What's the best way to configure EC2 launch templates for Auto Scaling?

The best way to configure EC2 launch templates for Auto Scaling is to enforce IMDSv2 and use mixed instance policies. This approach improves resilience and cost efficiency across your scaling fleet.

Can I use Spot Instances to optimize EC2 costs?

Yes, you can use Spot Instances to optimize EC2 costs. The Skill provides spot optimization guidance and configures Auto Scaling group health checks to safely manage interruptions and maintain workload availability.

How do I design EC2 storage and select EBS volumes?

To design EC2 storage and select EBS volumes, match the EBS type to your I/O requirements and ensure encryption is enabled. The Skill provides storage guidance based on your workload's specific data throughput and access patterns.

Does this EC2 optimization approach work for GPU workloads?

Yes, this EC2 optimization approach works for GPU workloads. It guides instance selection, scaling, storage, and pricing across compute-bound, memory-bound, storage-bound, GPU, and general-purpose workload categories.