Control-M for Amazon ECS

AWS Elastic Container Service (ECS) is a container management service that enables you to execute, stop, manage, and monitor containerized applications in a cluster.

Control-M for Amazon ECS enables you to do the following:

  • Execute Amazon ECS jobs with a Fargate, EC2, or external infrastructure.

  • Manage Amazon ECS credentials in a secure connection profile.

  • Connect to any Amazon ECS endpoint.

  • Introduce all Control-M capabilities to Control-M for Amazon ECS, including advanced scheduling criteria, complex dependencies, Resource Pools, Lock Resources, and variables.

  • Integrate Amazon ECS jobs with other Control-M jobs into a single scheduling environment.

  • Monitor the status, results, and output of Amazon ECS jobs.

  • Attach an SLA job to the Amazon ECS jobs.

  • Run 50 Amazon ECS jobs simultaneously per Agent.

Setting up Control-M for Amazon ECSLink copied to clipboard

This procedure describes how to deploy the Amazon ECS plug-in, create a connection profile, and define an Amazon ECS job in Control-M SaaS and Automation API.

Before You Begin

  • Verify that Automation API is installed, as described in Setting Up the API.

  • Verify that Agent version 9.0.21.080 or later is installed.

  1. On the Agent host, run one of the following commands to set the Java environment variable:

    • Linux:

      • Bourne shell/bash: export BMC_INST_JAVA_HOME=<java_11_directory>

      • csh/tcsh: setenv BMC_INST_JAVA_HOME <java_11_directory>

    • Windows: set BMC_INST_JAVA_HOME="<java_11_directory>"

  2. Run one of the following API commands:

    • To install, type one of the following provision image commands:

      • Linux: ctm provision image AWS_ECS_plugin.Linux

      • Windows: ctm provision image AWS_ECS_plugin.Windows

    • To upgrade, type the following command:

      ctm provision agent::update

  3. Create an Amazon ECS connection profile in Control-M SaaS or Automation API, as follows:

  4. Define an Amazon ECS job in Control-M SaaS or Automation API, as follows:

To remove this plug-in from an Agent, see Removing a Plug-in. The plug-in ID is ACS042023.

Change LogLink copied to clipboard

The following table provides details about changes that were introduced in new versions of this plug-in:

Plug-in Version

Details

1.0.06

Minor parameter changes.

1.0.05

  • Overrides are now optional.

  • Get logs is now optional.

  • Status Polling default value changed to 60.

1.0.04

  • AWS patch applied, to resolve issue of bad URLs in the connection profile.

  • Resolved issue of missing internal quotations in the API calls.

  • Added ability to run multiple ECS jobs and get correct logs from CloudWatch.

1.0.03

Modified variable names and rectified variables

1.0.02

Modified variable names and rectified variables

1.0.01

Modified variable names and rectified variables

1.0.00

Initial version