Usecase Universe

A collective of use cases for DevOps teams

Browse a variety of 200+ predefined templates to automate all your AWS actions

EC2

24 Times Used
22 MAY 2019
Remove entries in Security Group which allow https access on public ip

It is AWS best practice to remove entries in security group which allows HTTPS access from public IP to reduce possibility of breach. Allowing unrestricted HTTPS access can increase threats like hacking, denial-of-service (DoS) attacks and loss of data

Reboot process in EC2 machine if CPUUtilization goes high(Triggered by alarm)

If CPUUtilization of any instance having required cloudwatch alarm set, goes high then this workflow will be triggered and it will lower down the CPUUtilization of the machine by rebooting the process inside the machine.

Reboot EC2 instances if the CPUUtilization goes High ( Triggered by Alarm )

If CPUUtilization of the machine having an alarm set goes above 90% then that alarm will trigger this workflow. Instances with high CPUUtilizaton will be rebooted that will reduce the CPUUtilization of those machines.

Upgrade EC2 machines if CPUUtilization goes high ( Triggered by Alarm )

If CPUUtilization of instances having an alarm set goes above 90% then this workflow will be triggered and it will upgrade the EC2 machine to their next level. This will eventually reduce the CPUUtilization.

Launch EC2 instances from CloudFormation template

EC2 Instances will be launched according to the cloud formation template. We can define the configurations for an EC2 instance in a cloud formation template that can be launched via this workflow.

CloudTrail based API reports (Without IAM user)

Generate a report of all the API calls that are made in a particular interval. This report can be used to track user activities in our AWS account.

Create backup of EC2 instances and terminate them ( Triggered by JIRA )

Jira ticket with required summary will trigger this workflow. AMI backup and EBS snapshot of Instances will be taken as a backup of the instances having the same tag that are mentioned in the description of jira ticket

Reboot EC2 instances if the CPUUtilization goes High ( Triggered by JIRA )

Jira ticket with required summary will trigger this workflow. Instances having the same tag that are mentioned in the description of jira ticket will get rebooted. This will reduce the CPUUtilization of that machine.

Upgrade EC2 machines if CPUUtilization goes high ( Triggered by JIRA )

Jira ticket with required summary will trigger this workflow. Instances having the same tag that are mentioned in the description of jira ticket will upgrade to their next level. This will reduce the CPUUtilization of that machine.

Launch EC2 instances from AMI ( Triggered by JIRA )

Jira ticket with required summary will trigger this workflow. Instances will be launched on AMI's having the same tag that are mentioned in the description of jira ticket

Reboot Process in EC2 instances if CPUUtilization goes high ( Triggered by JIRA )

Jira ticket with required summary will trigger this workflow. Apache(httpd) server inside the Instances will be rebooted for those instances which have the same tag that are mentioned in the description of jira ticket. This rebooting of the process will decrease the CPUUtilization of the machine.

Modify instance type if CPU utilization < 10% for a week

If CPU utilization is less than 10% for a week, you are not utilizing the instance efficiently. This workflow identifies such instances and switches to another instance type.