EC2 actions allow you to perform targeted operations against EC2 resources.
You can add these actions in the Spot Connect workflow builder as part of your workflow:
This node returns the list of reserved instances using filters of days to expiration and minimum purchase price.
Parameter | Description | Required | |
---|
Target Account Alias | Can select multiple AWS account to filter the savings plans | True | |
Maximum number of days to expiration | Filter Reserved Instances by the number of days to expiration | True | |
Minimum dollar amount for Reserved Instance | Minimum purchase price for the Reserved instance | True | |
Parameter | Type | Description | |
---|
reserved_instances | Object | List of object w.r.t Alias which specifies the Reserved_Instance_Id, Offering_Type, Fixed_Price and Expiry_In_Days. | |
execution_status | String | Status of run (ie: S_OK / E_FAIL) | |
- Target Account Aliases: Select the target accounts.
- Maximum number of days to expiration: Add the maximum number of days to expiration.
- Minimum dollar amount for Reserved Instance: Add the minimum dollar amount for reserved instances.


This node returns the list of savings plans using filters of days to expiration and payment option.
Parameter | Description | Required | |
---|
Target Account Alias | Can select multiple AWS account to filter the savings plans | True | |
Maximum number of days to expiration | Filter Reserved Instances by the number of days to expiration | True | |
Payment Option | Allowed payment options: All Upfront, Partial Upfront, No Upfront | True | |
Parameter | Type | Description | |
---|
savings_plans | Object | List of object w.r.t Alias which specifies the Savings_Plan_ARN, Description, Payment_Option and Expiry_In_Days. | |
execution_status | String | Status of run (ie: S_OK / E_FAIL) | |
- Target Account Aliases: Select the target accounts.
- Maximum number of days to expiration: Add the maximum number of days to expiration.
- Payment options: Select Payment options.


List all EC2 snapshots created before a given number of days.
Parameter | Description | Required | |
---|
Target Account Alias | Select AWS account to filter snapshots. | True | |
Number of days | List EC2 snapshots created before provided number of days from the current timestamp. | True | |
Region Name | Specify region name to filter the snapshots. | False | |
Parameter | Type | Description | |
---|
snapshot_ids | StringList | List of all the snapshot ids | |
execution_status | String | Status of run (ie: S_OK / E_FAIL) | |


This node gets sizing recommendations for EC2 instances.
Parameter | Description | Required | |
---|
Target Account Alias | Target account alias to be used to fetch sizing recommendations | True | |
Region Name | AWS Region Name for filtering Trusted Advisor checks | False | |
Parameter | Type | Description | |
---|
recommendations | MapList | A list of sizing recommendations | |
execution_status | String | Status of run (ie: S_OK / E_FAIL) | |


This node filters the security groups using the inputs and removes the matching inbound (ingress) rule from a security group.
Parameter | Description | Required | |
---|
Target Account Alias | Target account alias to be used to fetch sizing recommendations | True | |
IP Permission Protocol | The IP protocol for an inbound security group rule (tcp | udp | icmp, a protocol number, or -1 for all protocols) | False | |
IP Permission CIDR | An IPv4 CIDR block for an inbound security group rule, example: 0.0.0.0/0 | False | |
IP Permission IPV6 CIDR | An IPv6 CIDR block for an inbound security group rule | False | |
IP Permission from Port | For an inbound rule, the start of port range for the TCP and UDP protocols, or an ICMP type number | False | |
IP Permission to Port | For an inbound rule, the end of port range for the TCP and UDP protocols, or an ICMP code | False | |
Parameter | Type | Description | |
---|
execution_status | String | Status of run (ie: S_OK / E_FAIL) | |
group_ids | StringList | A list of group ids | |


This node modifies EC2 instances based on the input.
Parameter | Description | Required | |
---|
Target Account Alias | Target account alias to be used to resize instances | True | |
Update Config | A maplist of update config. (Make sure instance is stopped) Example update config in the list: {'recommended_instance_type': 't3.nano', instance_id': 'i-abcd1234'} | True | |
DryRun | Indicate whether this is a dry run | False | |
Parameter | Type | Description | |
---|
instances | MapList | A list of updated EC2 instances | |
execution_status | String | Status of run (ie: S_OK / E_FAIL) | |

