AWS EC2
19 commands. Toolkit id ooa.aws_ec2.
| Command | What it does |
|---|---|
| Attach volume | Attach an available volume to an instance in the same availability zone, as a device name. |
| Connect | Open a session for one AWS region with an access key from the vault; later EC2 steps use it. |
| Create snapshot | Start a point-in-time copy (snapshot) of an EBS volume; AWS finishes it in the background. |
| Create volume | Create an EBS volume in an availability zone, empty or restored from a snapshot. |
| Delete snapshot | Delete a snapshot for good. AWS refuses while a machine image (AMI) still uses it. |
| Describe instances | List instances with their state, type, addresses and tags: all of them, the ones you name, or those that match filters. |
| Detach volume | Detach a volume from its instance. Unmount it on the instance first; force only for a volume that will not detach. |
| Disable monitoring | Go back to basic (five-minute) monitoring for instances. |
| Disconnect | Close the EC2 session and forget its keys. |
| Enable monitoring | Switch on detailed (one-minute) CloudWatch monitoring for instances. |
| Get instance status | Read each instance's state and the results of AWS's system and instance health checks. |
| Launch instances | Create new instances from a machine image, with a name, tags and a start-up script. |
| List snapshots | List snapshots owned by this account (or another owner), optionally only those of one volume or with certain tags. |
| Reboot instances | Restart running instances. |
| Set tags | Add tags to instances, or change the values of tags they already have. |
| Start instances | Start stopped instances; optionally wait until they are running. |
| Stop instances | Stop running instances; their disks are kept. Optionally hibernate them or force the stop, and wait until they are stopped. |
| Terminate instances | End instances for good; disks marked to be deleted on end are deleted too. This cannot be undone. |
| Wait for state | Wait until every instance named is in a state, e.g. running after a start or stopped after a stop. |