hannesdatta / private-research-cloud

Just some random place to standard building my own cloud client for coauthors & students
0 stars 0 forks source link

Private Research Cloud on AWS

Using VMs in the cloud (e.g., via AWS EC2, or Surf Research Cloud) is an extremely useful way to accelarate one's progress when working on empirical research projects. Yet, setting up the cloud - even in relatively well-managed environments like Surf's Research Cloud - can incur a significant time investment for beginners (e.g., lengthy onboarding procedure, comprehensive but daunting documentation). Plus, it just doesn't offer some of the flexibility I'm used to when working with clouds like, e.g., EC2 (e.g., number of CPUs, hard disk space, etc.).

So, the purpose of this project is to, eventually, build a web interface to EC2/RDS at AWS.

Features

Features:

Roadmap

See here for an overview about the project's milestones and associated issues (to dos). Comments & feedback appreciated.

Running the App

$ pip install Flask
$ pip install Flask-SQLAlchemy
$ pip install flask-login
$ pip install boto3
$ export TSH_CLOUD_SECRETKEY=<app_secret_key_here>
$ export TSH_CLOUD_DATABASE_URI="mysql://<USERNAME>:<PASSWORD>@<URL>/tilburg_science_cloud"
$ export TSH_EMAIL_PASSWORD="SECRET-EMAIL-PASSWORD"

Development

$ export FLASK_APP=app
$ export FLASK_DEBUG=1
$ flask run

Deployment