How to start EMR using SPOT Block using boto?

How to start EMR using point block (AWS) using boto? I am trying to start it using boto, but I cannot find any --block-duration-minutes parameter in boto, I cannot find how to do this using boto3.

+4
source share
2 answers

EMR does not currently support EC2 Spot. I also checked with the EMR team. Currently works only with EC2 Service. https://aws.amazon.com/blogs/aws/new-ec2-spot-blocks-for-defined-duration-workloads/

+2
source

According to the boto3 documentation yes, it supports spot blocks.

BlockDurationMinutes ( ) - Spot ( Spot) . , Spot , Spot. : 60, 120, 180, 240, 300 360. , Spot . Amazon EC2 Spot Spot, .

LaunchSpecifications, BlockDurationMinutes. , 360 (6 ) .

0

All Articles