Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

SPASE-Machine

Instructions for setting up the main SMWT-IHDEA machine.

The machine contains several repositories and miscellaneous files related to certain tasks:

Needed for everything

  • Overall ubuntu environment package-lock.json
  • The spase-scripts repo

Generating the landing pages and backing up all SPASE records to the cloud.

All repositories related to updating the SPASE Schema

Installation

  1. Clone all the above repositories.
  2. Download the crontab.job and package-lock.json files
  3. Install necessary Node packages from the package-lock.json file using the npm ci command.

Additional Setup

Link the EC2 machine to the s3 bucket:

  • Use the aws sts get-caller-identity command within the machine to get the necessary info needed for the below steps.
  • On the AWS Dashboard:
    • Create a new IAM role for EC2 access
    • Grant the role ListBucket, Get, Put, Delete object permissions over the bucket (bucket policy)
    • Assign the newly created role to the EC2 machine via "Modify IAM role"

Ensure that the backup and generation of the landing pages jobs are properly defined in the crontab file using the crontab -l command. If they do not match what is found in the crontab file from this repo, use crontab -e to add them (via vim).

About

Files and instructions for setting up the main SMWT-IHDEA machine.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors