WORKFLOW

Check http health status and restart EC2 instance if needed

Use this workflow

This workflow performs a general http health status and then restarts an EC2 instance in response if the http status is not 200.

Code

Relay uses YAML to define the steps in a workflow.

Graph

Each step in the workflow is visualized below.

Integrations in this workflow

Install the Relay CLI

Relay CLI is an essential companion for authoring and managing workflows. You can install it with a package manager or download it.
brew install puppetlabs/puppet/relay
Learn more about setting up Relay.

How to contribute

We’re excited to see and share in our community’s creation. Take a look at our community overview to learn how to begin contributing to Relay.