/streama

this is a deployment system for deploying Streama to AWS. You can find Streama here: https://streamaserver.org/

Primary LanguagePythonMIT LicenseMIT

Private Netflix

a video on demand service for documentation

How to save money on EC2

  • Replace your manually created Autoscaling Group wiht a Elastigroup from SpotInst.

Your defalut login screen:

login image

  • To get access, contact your system admin....because new user sign-up may be restricted or disabled.

How to upload your own videos:

  • Be aware that Streama can provide video is different formats, but the format you provide is of Critical importance to the viewers browser. mp4 files are the modern popular format.
  1. Browse to the video upload page here:
  • TBS
  1. Upload a file to the S3 bucket with a name that has no spaces.
  • Example: myvideo.mov
  1. Navigate to the Video Manager page in Streama
  2. Add your video to the system using the "select a file" option
  3. After the video is added, be sure to add meta informtion for the video
  4. Console Recorder
  5. .....TBD

Deployment Pipeline Setup and Usage:

Setup

chmod +x streama
export PATH=$PATH:./
streama --help

Usage


    USAGE: streama [OPTIONS] 

    OPTIONS

	-h     Dispplay this help dialog
	-p     Displays the awsstudygurus tool variables 
	         (varies based on branch)

	-d     Runs with defaults (not yet implemented)
	-r     Forces a reset (not yet implemented)

	-dp    Creates the Cloudformation stack for the Deployment pipeline
	         The Deployment pipeline deploys the app code and 
	         must be created first
	-da    Pushes the application code to the origin for the Deployment pipeline
	         The Deployment pipeline must be created first.  Automation 
	         for the AWS pipeline must be setup using the BitBucket repo plugin
	         https://marketplace.atlassian.com/apps/1211351/repository-mirror-plugin-for-bitbucket?hosting=server&tab=overview
	         https://github.com/ef-labs/stash-hook-mirror/wiki

	-delp  Deletes the Cloudformation stack and related resources for the Deployment pipeline
	-dela  Deletes the Cloudformation stacks and related resources for the Application


	--help 		    Same as -h
	--printvariables    Same as -p
	--deploy_pipeline   Same as -dp
	--deploy_app 	    Same as -da
	--destroy_pipeline  Same as -delp
	--destroy_app	    Same as -dela
	--default 	    not yet implemented
	--reset  	    not yet implemented







Your AMI Pipeline diagram:

AMI Pipeline

Your Serverless database:

[Amazon Aurora] (https://aws.amazon.com/rds/aurora/serverless/)

Amazon Aurora

Notes:

What is Video on Demand?