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 name | Description |
---|---|
Step Name | Specify a unique name for the step. |
CONNECTION tab: | Connection fields |
Region | Specify 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: Get | Click Get button to open the Region Explorer window. Choose a Region. |
Access Key | Access key to authenticate Amazon AWS cloud. |
Accept Values from fields | Leave 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 Key | Specify 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 Key | Secret key to authenticate Amazon AWS cloud. |
Accept Values from fields | Leave 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 Key | Specify 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 Connection | Click 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 Machine | Image Specify Amazon Machine Image (AMI) Id to be launched. |
Instance Type | Specify Instance Type of the AMI to be launched. |
Button: Get | Click Get button to get a popup containing list of Instance types. |
Number of Instances | Specify Number of instances to be created. |
Subnet ID | Specify the ID of an existing Subnet in which instance is to be launched. |
Button: Get | Click Get button, if the connection is successfully established it populates the list of subnet IDs available on the Amazon AWS cloud. |
Security Group | Specify Security Group in which instance is to be launched. |
Button: Get | Click Get button to get a popup containing list of Security Groups. |
Key Pair Name | Specify Key Pair Name to be assigned to the instance. |
Button: Get | Click Get button to get a popup containing list of Key Pair Name. |
OUTPUT tab: | Output field |
Instance Id | Specify an output field to hold the Instance Id of the newly created Virtual Machine instance launched as a result of step execution. |