Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security added to the package.json for the monte-carlo lab #6

Merged
merged 34 commits into from
Jul 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
933de0d
starting changes to adapt to the latest version of libraries
ruecarlo Jun 30, 2019
1cf1084
pointing to personal repo
ruecarlo Jun 30, 2019
af6ad23
fixing issues with dependencies and startup
ruecarlo Jun 30, 2019
eeef3c6
missing assets and fixed content for pip3
ruecarlo Jun 30, 2019
0affae4
changed dependency in worker to yfinance
ruecarlo Jun 30, 2019
d6505b1
changing image and dependencies in the docker build
ruecarlo Jun 30, 2019
108f0bd
adding a dependency to cloud9 so that the lab commands can be execute…
ruecarlo Jun 30, 2019
b0ad5aa
changes to the template
ruecarlo Jun 30, 2019
c36ea8b
adding to the output the cloud9 section
ruecarlo Jun 30, 2019
0a79fb2
Fixed up to lab2, starting with Lab3
ruecarlo Jun 30, 2019
47c5eda
Lab3 working, only Lab4 left to fix
ruecarlo Jun 30, 2019
45430fc
Moving the Dockerfile to the place where it can be built from
ruecarlo Jun 30, 2019
6d78382
Updated the lab. Only part missing is testing the new Dockerhub entry
ruecarlo Jun 30, 2019
09e98f1
typo bugfix
ruecarlo Jun 30, 2019
7d15395
Adding credits to the ones who deserve it :)
ruecarlo Jul 5, 2019
92ebb17
Merge remote-tracking branch 'upstream/master'
ruecarlo Jul 5, 2019
f75fef5
changes to the cloudformation template to try and modify Lab4 to buil…
ruecarlo Jul 5, 2019
abcf8a2
changes to improve support to stac name changes, just in case
ruecarlo Jul 5, 2019
68b7456
updated content on batch lab and docker file
ruecarlo Jul 6, 2019
ad58238
Adding role to Cloud9 environment
ruecarlo Jul 6, 2019
1a0cf7c
changing role name for ARN
ruecarlo Jul 6, 2019
91f213b
changing role name for ARN
ruecarlo Jul 6, 2019
14c21c6
changing role name for ARN
ruecarlo Jul 6, 2019
a0e90e8
refactoring and fixes on the queue processor, just a few bugfixes on …
ruecarlo Jul 6, 2019
7ea6c8e
tested
ruecarlo Jul 6, 2019
dd148be
Lab completed and ready a final test before pr/merge
ruecarlo Jul 6, 2019
2bc86fa
adding new images used in Lab4 section
ruecarlo Jul 6, 2019
6798ab1
last few details and shuffling before pr
ruecarlo Jul 6, 2019
1005260
all references to ruecarlo personal repo removed
ruecarlo Jul 6, 2019
aa63aaf
FIXME comment to remove node_modules from github
ruecarlo Jul 6, 2019
f43363b
Audit fix, Removed node_modules, will be built as part of the initial…
ruecarlo Jul 6, 2019
71b1465
updated npm modules for security reasons
ruecarlo Jul 6, 2019
86ea5e2
changed order of labs, monte-carlo at the bottom
ruecarlo Jul 6, 2019
c33a85b
merge after sync with master repo
ruecarlo Jul 6, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
/public/
resources/
node_modules/
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "EC2 Auto Scaling with multiple instance types and purchase options"
date: 2019-01-26T00:00:00Z
weight: 80
weight: 90
pre: "<b>⁃ </b>"
---

Expand Down
2 changes: 1 addition & 1 deletion content/monte-carlo-on-ec2-spot-fleet/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Run Monte Carlo Simulations on EC2 Spot Fleet"
date: 2019-01-24T09:05:54Z
weight: 70
weight: 80
pre: "<b>⁃ </b>"
---

Expand Down
2 changes: 1 addition & 1 deletion content/monte-carlo-on-ec2-spot-fleet/lab4.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Please make sure you are using the Cloud9 environment created by the workshop Cl
1. On the terminal run the following commands. This will download the repository of code we will
use to build our image.
```
git clone https://github.com/ruecarlo/ec2-spot-workshops.git
git clone https://github.com/awslabs/ec2-spot-workshops.git
cd ec2-spot-workshops/workshops/monte-carlo-on-ec2-spot-fleet
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,11 @@ Resources:
ALLOCATION_ID=${workstationElasticIp.AllocationId}
aws ec2 associate-address --instance-id $INSTANCE_ID --allocation-id $ALLOCATION_ID

#Download node_modules
cd $WORKSHOPDIR/web
npm install

#Start Web and Jupyter
# FIXME: Perhaps for consideration, instead of committing node_modules to github
# this could run npm install before running the "node" process. The trade-off
# is taht sometimes there might be glitches during labs when things may fail.
cd $WORKSHOPDIR
node web/bin/www > stdout.txt 2>&1 &
jupyter notebook --allow-root --no-browser --ip 0.0.0.0 --port ${JupyterPort} &
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading