AWS EC2 Management Snap

In this article

Overview

You can use the AWS EC2 Management Snap to manage your EC2 instances, images, and security groups.

Snap Type

AWS EC2 Management is a write-type Snap used to create, modify, or delete resources within an AWS EC2 environment.

Prerequisites

An active AWS account with permissions to manage EC2 instances.

Limitations and Known Issues

None.

Snap Views

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

 

  • Min: 1

  • Max: 1

  • Mapper Snap

  • CSV Reader Snap

  • REST Get Snap

Each input document contains data that you want to write to AEP.

Output

Document

  • Min: 0

  • Max: 1

  • Email Sender Snap

  • Salesforce Writer Snap

  • Filter Snap

Each output document lists the status and other details associated with the writing process.

Error

Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the pipeline by choosing one of the following options from the When errors occur list under the Views tab:

  • Stop pipeline Execution: Stops the current pipeline execution if the Snap encounters an error.

  • Discard Error Data and Continue: Ignores the error, discards that record, and continues with the remaining records.

  • Route Error Data to Error View: Routes the error data to an error view without stopping the Snap execution.

Learn more about Error handling in pipelines.

Snap Settings

  • Asterisk ( * ): Indicates a mandatory field.

  • Suggestion icon (): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon ( ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( ): Indicates that you can add fields in the field set.

  • Remove icon ( ): Indicates that you can remove fields from the field set.

  • Upload icon ( ): Indicates that you can upload files.

Field Name

Field Type

Description

Field Name

Field Type

Description

Label*

 

Default Value: Elastic write
Example: Elastic Write

String

The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline.

 

EC2 Instance Id*

 

Default Value: N/A
Example: www.amazon.myinstance.com

String

Specify the appropriate EC2 Instance ID. Instance ID is an IP address of the instance. You require an EC2 instance ID to request access to an instance or to log in to an instance. For more information on finding the instance, see Amazon EC2 documentation.

EC2 Instance State

 

Default Value: Start
Example: Stop

Dropdown list

Select the current state of the instance. An Amazon EC2 instance transitions through different states from the moment you launch it through to its termination. The options available are:

  • Start: Select when the instance is ready for use.

  • Stop: Select when the instance is preparing to be stopped or stop-hibernated.

Snap Execution

Default Value: Execute
Example: Validate & Execute

Dropdown list

Select one of the following three modes in which the Snap executes:

  • Validate & Execute: Performs limited execution of the Snap, and generates a data preview during pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during pipeline runtime.

  • Execute only: Performs full execution of the Snap during pipeline execution without generating preview data.

  • Disabled: Disables the Snap and all Snaps that are downstream from it.

Snap Pack History

 

Â