-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
chore(stepfunctions-tasks): add a doc and an integ test for spot instance fleets in EMR #27809
Conversation
launchSpecifications: { | ||
spotSpecification: { | ||
allocationStrategy: EmrCreateCluster.SpotAllocationStrategy.CAPACITY_OPTIMIZED, | ||
timeoutAction: EmrCreateCluster.SpotTimeoutAction.TERMINATE_CLUSTER, | ||
timeoutDurationMinutes: 60, | ||
}, |
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.
blockDurationMinutes
is not specified, because it is no longer available.
Spot Instances with a defined duration (also known as Spot blocks) are no longer available to new customers from July 1, 2021. For customers who have previously used the feature, we will continue to support Spot Instances with a defined duration until December 31, 2022.
https://docs.aws.amazon.com/emr/latest/APIReference/API_SpotProvisioningSpecification.html
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.
Nice 👍
Just a small adjustment.
* This is no longer available to new customers from July 1, 2021. | ||
* For customers who have previously used the feature, we will continue to support Spot Instances | ||
* with a defined duration until December 31, 2022. | ||
* | ||
* @default - No blockDurationMinutes | ||
*/ |
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.
* This is no longer available to new customers from July 1, 2021. | |
* For customers who have previously used the feature, we will continue to support Spot Instances | |
* with a defined duration until December 31, 2022. | |
* | |
* @default - No blockDurationMinutes | |
*/ | |
* @default - No blockDurationMinutes | |
* | |
* @deprecated - Spot Instances with a defined duration (also known as Spot blocks) are no longer available to new customers from July 1, 2021. | |
* For customers who have previously used the feature, we will continue to support Spot Instances with a defined duration until December 31, 2022. | |
*/ |
Should be deprecated.
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.
Thanks for the review! I changed it:
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.
Good update!
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
This PR adds the following points for spot instance fleet in EMR.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license