Container

Use the Container integration for running a script that’s packaged in a container to remediate an incident.

Overview

In today's world, we often come across scripts (e.g. Bash, Python scripts) and code in Containers that is being used in remediating problems in the infrastructure. With this integration we support executing these scripts in our workflows and help users connect these scripts to other services available in Fylamynt.

Note that the container images used in this action node need to be set up according to https://aws.amazon.com/blogs/aws/new-for-aws-lambda-container-image-support/

Additionally, the target account role needs to have its Trust Relationships updated to allow access to the AWS lambda service, and an updated Condition clause as shown.

Use Cases

The Container integration lets you:

  • Configure a container registry.

  • Pick a Docker image and version that’s available in the registry.

  • Pass any input to the Docker image in a text box. The input is directly passed as input when running the container.

  • Enter resource requirements for the container

    • CPU (specified in CPU units).

    • MEM (specified in MB)

Integration Actions

  • Drag the Container Action node onto the workflow editor canvas

  • Select Alias for the target account in the dropdown

  • Select Repository from the dropdown

  • Select Image from the dropdown

Input

Parameter Name

Description

Required

alias

Target account alias for running the container

True

repository

Container repository in the alias target account

True

image

Container image SHA256 in the selected repository

True

bucket

S3 bucket for log output from container run

False

command

extra command arguments

False

entry_point

Image entry point

False

memory_size

Memory size for container run, default is 128 MBytes

False

timeout

Timeout in seconds for the run, default is 900 seconds

False

working_directory

Working directory for the run

False

Output

Parameter Name

Type

Description

bucket

String

S3 bucket in which log files are stored (if specified in inputs)

key

String

S3 key of log file (if a bucket was specified)

output

String

output from the run

log

String

Last 4 KB of the execution log of the run

Last updated