Skip to main content

Amazon EC2: Launch Instance

Description

Use the step to launch an EC2 instance on the specified Amazon AWS cloud account.

Note:

You may use Get Instance Properties as the first step in the workflow to fetch these properties for all the EC2 instances on this AWS cloud account other than fetching them manually from EC2 web portal.

Prerequisite

Login details to authenticate to Amazon AWS cloud. The details can be found under AWS Management Console → User Icon → Security Credentials. For details, see To create Access Key ID and Secret Access Key.

Configurations

Field nameDescription
Step NameSpecify a unique name for the step.
CONNECTION tab:Connection fields
RegionSpecify the region where the instance is hosted or choose a region from the Region Explorer window.
The field type is String. This field is mandatory.
Button: GetClick Get button to open the Region Explorer window. Choose a Region.
Access KeyAccess key to authenticate Amazon AWS cloud.
Accept Values from fieldsLeave checkbox unchecked to accept Access Key value from a field in the previous steps of the stream using a drop down list.
Else enable checkbox for Access Key field to appear as Text box.
Access KeySpecify the Access Key to authenticate Amazon AWS cloud EC2 instance. If checkbox above is enabled Access Key field appears as Text box and accepts static values or variables. Else if checkbox above is disabled Access Key field appears as a drop down to select fields from previous steps.
The field type is String. This field is mandatory.
Secret KeySecret key to authenticate Amazon AWS cloud.
Accept Values from fieldsLeave checkbox unchecked to accept Secret Key value from a field in the previous steps of the stream using a drop down list. Else enable checkbox for Secret Key field to appear as Text box.
Secret KeySpecify the Secret Key to authenticate Amazon AWS Cloud EC2 instance. If checkbox above is enabled Secret Key field appears as Text box and accepts static values or variables. Else if checkbox above is disabled Secret Key field appears as a drop down to select fields from previous steps.
The field type is String. This field is mandatory.
Button: Test ConnectionClick Test Connection button to verify whether the connection is available or not. Region, Access key and Secret Key are mandatory to authenticate Amazon AWS cloud. For the purpose of verification fields coming from previous steps are not allowed since field values can only be accessed when workflow is in running state. Static values and environment variables are allowed.
INPUT tab:Input fields
Amazon MachineImage Specify Amazon Machine Image (AMI) Id to be launched.
Instance TypeSpecify Instance Type of the AMI to be launched.
Button: GetClick Get button to get a popup containing list of Instance types.
Number of InstancesSpecify Number of instances to be created.
Subnet IDSpecify the ID of an existing Subnet in which instance is to be launched.
Button: GetClick Get button, if the connection is successfully established it populates the list of subnet IDs available on the Amazon AWS cloud.
Security GroupSpecify Security Group in which instance is to be launched.
Button: GetClick Get button to get a popup containing list of Security Groups.
Key Pair NameSpecify Key Pair Name to be assigned to the instance.
Button: GetClick Get button to get a popup containing list of Key Pair Name.
OUTPUT tab:Output field
Instance IdSpecify an output field to hold the Instance Id of the newly created Virtual Machine instance launched as a result of step execution.