I would like to know how is the pricing calculated? I've requested mem2_ssd1_v2_x32 and I can see that the spot/hr has a cost of 0.2112 GBP. However my job has been running for 21hr and I'm getting charged 19 GPB so far. The math does not make sense

Permanently deleted user
it is 21 * 0.2112 = 4.4352? So how come it's charging me 19 GBP?

Comments

4 comments

  • Comment author
    Permanently deleted user

    On a following note, How to differentiate i the swiss-army-knife to on demand vs spot machines? I think I'm being charged for on demand ...how does this get determined?

    0
  • Comment author
    Chai Fungtammasan DNAnexus Team

    Could you contact ukbiobank-support@dnanexus.com to get help regarding the billing issue? We do not have access to your project, so we don't have a full picture here.

    The spot vs on-demand depends on the spotmarket from AWS and the priority that you choose when you run the job.

    https://dnanexus.gitbook.io/uk-biobank-rap/working-on-the-research-analysis-platform/managing-job-priority

     

     

    0
  • Comment author
    Ondrej Klempir DNAnexus Team

    According to the rate card, it really seems you were running the Swiss Army Knife on-demand. I usually set up the priority of my jobs in GUI of the app. For SAK, it would be:

     

    Screenshot 2023-02-15 at 14.49.43Screenshot 2023-02-15 at 14.55.40So theoretically here, it could happen that you run Default - which is Normal, i.e. prefer Spot, but if Spot instance is not available at that moment, select High - on-demand.

    0
  • Comment author
    Permanently deleted user

    Thank you!

    0

Please sign in to leave a comment.