Created
June 17, 2016 18:27
-
-
Save ankurdave/6dd66c7807c9fb14a10ddd577f66999b to your computer and use it in GitHub Desktop.
RISE systems seminar: Juju demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install juju | |
juju generate-config | |
export AWS_ACCESS_KEY_ID=... | |
export AWS_SECRET_ACCESS_KEY=... | |
juju bootstrap | |
juju status | |
juju deploy juju-gui --to 0 | |
juju expose juju-gui | |
# Wait until `juju status` shows it has started | |
# Open https://<machine ip> (https://54.90.35.81) | |
# Search for Spark | |
# "Add to canvas" | |
# Go to machine view; drag and drop Apache Spark onto existing machine | |
# "Commit changes" | |
# "Deploy" | |
# Expose the Apache Spark service | |
juju deploy apache-spark --to 0 | |
juju expose apache-spark | |
juju ssh apache-spark/0 spark-shell | |
juju deploy apache-zeppelin | |
juju add-relation apache-zeppelin apache-spark | |
juju expose apache-zeppelin | |
juju ssh apache-spark/0 -L 9090:localhost:9090 | |
# Open http://localhost:9090 | |
juju destroy-environment amazon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment