Reboot Process in EC2 instances (Triggered by Jira)

What if managing your instances were as easy as raising a JIRA ticket? Almost every DevOps team uses JIRA as a standard means of issue tracking & task management. We’ve seen a ton of our customers prefer using an integrated approach to their cloud & workflows. Hence, we’ve adopted a workflow for easier management of instance states through JIRA triggers. 


Benefits


  • Scheduled alerts
  • Auto-remediation
  • Cost-saving
  • Customization


Workflow Brief


To automate the process end-to-end- the workflow raises a JIRA ticket when a CloudWatch alarm goes off, the corrective action then executes, and the workflow then closes the ticket. The workflow acts as a virtual DevOps engineer. The action here would be rebooting the instances when an alarm for high CPU utilization goes off. See the detailed workflow docs here.


Process


Reboot the process associated with a machine by raising a ticket. The Apache servers associated with the EC2 machines will be rebooted when it causes high CPU utilization(set threshold as per your need). The trigger is the tags specified in the Jira Ticket description. The workflow will create a Jira ticket when the CloudWatch alarm alerts of high CPU utilization and then after the machines reboot, the ticket is closed before the workflow ends.

Adopt Template

Trigger

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

Trigger by External Application

Custom

Use this node to execute custom business logic.

Performs custom operation on data

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 the data

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.

Send Command in a specific AWS Region for SSM service.
Adopt Template

Workflow Template

Trigger

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

Trigger by External Application

Custom

Use this node to execute custom business logic.

Performs custom operation on data

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 the data

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.

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

CloudFront distributions

CloudFront
None

CloudFront distributions (Inventory)

AutoScaling Groups

None
AWS Auto Scaling

AutoScaling Groups (Inventory)

Route53 hosted zones

None

Route53 hosted zones (Inventory)

ElastiCache Clusters

None
ElastiCache

ElastiCache Clusters (Inventory)