createInstance (EC2)

Creates an EC2 instance running on a specified AWS Endpoint
  

Environment/Instance Properties

Property Name

Property Code

Required

Description

AWS Access Key

FDAWS_ACCESS_KEY

Yes

The access key found on the "Security Credentials" page of the AWS management console.

AWS Secret Key

FDAWS_SECRET_KEY

Yes

The secret key found on the "Security Credentials" page of the AWS management console.

AWS Region

FDAWS_ENDPOINT

Yes

The AWS region to operate on. To find the endpoint code for your region, see Amazon's Documentation.

  

Project Properties

Property NameProperty Code

Required

Description





  

Inputs

Input Name

Input Code

Required

Description

Instance Type

FDAWS_EC2_INSTANCE_TYPE

Yes

The type of instance to create (e.g. c4.xlarge)

Image ID

FDAWS_EC2_IMAGE_ID

Yes

The id of the AMI to use (e.g. ami-d0f506b0)

Security Group Name

FDAWS_EC2_SEC_GROUP_NAME

Yes

The name of the security group to create with.

Key Name

FDAWS_EC2_KEY_NAME

Yes

The name of the key to create with.

Min Instances

FDAWS_EC2_MIN_INSTANCES

No

The minimum number of instances to create. Default is 1. If this is set higher than the number of instances allowed in the target Availability Zone, no instances are launched.

Max Instances

FDAWS_EC2_MAX_INSTANCES

No

The maximum number of instances to create. Default is 1. If this is set higher than the number of instances allowed in the target Availability Zone, the maximum number of available instances are launched.

Elastic IP IDFDAWS_EC2_ELASTIC_IP_IDNoThe allocation ID of the elastic IP to use on creation. To create a new elastic IP, enter "new". The allocation ID can be found on the "Elastic IPs" page of the AWS management console.

  

Outputs

Property Name

Required

Description

FDAWS_EC2_OUT_INSTANCE_ID

No

The instance ID of the created instance.

  

Artifacts

This operation does not produce or consume artifacts.
  

Endpoint Selection
  

This operation will select all available endpoints associated to the environment/instance.

Endpoint Execution
  

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