aws_run_instances
Launch AWS EC2 instances with specified region, AMI, type, count, and network settings. Confirms details before running to avoid unintended charges.
Instructions
Launch one or more new AWS EC2 instances. Costs money — billing starts immediately. Reserved for dangerous guard mode. Summarise AMI, instance type, region, count, and confirm with the user before calling. Returns JSON with the new instance IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | Yes | AWS region (e.g. us-east-1). | |
| ami_id | Yes | AMI ID (ami-...). | |
| instance_type | Yes | EC2 instance type (e.g. t3.micro). | |
| key_name | Yes | EC2 key-pair name (1–255 chars). | |
| subnet_id | Yes | VPC subnet ID (subnet-...). | |
| security_group_ids | Yes | One or more security group IDs (sg-...). | |
| name_tag | Yes | Name tag for the launched instance(s) (1–255 printable chars). | |
| count | No | Number of instances to launch (1–10, default 1). |