-
Notifications
You must be signed in to change notification settings - Fork 151
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
EMR Capacity Optimized and Instance Selector CLI #130
Conversation
…into EMR-AllocationStrategies
EMR Allocation Strategies with Instance Selector
content/running_spark_apps_with_emr_on_spot_instances/cloud9-workspace.md
Show resolved
Hide resolved
content/running_spark_apps_with_emr_on_spot_instances/emr_allocation_strategies.md
Outdated
Show resolved
Hide resolved
content/running_spark_apps_with_emr_on_spot_instances/emr_allocation_strategies.md
Outdated
Show resolved
Hide resolved
content/running_spark_apps_with_emr_on_spot_instances/emr_allocation_strategies.md
Outdated
Show resolved
Hide resolved
content/running_spark_apps_with_emr_on_spot_instances/emr_allocation_strategies.md
Outdated
Show resolved
Hide resolved
content/running_spark_apps_with_emr_on_spot_instances/emr_allocation_strategies.md
Outdated
Show resolved
Hide resolved
content/running_spark_apps_with_emr_on_spot_instances/selecting_instance_types.md
Show resolved
Hide resolved
content/running_spark_apps_with_emr_on_spot_instances/selecting_instance_types.md
Outdated
Show resolved
Hide resolved
content/running_spark_apps_with_emr_on_spot_instances/selecting_instance_types.md
Outdated
Show resolved
Hide resolved
content/running_spark_apps_with_emr_on_spot_instances/selecting_instance_types.md
Outdated
Show resolved
Hide resolved
EMR Allocation Strategies
While a cluster is running, if Amazon EC2 reclaims a Spot Instance or if an instance fails, Amazon EMR tries to replace the instance with any of the instance types that you specify in your fleet. This makes it easier to regain capacity in case some of the instances get interrupted by EC2 when it needs the Spot capacity back.\ | ||
These options do not exist within the default EMR configuration option "Uniform Instance Groups", hence we will be using EMR Instance Fleets only. | ||
|
||
As an enhancement to the default EMR instance fleets cluster configuration, the allocation strategy feature is available in EMR version **5.12.1 and later**. With allocation strategy -/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Instances which have vCPU to Memory ratio of 1:8, same as R Instance family\ | ||
* Instances with CPU Architecture x86_64 and no GPU Instances\ | ||
* Instances that belong to current generation\ | ||
* Instances types that are not supported by EMR such as R5N, R5ad and R5b. Enhanced z, I and D Instance families, which are priced higher than R family. So basically, adding a deny list with the regular expression `.*n.*|.*ad.*|.*b.*|^[zid].*`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, the bullet list doesn't come as well formatted. Please read the section regarding list with bullet points : https://guides.github.com/features/mastering-markdown/ and amend accordingly. \
are causing issues with the carriage returns in some cases
In this case this section should be changed to :
For the purpose of this workshop we will select instances based on below criteria
* Instances that have minimum 4 vCPUs and maximum 16 vCPUs
* Instances which have vCPU to Memory ratio of 1:8, same as R Instance family
* Instances with CPU Architecture x86_64 and no GPU Instances
* Instances that belong to current generation
* Instances types that are not supported by EMR such as R5N, R5ad and R5b. Enhanced z, I and D Instance families, which are priced higher than R family. So basically, adding a deny list with the regular expression `.*n.*|.*ad.*|.*b.*|^[zid].*`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome change... So much easier to read ! all well formatted :)
Issue #, if available:
resolves #87
resolves #98
resolves #86
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.