Compute

# AWS EC2 Connector

Launch and manage EC2 instances, security groups, key pairs, and Elastic IPs.

$pip install "toolsconnector[ec2]"
30
Actions
Compute
Category
Free
Apache 2.0

## All 30 Actions

Action | Description | Parameters | Returns
--- | --- | --- | ---
`allocate_address` | Allocate an Elastic IP address | [domain] | `EC2Address`
`associate_address` | Associate an Elastic IP with an instance | allocation_id, instance_id | `dict`
`authorize_security_group_egress` | Add an outbound rule to a security group | group_id, ip_protocol, from_port, to_port [cidr_ip] | `dict`
`authorize_security_group_ingress` | Add an inbound rule to a security group | group_id, ip_protocol, from_port, to_port [cidr_ip] | `dict`
`create_key_pair` | Create a key pair | key_name | `EC2KeyPair`
`create_security_group` | Create a security group | group_name, description [vpc_id] | `EC2SecurityGroup`
`create_tags` | Create or update tags on EC2 resources | resource_ids, tags | `dict`
`create_volume` | Create an EBS volume | availability_zone [size, volume_type, encrypted] | `EC2Volume`
`delete_key_pair ⚠` | Delete a key pair | key_name | `dict`
`delete_security_group ⚠` | Delete a security group | group_id | `dict`
`describe_addresses` | Describe Elastic IP addresses | [allocation_ids] | `list`
`describe_availability_zones` | Describe availability zones | — | `list`
`describe_images` | Describe AMI images | [image_ids, owners, filters] | `list`
`describe_instance_types` | Describe available instance types | [instance_types] | `list`
`describe_instances` | Describe EC2 instances | [instance_ids, filters] | `list`
`describe_key_pairs` | Describe key pairs | — | `list`
`describe_security_groups` | Describe security groups | [group_ids] | `list`
`describe_subnets` | Describe subnets | [subnet_ids, filters] | `list`
`describe_tags` | Describe tags | [filters] | `list`
`describe_volumes` | Describe EBS volumes | [volume_ids] | `list`
`describe_vpcs` | Describe VPCs | [vpc_ids] | `list`
`get_console_output` | Get instance console output | instance_id | `dict`
`reboot_instances` | Reboot EC2 instances | instance_ids | `dict`
`release_address ⚠` | Release an Elastic IP address | allocation_id | `dict`
`revoke_security_group_egress` | Remove an outbound rule from a security group | group_id, ip_protocol, from_port, to_port [cidr_ip] | `dict`
`revoke_security_group_ingress` | Remove an inbound rule from a security group | group_id, ip_protocol, from_port, to_port [cidr_ip] | `dict`
`run_instances ⚠` | Launch new EC2 instances | image_id [instance_type, min_count, max_count, key_name, security_group_ids, subnet_id, user_data] | `list`
`start_instances` | Start stopped EC2 instances | instance_ids | `list`
`stop_instances` | Stop running EC2 instances | instance_ids [force] | `list`
`terminate_instances ⚠` | Terminate EC2 instances | instance_ids | `list`

Open Interactive Docs & Playground →

Full schema explorer, code generation, and live API testing