Usecase Universe

A collective of use cases for DevOps teams

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

Create Template
Solutions
All Categories

Other

24 Times Used
22 MAY 2019
Create Infrastructure using Terraform
Other
Other

This use case automates the deployment of infrastructure through your Terraform scripts. Terraform is an Infrastructure-as-code service that lets you deploy multiple servers with various configurations through reusable code, so you don’t have to deal with the cloud CLI. TotalCloud workflows can integrate with Terraform to automate this deployment through & through, with additional customizations in the middle. The resources being created depends on the code you have in your Terraform account. For this workflow, EC2 servers are being deployed. 


Benefits

 

  • Automate deployment of templates
  • Customize the resources being used for the deployment
  • Add Parameters to your deployment


Workflow Brief


This workflow is integrated with Terraform. It triggers the Terraform Run API to create resources in your AWS account. The instructions on resources to be created will be pulled from the code that is present in your Terraform workspace. Read the detailed workflow docs here.


Process


There are only three nodes to this workflow. The trigger for this workflow will be scheduled for every day, which depends on your needs. The second node is a user approval node that’s set up to alert you on the EC2 server being deployed. The workflow will proceed only if you approve it. The third node is the HTTP node where you connect your Terraform endpoint URL with the workflow and authorize yourself. Once you add the API, you can run the workflow and the code associated with it.

Redshift Clusters CPUUtilization
Amazon Redshift
Other
Reporting

The template measures & provides you with actionable CPUUtilization data for Redshift Clusters - so you can view under & over-utilized resources & take action.

Redshift Clusters with High CPU Utilization
Amazon Redshift
Other

Sends a report of Redshift cluster if CPU utilization goes above than 90 %. Clusters with high CPU utilization should be rebooted this will improve the performance.

RDS DB Instance CPUUtilization Report
RDS
Other

Template provides you with the CPUUtilization of RDS DB instance.

Elasticache Cluster with High CPUUtilization
ElastiCache
Other

Sends a report of Elasticache clusters if there CPU utilization goes above than 90 %. Clusters with high CPUUtilization should be rebooted this will improve the performance.

EC2 Instances with High Utilization.
EC2
Other

Sends a report of EC2 instances if there CPU utilization goes above than 90 %. Instances with high CPUUtilization should be rebooted this will improve the performance.

RDS DB Instances High CPU Utilization
RDS
Other

Sends a report of RDS instances if their CPU utilization goes above than 90 %. Instances with high CPUUtilization should be rebooted to improve performance.

EMR Clusters With High HDFS Utilization
EMR
Other

Sends a report of EMR clusters if there HDFS utilization goes above than 90 %. Instances with high HDFS utilization should be rebooted this will improve the performance.

Elasticache Clusters Utilization Report
ElastiCache
Other
Other

...

Instance CPU Utilization Report
Other
EC2

A report of EC2 Instance CPU Utilization

Launch EC2 Instances from CloudFormation Template
EC2
Other

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.

Set Concurrency for Tagged Lambdas
Lambda
Other
Other

Finds particular Lambda Functions via tags and set the desired concurrency.