Skip to content

danwiltshire/violet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Violet

Violet is an open source lightweight media hosting solution. It can be deployed onto Amazon AWS in minutes.

Currently under development and is not considered stable.

Infrastructure

AWS and Auth0 infrastructure is created by Terraform.

Getting started

Terraform Cloud is used as the backend for this project.

The Terraform Cloud workspace execution mode must be Local.

  1. Run terraform login
  2. Run terraform init

You can now create infrastructure.

Deploying

Currently the backend is deployed via Terraform and the frontend is deployed manually.

Prerequisites

  1. Create a dedicated AWS account (recommended)
  2. Setup AWS billing alerts (recommended)
  3. Connect AWS account to an organisation for central management (optional)
  4. Create AWS IAM user for programmatic access (recommended)
  5. Attach the relavant AWS IAM policies or roles to the new user
  6. Populate infra/terraform/terraform.auto.tfvars with the AWS access key and secret key
  7. Create an Auth0 account
  8. Create a dedicated Auth0 tenant (optional)
  9. Create an Auth0 'Machine to Machine' application for Terraform:
    • API: Auth0 Management API
    • Scopes: All (not ideal, could be locked down)
  10. Populate infra/terraform/terraform.auto.tfvars with the domain (Auth0 tenant), client_id and client_secret
  11. Create a CloudFront key pair, populate private key in terraform.tfvars.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published