-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EMR Capacity Optimized and Instance Selector CLI (#130)
* Removed i3s, added AWS Instance Selector, Cloud9 * capacity-optimized and 15 instance types * Updated to reflect latest cosole changes * Cloud9 Console Link * Cloud9 Images * Removed SIA Image * Cloud9 * Cloud9 * Savings Summary - 32 Task Spot Unit * Removed Warning on old Spot limits * Updated to 32 instances to support 4xl * Cloud9 * PR Review * PR Review * Spell Check * Format Fix * Format Changes * Format Changes * Format Changes * Format Changes, replacing "\" with " " Co-authored-by: Jagdeep <[email protected]>
- Loading branch information
Showing
28 changed files
with
222 additions
and
128 deletions.
There are no files selected for viewing
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
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
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
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
28 changes: 28 additions & 0 deletions
28
content/running_spark_apps_with_emr_on_spot_instances/cloud9-awscli.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
title: "Update to the latest AWS CLI" | ||
chapter: false | ||
weight: 20 | ||
comment: default install now includes aws-cli/1.15.83 | ||
--- | ||
|
||
{{% notice tip %}} | ||
For this workshop, please ignore warnings about the version of pip being used. | ||
{{% /notice %}} | ||
|
||
1. Run the following command to view the current version of aws-cli: | ||
``` | ||
aws --version | ||
``` | ||
|
||
1. Update to the latest version: | ||
``` | ||
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" | ||
unzip awscliv2.zip | ||
sudo ./aws/install | ||
. ~/.bash_profile | ||
``` | ||
|
||
1. Confirm you have a newer version: | ||
``` | ||
aws --version | ||
``` |
35 changes: 35 additions & 0 deletions
35
content/running_spark_apps_with_emr_on_spot_instances/cloud9-workspace.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
title: "Create a Workspace" | ||
chapter: false | ||
weight: 15 | ||
--- | ||
|
||
{{% notice warning %}} | ||
If you are running the workshop on your own, the Cloud9 workspace should be built by an IAM user with Administrator privileges, not the root account user. Please ensure you are logged in as an IAM user, not the root | ||
account user. | ||
{{% /notice %}} | ||
|
||
{{% notice info %}} | ||
If you are at an AWS hosted event, follow the instructions on the region that should be used to launch resources | ||
{{% /notice %}} | ||
|
||
{{% notice tip %}} | ||
Ad blockers, javascript disablers, and tracking blockers should be disabled for | ||
the cloud9 domain, or connecting to the workspace might be impacted. | ||
Cloud9 requires third-party-cookies. You can whitelist the [specific domains]( https://docs.aws.amazon.com/cloud9/latest/user-guide/troubleshooting.html#troubleshooting-env-loading). | ||
{{% /notice %}} | ||
|
||
### Launch Cloud9: | ||
|
||
- Go to [Cloud9 Console](https://console.aws.amazon.com/cloud9/home) | ||
- Select **Create environment** | ||
- Name it **emrworkshop**, and take all other defaults | ||
- When it comes up, customize the environment by closing the **welcome tab** | ||
and **lower work area**, and opening a new **terminal** tab in the main work area: | ||
![c9before](/images/running-emr-spark-apps-on-spot/c9before.png) | ||
|
||
- Your workspace should now look like this: | ||
![c9after](/images/running-emr-spark-apps-on-spot/c9after.png) | ||
|
||
- If you like this theme, you can choose it yourself by selecting **View / Themes / Solarized / Solarized Dark** | ||
in the Cloud9 workspace menu. |
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
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
Oops, something went wrong.