Terminate Idle EC2 Instances

This workflow terminates all the instances which are idle from the past 7 days and are launched before 7 days. Instance is identified as idle if its CPU Utilisation is less than 2% and Network In/Out is less than 5MB. You can also give other configurations for this workflow.

Adopt Template

Trigger

Use this to initiate a workflow based on time, events or call.

Runs every 7 days

Resource

Select resources on which you want to work on.

Gets instances in a specific AWS Region for EC2 service

Filter

Enter parameters to filter resources in the workflow.

Filters running instances

Monitoring

Fetches CloudWatch Metrics of associated resources.

Injects the selected monitoring data from previous resource

Filter

Enter parameters to filter resources in the workflow.

Filters idle instances

User Approval

Use this to get approval from stakeholder to continue the workflow.

Fulfils organizational obligation(if any) before taking any action on an AWS resource

Action

Select action to be done on resources in the workflow.

Terminate instances in a specific AWS Region for EC2 service
Adopt Template

Workflow Template

Trigger

Use this to initiate a workflow based on time, events or call.

Runs every 7 days

Resource

Select resources on which you want to work on.

Gets instances in a specific AWS Region for EC2 service

Filter

Enter parameters to filter resources in the workflow.

Filters running instances

Monitoring

Fetches CloudWatch Metrics of associated resources.

Injects the selected monitoring data from previous resource

Filter

Enter parameters to filter resources in the workflow.

Filters idle instances

Create A Template

Thank you! Your submission has been received!
Oops! Something went wrong while submitting. Please Try Again.

Request for a template

You can publish templates created by you on this platform.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Similar Templates

RDS DB Instances

Reporting
RDS

Sends report of RDS DB instances CPU Utilization.

EC2 Instances

EC2
Reporting

Sends report for EC2 instances CPU utilization.

IAM user has console login allowed without MFA

IAM
Security

Sends report of IAM users that has control access but MFA is not enabled

EC2 Desired Instance Type

Security
EC2
Security

Determine if the EC2 instances provisioned in your AWS account have the desired instance type(s) established by your organization based on the workload deployed.