AWS EC2

Carry out actions within AWS EC2 with this integration.

Actions

AWS EC2 Connect

Connect to a AWS regional EC2 service.

Input

Name Description Type Required Syntax
Access Key IAM user access key for programmatic access. password-input True True
Secret Access Key IAM user secret access key for programmatic access. password-input True True
region Selected region to use when connecting to the lambda service. dropdown True False

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}}

AWS EC2 Disconnect

Disconnect from the connected AWS EC2 service.

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}

AWS EC2 List Instances

Lists found instances which can be filtered based on a defined filter.

Input

Name Description Type Required Syntax
Filter When defined the results will be filtered based on the value provided. json-input False True

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}
instances List of instances and associated data. json True {}

AWS EC2 Create Instance

Creates a new EC2 AWS instance.

Input

Name Description Type Required Syntax
Instance Name Name to assign to the new instance. input True True
Image ID ID of the image to use when creating the instance. input True True
Type The AWS EC2 instance type to use. input True True
Key Name Name of the key that should be used when generating the initial access credentials. input True True
Subnet ID When provided the instance will be placed within the subnet. input False True
securityGroupIds List of security group IDs to assign to the newly created instance. json-input False True
Tags AWS tags to apply to the instance being created. json-input False True
Wait when true the flow will pause while the instance starts. checkbox False False
Assign Public IP when true a public IP address will be assigned to the instance. checkbox False False

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}
instances_id ID of the newly created instance. string True {}

AWS EC2 Create Custom Instance

Create a new EC2 instance by providing boto3 create instance parameters. This actions allow you to define more advance instances and access all available options.

Input

Name Description Type Required Syntax
Instance Data The data that should be used by boto3 when creating the new instance. json-input True True
Wait when true the flow will pause while the instance starts. checkbox False False

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}
instance_ids list of newly created instances. json True {}

AWS EC2 Get Instance

Gets an instance based on the instance ID.

Input

Name Description Type Required Syntax
Instance ID ID of the target instance. input True True

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}
instances List of returned instances. json True {}

AWS EC2 Start Instance

Start an AWS EC2 instance.

Input

Name Description Type Required Syntax
Instance ID ID of the target instance. input True True
Wait when true the flow will pause while the instance starts. checkbox False False

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}

AWS EC2 Stop Instance

Stop an AWS EC2 instance

Input

Name Description Type Required Syntax
Instance ID ID of the target instance. input True True
Wait when true the flow will pause while the instance stops. checkbox False False

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}

AWS EC2 Terminate Instance

Terminates an AWS EC2 instance.

Input

Name Description Type Required Syntax
Instance ID ID of the target instance. input True True
Wait when true the flow will pause while the instance terminates. checkbox False False

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}

AWS EC2 List Snapshots

Lists found snapshots which can be filtered based on a defined filter.

Input

Name Description Type Required Syntax
Filter When defined the results will be filtered based on the value provided. json-input False True

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}
snapshots List of returned snapshots and associated data. json True {}

AWS EC2 Create Instance Snapshot

Create a full instance snapshot of an EC2 instance and all attached disks.

Input

Name Description Type Required Syntax
Instance ID ID of the target instance. input True True
Instance Name Name of the instance to snapshot. input True True
Tags AWS tags to apply to the snapshots being created. json-input False True

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}
snapshots List of snapshots that have been taken along with the returned information about each. json True {}

AWS EC2 Create Snapshot

Create a snapshot of a volume.

Input

Name Description Type Required Syntax
volume ID ID of the target volume. input True True
Tags AWS tags to apply to the snapshot being created. json-input False True

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}
snapshot Snapshot information. json True {}

AWS EC2 Get Snapshot

Retrieve data about a snapshot using a snapshot ID.

Input

Name Description Type Required Syntax
Snapshot ID ID of the target snapshot. input True True

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}
snapshot Snapshot information. json True {}

AWS EC2 Delete Snapshot

Deletes an AWS EC2 snapshot by snapshot ID.

