An open API service indexing awesome lists of open source software.

https://github.com/nullstone-modules/aws-fargate-task

Nullstone app module to create a runnable Fargate task.
https://github.com/nullstone-modules/aws-fargate-task

Last synced: 4 months ago
JSON representation

Nullstone app module to create a runnable Fargate task.

Awesome Lists containing this project

README

          

# Fargate Task

This app module is used to create a short-lived task/job.
To create a long-running service, use Fargate Service.

After creating the application, add an `Event` capability to trigger the task from items in a queue, on a schedule, or directly.

## When to use

Fargate Task is a great choice for applications that require 2 things:
- Running jobs triggered on a schedule, from a queue, or manually
- You do not want to manage EC2 servers

## Security & Compliance

Security scanning is graciously provided by [Bridgecrew](https://bridgecrew.io/).
Bridgecrew is the leading fully hosted, cloud-native solution providing continuous Terraform security and compliance.

![Infrastructure Security](https://www.bridgecrew.cloud/badges/github/nullstone-modules/aws-fargate-task/general)
![CIS AWS V1.3](https://www.bridgecrew.cloud/badges/github/nullstone-modules/aws-fargate-task/cis_aws_13)
![PCI-DSS V3.2](https://www.bridgecrew.cloud/badges/github/nullstone-modules/aws-fargate-task/pci)
![NIST-800-53](https://www.bridgecrew.cloud/badges/github/nullstone-modules/aws-fargate-task/nist)
![ISO27001](https://www.bridgecrew.cloud/badges/github/nullstone-modules/aws-fargate-task/iso)
![SOC2](https://www.bridgecrew.cloud/badges/github/nullstone-modules/aws-fargate-task/soc2)
![HIPAA](https://www.bridgecrew.cloud/badges/github/nullstone-modules/aws-fargate-task/hipaa)

## Network Access

When a task is triggered by events or through the CLI, it is placed into private subnets on the connected network.
As a result, the Fargate Task can route to services on the private network.

Since it is a task, no ports are exposed privately or publicly.
It does not provide support for attaching load balancers, API Gateways, etc.

## Execution

This application module supports various capabilities to handle execution of a Fargate Task.
- Trigger: Enable events to execute Fargate Task (e.g. Cron Trigger, SQS Queue)
- CLI Execution: `nullstone exec` (See [`exec`](https://docs.nullstone.io/getting-started/cli/docs.html#exec) for more information)

## Logs

Logs are automatically emitted to AWS Cloudwatch Log Group: `/`.
To access through the Nullstone CLI, use `nullstone logs` CLI command. (See [`logs`](https://docs.nullstone.io/getting-started/cli/docs.html#logs) for more information)

## Secrets

Nullstone automatically injects secrets into your Fargate Task through environment variables.
(They are stored in AWS Secrets Manager and injected by AWS during launch.)