How to use IBM App Connect with Amazon EC2

The Amazon Elastic Compute Cloud (Amazon EC2) is a web-based service that provides scalable computing capacity that allows businesses to run application programs in the Amazon Web Services (AWS) Cloud.

Availability:
  • A connector in IBM App Connect Enterprise as a ServiceApp Connect Enterprise as a Service connector
  • A local connector in a Designer instance of IBM App Connect in containers (Continuous Delivery release)Local connector in containers (Continuous Delivery release) 12.0.5.0-r4 or later
  • A local connector in a Designer instance of IBM App Connect in containers (Support Cycle 2)Local connector in containers (Long Term Support Cycle-2 release)

Supported product and API versions

To find out which product and API versions this connector supports, see Detailed System Requirements on the IBM Support page.

Connecting to Amazon EC2

Complete the connection fields that you see in the App Connect Designer Connect > Applications and APIs page or flow editor. If necessary, work with your Amazon EC2 administrator to obtain these values.

Amazon EC2 connection fields:
Table 1. Connection fields and their description
Connection field Description
Secret access key The secret access key of your Amazon EC2 account. Get the secret access key from the Security Credentials page in the AWS Management Console.
Access key ID The access key ID of your Amazon EC2 account. Get the access key ID from the Security Credentials page in the AWS Management Console.
Region The region of your Amazon EC2 instance, for example, us-east-1.
Tip: For more information, see AWS service endpoints on the AWS documentation page.

To obtain the connection values for Amazon EC2, see Obtaining connection values for Amazon EC2.

To connect to an Amazon EC2 endpoint from the App Connect Designer Applications and APIs page for the first time, expand Amazon EC2, then click Connect.

Tip:

Before you use the account that is created in App Connect in a flow, rename the account to something meaningful that helps you to identify it. To rename the account on the Applications and APIs page, select the account, open its options menu (⋮), then click Rename Account.

General considerations

Before you use App Connect Designer with Amazon EC2, take note of the following considerations:

  • (General consideration) You can see lists of the trigger events and actions that are available on the Applications and APIs page of the App Connect Designer.

    For some applications, the events and actions depend on the environment and whether the connector supports configurable events and dynamic discovery of actions. If the application supports configurable events, you see a Show more configurable events link under the events list. If the application supports dynamic discovery of actions, you see a Show more link under the actions list.

  • (General consideration) If you are using multiple accounts for an application, the set of fields that is displayed when you select an action for that application can vary for different accounts. In the flow editor, some applications always provide a curated set of static fields for an action. Other applications use dynamic discovery to retrieve the set of fields that are configured on the instance that you are connected to. For example, if you have two accounts for two instances of an application, the first account might use settings that are ready for immediate use. However, the second account might be configured with extra custom fields.

Events and actions

Amazon EC2 events

These events are for changes in this application that trigger a flow to start completing the actions in the flow.

Note: Events are not available for changes in this application. You can trigger a flow in other ways, such as at a scheduled interval or at specific dates and times.

Amazon EC2 actions

Your flow completes these actions on this application.

Amazon Machine Images
Retrieve images
Availability zones
Retrieve availability zones
Instance types
Retrieve instance types
Instances
Retrieve instances
Launch instances
Start instances
Stop instances
Reboot instances
Terminate instances
Key pairs
Retrieve key pairs
Launch templates
Retrieve launch templates
Security groups
Retrieve security groups

Examples

Dashboard tile for a template that uses Amazon EC2
Dashboard tile for a template that uses Amazon EC2
Dashboard tile for a template that uses Amazon EC2

Use templates to quickly create flows for Amazon EC2

Learn how to use App Connect templates to quickly create flows that perform actions on Amazon EC2. For example, open the Templates gallery, and then search for Amazon EC2.

Dashboard tile for a template that uses Amazon EC2
Amazon EC2 flow in detailed view

Use IBM® App Connect to build flows that integrate with Amazon EC2.

Read the blog in the IBM Community to learn how to stop, start or reboot the Amazon EC2 instance whenever a Zendesk Service ticket gets created. Click Read the blog to go to the blog.