Skip to content

AWS ECS Fargate deployment stack with ALB. Includes a containerized Messaging Processing demo application.

License

Notifications You must be signed in to change notification settings

atrakic/aws-ecs-fargate-stack

Repository files navigation

aws-ecs-fargate-stack

Terraform Unit Tests Pylint license

A Messaging processing application with pub-sub functionality. Utilizes various AWS components such as SNS, SQS, DynamoDB, and ECS Fargate.

Introduction

This messaging processing application with access to AWS services: SNS, SQS, DynamoDB and Fargatee.

Usage flow

  • Users submit requests via a URL, as shown in sample.json.
  • The Fargate application stores messages in the persistence layer (DynamoDB) and sends a message to a topic (AWS SNS).
  • A separate container, the worker application, receives and processes messages from the queues, and deleting them when finished.

Requirements

  • An AWS account

Deployment

$ export AWS_ACCESS_KEY_ID=
$ export AWS_SECRET_ACCESS_KEY=
$ make terraform

Clean up

$ make clean