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

Assign Elastic IP To Instance VPC

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

The Assign Elastic IP To Instance VPC step is used to assign an Elastic IP Address to an instance through a VPC.

Prerequisites 


Properties

Inputs

PropertyDescriptionData Type
Allocation IdId of the allocated Elastic IP to assign to VPC.String
Instance IdId of the instance intended to assign an Elastic IP to.
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:

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

AWS