Step Details | |
Introduced in Version | 3.0.0 |
Last Modified in Version | 7.0.0 |
Location | Integration > Amazon AWS > EC2 |
The Assign Elastic IP To Instance Standard step is used to assign an Elastic IP address to an instance.
Prerequisites
- This step requires the Amazon AWS Module to be installed before it will be available in the toolbox, and an active AWS account. The Amazon WebServices Settings must also be configured.
- A dependency must be created after installing the module in order for the the steps to be properly used.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Instance Id | Id of the instance intended to assign an Elastic IP to. | String |
Public IP | Public IP of the Elastic IP to assign to instance. | String |
Region | The 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:
DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Assign Elastic Ip To Instance Standard 1[AssignElasticIpToInstanceStandard] in flow [Step Flows]: Exception invoking method AssignElasticIpToInstanceStandard on class AmazonEC2Core
---> DecisionsFramework.LoggedException: Exception invoking method AssignElasticIpToInstanceStandard on class AmazonEC2Core
---> Amazon.EC2.AmazonEC2Exception: AWS was not able to validate the provided access credentials
---> 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 ---
Invalid Id
If the Instance Id declared in inputs cannot be found or does not exist, the step will cause an error.
To correct this, ensure the inputted Instance Id is exists and is valid.
Exception Message:
DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Assign Elastic Ip To Instance Standard 1[AssignElasticIpToInstanceStandard] in flow [Step Flows]: Exception invoking method AssignElasticIpToInstanceStandard on class AmazonEC2Core
---> DecisionsFramework.LoggedException: Exception invoking method AssignElasticIpToInstanceStandard on class AmazonEC2Core
---> Amazon.EC2.AmazonEC2Exception: Invalid id: "i-0cf69cd7ccc479d4g"
---> 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