AWS EC2 package
- Updated: 2026/03/13
The AWS EC2 package enables you to automate AWS EC2 instance operations such as create, start, stop, terminate, and retrieve the status of an instance. The actions available in this package leverage the AWS REST APIs to automate the EC2 instance-based workflows.
The AWS EC2 package authenticates the API request with AWS Signature Version 4 (SigV4) authentication protocol. This protocol combines and encodes the credentials (AWS Access Key, AWS Secret Access Key, AWS region, and the AWS services) in an HMAC-SHA256 key. Both API Tasks and Task Bots are compatible with the AWS EC2 package.
Prerequisites
- Base URL of the AWS EC2 instance
- AWS Access Key
- AWS Secret Access Key
- AWS region where the EC2 instance is located
- Instance ID of the EC2 instance
Actions in AWS EC2 package
The following actions are available in AWS EC2 package:
Instance states
The Start instance, Stop instance, and Terminate instance return the current and previous states of the specified instances. Each state has a specific code and name as shown below.
| code | name |
|---|---|
| 0 | pending |
| 16 | running |
| 32 | shutting-down |
| 48 | terminated |
| 64 | stopping |
| 80 | stopped |