brunozrk / aws_sauron

A better looking for AWS SQS, SNS and Cloudwatch Events.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS Sauron

A better looking for AWS SQS, SNS and Cloudwatch Events.

If your architecture is based on this services, this project may help you have a good overview of how things are connected.

Lets say you have multiple SQS queues, some of them subscribe for some SNS Topics, some of them receive events from Cloudwatch rules. With Amazon console it is hard to see it, even further if you have a lot of it. AWS Sauron intends to help you with that.

It uses Mermaid to build the flow chart.

Example

Aws Sauron Example

AWS keys

Before you start, you must have AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.

Check here to find out how get yours.

Setup

Manual Setup

  1. You must have this dependencies installed
elixir 1.10.1
erlang 22.2.7
nodejs 13.9.0
  1. Clone the repository
 git clone git@github.com:brunozrk/aws_sauron.git
  1. Install dependencies with
 mix deps.get
 npm install --prefix apps/web/assets
  1. Run the server
AWS_ACCESS_KEY_ID=<REPLACE> \
AWS_SECRET_ACCESS_KEY=<REPLACE> \
mix phx.server

Now you can visit localhost:4000 from your browser.

Docker Setup

docker run \
  --env AWS_ACCESS_KEY_ID=<REPLACE> \
  --env AWS_SECRET_ACCESS_KEY=<REPLACE> \
  --env AWS_REGION=<REPLACE> \
  -p 4000:4000 \
  brunozrk/aws_sauron

About

A better looking for AWS SQS, SNS and Cloudwatch Events.


Languages

Language:Elixir 77.7%Language:CSS 13.2%Language:JavaScript 5.3%Language:Dockerfile 1.8%Language:HTML 1.3%Language:SCSS 0.7%