Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Reboot Instance

Prev Next
Step Details
Introduced in Version3.0.0
Last Modified in Version7.0.0
LocationIntegration > Amazon AWS > EC2

The Reboot Instance step is used to reboot an EC2 instance.

Prerequisites 


Properties

Inputs

PropertyDescriptionData Type
Instance IdID of the instance to reboot.String
RegionThe Amazon AWS region the instance is associated with.AmazonAWSRegion


Common Errors

AWS Was Not Able To Validate the Provided Access Credentials.

If the access credentials established in system settings are invalid, the step will cause an error.

To correct this, ensure the Access Key Id and Secret Access Key are both correct and active.

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Substring 1[Substring] in flow [Display Steps]: Exception invoking method Substring on class StringSteps 
 ---> DecisionsFramework.LoggedException: Exception invoking method Substring on class StringSteps 
 ---> System.ArgumentOutOfRangeException: Index and length must refer to a location within the string. (Parameter 'length')  
   at System.String.Substring(Int32 startIndex, Int32 length)       
   --- End of inner exception stack trace ---  
   at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data  at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData)  
   at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)       
   --- End of inner exception stack trace ---

The Instance Id '____________' is Malformed.

If the Id inputted in the Instance Id is incorrect, the step will cause an error.

To correct this, Input a valid Instance Id.

Exception Message:

DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Reboot Instance 1[RebootInstance] in flow [Step Library Flow]: Exception invoking method RebootInstance on class AmazonEC2Core
 ---> DecisionsFramework.LoggedException: Exception invoking method RebootInstance on class AmazonEC2Core
 ---> Amazon.EC2.AmazonEC2Exception: The instance ID 'i-0cf69cd7ccc479d4' is malformed
 ---> Amazon.Runtime.Internal.HttpErrorResponseException: Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown. at Amazon.Runtime.HttpWebRequestMessage.ProcessHttpResponseMessage(HttpResponseMessage responseMessage)
 at Amazon.Runtime.HttpWebRequestMessage.GetResponseAsync(CancellationToken cancellationToken)
 at Amazon.Runtime.Internal.HttpHandler`1.InvokeAsync[T](IExecutionContext executionContext)
 at Amazon.Runtime.Internal.Unmarshaller.InvokeAsync[T](IExecutionContext executionContext)
 at Amazon.EC2.Internal.AmazonEC2ResponseHandler.InvokeAsync[T](IExecutionContext executionContext)
 at Amazon.Runtime.Internal.ErrorHandler.InvokeAsync[T](IExecutionContext executionContext)
   --- End of inner exception stack trace ---


Related Information


Related Articles:

EC2

AWS