Input

Name Description Type Required Syntax
Snapshot ID ID of the target snapshot. input True True

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}

AWS EC2 List Volumes

Lists found volumes which can be filtered based on a defined filter.

Input

Name Description Type Required Syntax
Filter When defined the results will be filtered based on the value provided. json-input False True

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}
volumes List of volumes and associated data. json True {}

AWS EC2 Detach Volume

Detached a volume from an instance.

Input

Name Description Type Required Syntax
Instance ID ID of the target instance. input True True
volume ID ID of the target volume. input True True
Wait when true the flow will pause while the volume is detached. checkbox False False

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}

AWS EC2 Attach Volume

Attaches a volume to an instance.

Input

Name Description Type Required Syntax
Instance ID ID of the target instance. input True True
volume ID ID of the target volume. input True True
Device Name Name of the device being attached, for example, /dev/sdh or xvdh. input True True
Wait when true the flow will pause while the volume is attached. checkbox False False

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}

AWS EC2 Delete Volume

Deletes an EC2 volume by volume ID.

Input

Name Description Type Required Syntax
volume ID ID of the target volume. input True True
Wait when true the flow will pause while the volume is deleted. checkbox False False

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}

AWS EC2 Create Instance Image

Create an instance image and register it as an AMI. This process will snapshot all attached volumes and automatically provision the AMI.

Input

Name Description Type Required Syntax
Image Name Name of the image that is being created. input True True
Instance ID ID of the target instance. input True True
Tags AWS tags to apply to the snapshot being created. json-input False True
No Reboot When False the instance will be rebooted to ensure the snapshots are consistent. checkbox False True
Wait when true the flow will pause while the instance is imaged. checkbox False False

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}
image_id ID of the newly created image. string True {}

AWS EC2 Register Image

Registers a new AMI.

Input

Name Description Type Required Syntax
Image Name Name of the image that is being created. input True True
Block Device Mapping The block device mapping entries. Refer to the boto3 documentation for how to define this. json-input True True
Root Drive Name The name of the drive that the root snapshot should be applied. input True True

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}
image_id ID of the newly created image. string True {}

AWS EC2 Get Image

Retrieve data about a image using a image ID.

Input

Name Description Type Required Syntax
Image ID ID of the target image. input True True

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}
image Image data. json True {}

AWS EC2 Delete Instance Image

Deletes an instance image with the option of also removing any unused associated snapshots.

Input

Name Description Type Required Syntax
Image ID ID of the target image. input True True
Delete Snapshots When true any unused snapshots associated to the image ID will also be deleted. checkbox True False

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}

AWS EC2 Create Tags

Create EC2 tags and attach them to a resource by ID.

Input

Name Description Type Required Syntax
Resource ID ID of the target resource. input True True
Tags AWS tags to apply to the snapshots being created. json-input True True

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}

AWS EC2 Delete Tags

Deletes selective tags from a target resource ID.

Input

Name Description Type Required Syntax
Resource ID ID of the target resource. input True True
Tag Names A list of tags by key name to delete. json-input True True

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}

AWS EC2 Delete Tag

Delete a tag by key and value.

Input

Name Description Type Required Syntax
Resource ID ID of the target resource. input True True
Tag Key Key name of the tag to match the value with for deletion. input True True
Tag Value Value name of the tag to match the key with for deletion. input True True

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}

AWS EC2 Get Password

Gets password data for a given EC2 instance.

Input

Name Description Type Required Syntax
Instance ID ID of the target instance. input True True
Private Key File Path or full key of a AWS key file private key used when launching the instance. input True True

Output

Name Description Type always_present values
result Returns True when successful. boolean True {"True": {"description": "Successful."}, "False": {"description": "Failure."}}
rc Returns the exit code for the action. number True {"0": {"description": "Successful."}, "500": {"description": "No existing AWS EC2 connection found, ensure the flow has first run a AWS EC2 Connect before this action."}}
password Plaintext password data. text True