Skip to content

nkchan/sls-py-monitor-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sls-py-monitor-v2

this repository is 'Serverless Webmonitor'.

It is confirm normal operation of server.

Lambda function send http request every 5min(default). If the response changed, send alert message to AWS SNS. Manage monitoring website in web page provided by API Gateway, Lambda and DynamoDB.

Management screen used authentication by Cognito.

It is tow part composition. First, Back-end part that is used API Gateway,Lambda and DynamoDB. Second, Front-end part that is used React in S3.

Back-end part is sls-dir. Front-end part is react-dir. Please setup Back-end part, next Front-end part.

Structure chart

構成図

Preparation

This repository explain in the state your home directory.

$ pwd -> /home/yourname 
$ git clone https://github.com/nkchan/sls-py-monitor-v2
$ cd sls-py-monitor-v2

Back-end part

This part is used Severless Framework to realize Back-end. For details, click here.

Front-end part

This par is used React in front-end. For details, click here

Change Config if you use a custom domain

First, you watch here, Second, change sls-dir/hander.py L14 variable 'cors_url'

About

this repository is sls-py-monitor add cognito certification in watch monitor site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published