Messages and limitations of the Amazon EC2 connector

 

For operations, refer to Amazon EC2 (the top page for operations).

Message code list of AMAZONEC2 category

The following message codes correspond to errors that occur in Amazon EC2 Connector.

 

AMAZONEC20000E

This message code is output when an undefined error occurs.

Cause

Solution

An undefined error occurred.

Check the error message or the help of the operation in which the error has occurred.

Corresponding error

  • None

 

AMAZONEC20001E

This message code is output when connection to Amazon EC2 fails.

Cause

Solution

The cause differs according to each error message.

Check whether the cause/solution of the error is described in "Exception messages" below.

Corresponding error

  • software.amazon.awssdk.services.ec2.model.Ec2Exception

 

AMAZONEC20002E

This message code is output when the endpoint settings is incorrect, or when some error occurred during communicating with Amazon EC2, such as connection timeout.

Cause

Solution

The cause differs according to each error message.

Check whether the cause/solution of the error is described in "Exception messages" below.

Corresponding error

  • software.amazon.awssdk.core.exception.SdkClientException

 

AMAZONEC20003E

This message code is output when starting/stopping instances isn't completed within Timeout for the connection resource specified in Destination after the completion of sending a start/stop request.

Cause

Solution

After the completion of sending a start/stop request, starting/stopping instances wasn't completed within Timeout for the connection resource specified in Destination.

Check the Timeout settings for the connection resource specified in Destination.

Corresponding error

  • AmazonEC2OperationTimeoutException

 

Exception messages of AMAZONEC2 category

Exception name

Cause

Solution

AmazonEC2OperationTimeoutException

Instance status has not been changed within <timeout> milliseconds.

After sending a start request, the starting of the instance isn't completed within Timeout for the connection resource specified in Destination.

Check Timeout for the connection resource specified in Destination.

AmazonEC2OperationTimeoutException

Instance status has not been changed within <timeout> milliseconds.

After sending a stop request, the stopping of the instance isn't completed within Timeout for the connection resource specified in Destination.

Check Timeout for the connection resource specified in Destination.

software.amazon.awssdk.services.ec2.model.Ec2Exception

The cause differs according to each error message.

Check the contents of the error message.

software.amazon.awssdk.core.exception.SdkClientException

The request can't be sent for the following reasons:

  • The request to Amazon EC2 couldn't be sent because the time (milliseconds) specified for Timeout for the connection resource specified in Destination has elapsed.

  • Endpoint of the connection resource specified in Destination is incorrect.

Check the settings for the connection resource specified in Destination.

InvalidPropertyConfigurationException

<Property name> is not specified.

<Property name> isn't specified.

Specify <property name>.

ResourceNotFoundException

Resource definition could not be found. Name: []

Destination isn't specified.

Specify Destination.

ResourceNotFoundException

Resource definition could not be found. Name: [<connection resource name>]

The resource definition selected in Destination isn't found.

Check the connection resource specified in Destination.

 

Limitations of AMAZONEC2 category

Operation environment

Notes

  • The behavior described in the help pages is subject to change depending on specification changes in the destination.

Start Instances

Specification limits

  • When starting multiple instances, if any single instance fails to start and an error occurs, start requests aren't issued for the other instances.

  • If "AmazonEC2OperationTimeoutException" is thrown, the start request for the instance has been completed. Although a runtime error occurs, the start processing is performed for the instance.

Notes

  • HTTPS is used in communication between Amazon EC2 and this connector.

  • Only instances whose state is "stopped" are started.

  • Only instances whose root device type is "ebs" are started.

  • Spot instances can't be started.

Stop Instances

Specification limits

  • When stopping multiple instances, if any single instance fails to stop and an error occurs, stop requests aren't issued for the other instances.

  • If "AmazonEC2OperationTimeoutException" is thrown, the stop request for the instance has been completed. Although a runtime error occurs, the stop processing is performed for the instance.

Notes

  • HTTPS is used in communication between Amazon EC2 and this connector.

  • Only instances whose state is "running" or "pending" are stopped.

  • Only instances whose root device type is "ebs" are stopped.

  • Spot instances can't be stopped.

Describe Instances

Specification limits

None.

Notes

  • HTTPS is used in communication between Amazon EC2 and this connector.