GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cal-overflow/serverless-security-system: A serverless security system built with AWS Services

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
client
client
 
 
cloud
cloud
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

serverless-security-system

A serverless security system built with AWS Services NOTE: This project is a work in progress

Some notes

This security system sacrifices video livestreaming for the benefit of a serverless (more affordable) architecture. Additionally, the removal of livestreaming allows for less cpu requirements of each camera, and in turn a better video capture.

Archicture (tentative)

Client

A "Client" is more-or-less a camera + computer that has the purpose of recording footage and periodically sending it to the cloud storage.
Little or no video processing is done at the client-side to allow "weak" computers (such as a raspberry pi) to act as the client.

See more in the Client README.

Cloud

Cloud computing resources (such as AWS Lambda) run and process the footage recorded by each client.
The most essential resources are:

  • S3 - store configuration file and videos uploaded by clients.
  • Lambda - Handle file uploads to S3 (record client data). Remove videos that are not important (i.e., do not have any motion). Also serve as the backend (API) for interacting with the system.
  • DynamoDB - store data related to users.

See more in the Cloud README.

Misc notes
  • Docker-based client "application" that records footage of x min intervals.
  • Some kind of authentication will be needed so that setting up a client to have permissions to upload files to S3 bucket.
  • CRON-interval processes where the "client" syncs the footage to an S3 bucket.
  • CRON-interval processes at the cloud-level where footage is "processed" and potentially disposed.

Deploying

To deploy the Cloudformation stack with all necessary AWS resources, simply add a

1. Create an IAM Role

In your AWS Account, create a new IAM Role with the permissions you deem necessary. This must include Cloudformation and S3. Refer to GitHub's docs for Configuring OpenID Connect in AWS for guidance.

2. Add essential secrets to your GitHub repository.

Add the following secrets via Repository settings > Secrets > Actions.

  • IAM_ROLE_ARN containing your IAM Role ARN from step 1.

3. Trigger a deploy

To trigger a deploy, simply commit changes to the main branch. You may also trigger a deploy within the Actions tab on the repository.

About

A serverless security system built with AWS Services

Topics

awssecurity-systemserverless

Resources

Readme
Apache-2.0 license
Activity

Stars

4 stars

Watchers

1 watching

Forks

0 forks
Report repository

Sponsor this project

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.