Git Product home page Git Product logo

kindle-book-review---big-data-'s Introduction

DBProject GROUP20

Term 6 Database Project Kindle

INSTRUCTIONS TO RUN

1)set up a fresh aws of ami-id: ami-0f82752aa17ff8f5d

2)ssh ubuntu@<publicip> -i <keypempath>

3)sudo apt-get update

4) sudo apt-get install git

5)git clone https://dbgroup202020:[email protected]/ryangen97/DBProject.git

6)cd DBProject

7)cd SQLWITHPROFINS

8)sh dependencies.sh

9) . venv/bin/activate

10)sh createEC2.sh

  1. #Enter AWS Credentials#

NOTE: if you rerun the code twice and didnt use the deletestack function you need to delete the stack DBPJT3 and the aws key 'newawskey' on your aws account before running again.

TEARDOWN

DELETE STACK

1)source /etc/environment

2) . venv/bin/activate

3)python3 deletestack.py $ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY $AWS_SESSION_TOKEN $REGION 'newawskey'

ONLY SHUTDOWN HADOOP

1)sh shutdownhadoopcluster.sh $MASTERIP

To update aws credentials in the case of credential expiry

Note if either doesnt work it could be due to the aws credentials being expired(especially aws educate)

1)sh updateawscredentials.sh

2)enter your updated credentials

3)source /etc/environment

To access Webpage

enter this into your browser WEBIPpublicIPaddress:3306

(This is generated and indicated near the end of the terminal headed by 'please enter this into your browser')

OTHER COMMENTS

if you exited the web flask server and want to start it again, you need to ensure port connection are cleared with

fuser -k 3306/tcp

kindle-book-review---big-data-'s People

Contributors

ryangen97 avatar melissaa12 avatar jazreeeel avatar savager34 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.