> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# startInstance (EC2)

> Starts an EC2 instance running on a specified AWS Region. Target Properties Property Name Property Code Required Description AWS Endpoint FDAWS ENDPOI

Starts an EC2 instance running on a specified AWS Region.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>AWS Endpoint</td><td>`FDAWS_ENDPOINT`</td><td>No</td><td>The AWS endpoint to use.</td></tr><tr><td>AWS Access Key</td><td>`FDAWS_ACCOUNT_CODE`</td><td>Yes</td><td>The Cloud Account Code of the AWS.</td></tr><tr><td>AWS Secret Key</td><td>`FDAWS_SECRET_KEY`</td><td>Yes</td><td>The path to the directory where AWS CLI is installed. Optional if set as classpath.</td></tr><tr><td>AWS Region</td><td>`FDAWS_REGION`</td><td>Yes</td><td>The AWS region to operate on. To find the endpoint code for your region, see [Amazon's Documentation](http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region).</td></tr><tr><td>Number of Iterations</td><td>`FDAWS_EC2_STATUS_CHECK_COUNT`</td><td>Yes</td><td>The number of Iterations to perform the EC2 Instance status check. Defaults to 6.</td></tr><tr><td>Interval between status check</td><td>`FDAWS_EC2_STATUS_INTERVAL_DURATION`</td><td>Yes</td><td>The duration of time to wait for each EC2 Instance status check iteration. Defaults to 30secs.</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Instance IDs</td><td>`FDAWS_EC2_INP_INSTANCE_IDS`</td><td>Yes</td><td>Provide either comma or space separated IDs of the EC2 instances to start.</td></tr></tbody></table>

# Outputs

<table><colgroup><col /><col /></colgroup><tbody><tr><th>**Output Name**</th><th>**Description**</th></tr><tr><td>`FDAWS_EC2_OUT_EC2_INSTANCE_STATUS`</td><td>Captures the EC2 Instance Status Code.</td></tr><tr><td>`FDAWS_EC2_OUT_EC2_INSTANCE_RESP`</td><td>Captures the EC2 Instance Response Payload</td></tr><tr><td>`FDAWS_EC2_OUT_EC2_INSTANCE_ERR`</td><td>Captures the EC2 Instance Error Message.</td></tr></tbody></table>

# Artifacts

This operation does not produce or consume artifacts.

# Endpoint Selection

This operation will select all available endpoints associated to the target

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
