Skip to content
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

Pricing info for EMR #80

Open
brycahta opened this issue Mar 25, 2021 · 0 comments
Open

Pricing info for EMR #80

brycahta opened this issue Mar 25, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@brycahta
Copy link
Contributor

Issue

  • When designating --service emr , the prices reflect EC2 On-demand costs:
    • ex: m5.12xlarge returns $2.304

Expected Behavior

  • Price should reflect EC2 on-demand costs plus the EMR premium from the emr pricing table
  • From the pricing table, the EMR premium for m5.12xlarge is $0.27/hr, so the output should be $2.304+$0.27 = $2.574

Repro steps

[25/03/21 9:49:22] ➜  amazon-ec2-instance-selector git:(main) ./build/ec2-instance-selector --service emr --price-per-hour-min 0.09 -o table-wide --max-results 5 --region us-east-1 --allow-list=m5\.\*

Instance Type  VCPUs   Mem (GiB)  Hypervisor  Current Gen  Hibernation Support  CPU Arch  Network Performance  ENIs    GPUs    GPU Mem (GiB)  GPU Info  On-Demand Price/Hr
-------------  -----   ---------  ----------  -----------  -------------------  --------  -------------------  ----    ----    -------------  --------  ------------------
m5.12xlarge    48      192        nitro       true         false                x86_64    10 Gigabit           8       0       0                        $2.304
m5.16xlarge    64      256        nitro       true         false                x86_64    20 Gigabit           15      0       0                        $3.072
m5.24xlarge    96      384        nitro       true         false                x86_64    25 Gigabit           15      0       0                        $4.608
m5.2xlarge     8       32         nitro       true         true                 x86_64    Up to 10 Gigabit     4       0       0                        $0.384
m5.4xlarge     16      64         nitro       true         true                 x86_64    Up to 10 Gigabit     8       0       0                        $0.768
@bwagner5 bwagner5 added the enhancement New feature or request label Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants