Amazon EC2 · Arazzo Workflow
Amazon EC2 Stop and Start Instance Cycle
Version 1.0.0
Stop an instance, wait until stopped, then start it again and confirm running.
Provider
Workflows
stop-start-instance-cycle
Cycle an instance through stopped and back to running.
Chains StopInstances, a stopped-state poll, StartInstances, and a running-state poll, each branching on the instance state name.
1
stopInstance
stopInstances
Stop the target instance.
2
pollStopped
describeInstances
Describe the instance and branch on its state, looping while stopping and proceeding once it reports stopped.
3
startInstance
startInstances
Start the stopped instance again.
4
pollRunning
describeInstances
Describe the instance and branch on its state, looping while pending and ending once it reports running.