Giter Club home page Giter Club logo

Comments (7)

tsibley avatar tsibley commented on June 24, 2024

I've just pushed the CLI changes to adding support for nextstrain build --aws-batch: https://github.com/nextstrain/cli/compare/aws-batch.

I would appreciate any review of the code and especially the user interaction/experience. Until I complete some of the ancillary items on the todo list above, it will only work if you have admin access to the lab's AWS account (this means @trvrb and maybe @jameshadfield for now). I will leave another comment when I've arranged wider access so more folks can test if they want, hopefully tomorrow or sometime soon this week.

Note that the remote jobs are currently using the nextstrain/base:branch-aws-batch image from the aws-branch of docker-base: https://github.com/nextstrain/docker-base/compare/aws-batch. Relevant entrypoint code is there.

from cli.

tsibley avatar tsibley commented on June 24, 2024

Folks in our lab should now be able to try this out more widely.

from cli.

tsibley avatar tsibley commented on June 24, 2024

Re: compute limits: In our current AWS Batch configuration, each job defaults to 2 vCPUs with 4GB of memory and will be terminated if it does not complete in 4 hours. These are adjustable on a per-job basis, but the cli itself does not change the defaults. (Though an authorized user could.) The Batch compute environment (i.e. managed pool of EC2 instances) is limited to no more than 256 combined vCPUs. Instances are automatically provisioned, including down to zero instances (no cost) running if there are no jobs in the queue.

We should keep an eye on Batch usage and Batch-driven costs to make sure this is functioning as we expect. Only @trvrb (or someone else with access to Billing details) can do this.

If we start submitting large jobs, we should consider increasing the default job resources.

from cli.

tsibley avatar tsibley commented on June 24, 2024

Re: cost tracking: @trvrb these may be of interest:

https://aws.amazon.com/aws-cost-management/aws-cost-explorer/
https://aws.amazon.com/aws-cost-management/aws-cost-and-usage-reporting/

from cli.

tsibley avatar tsibley commented on June 24, 2024

Documentation is now at https://github.com/nextstrain/cli/blob/aws-batch/doc/aws-batch.md.

That URL (well, the URL for master not aws-batch) is referenced from the output of nextstrain build --help-all under the AWS Batch section.

from cli.

tsibley avatar tsibley commented on June 24, 2024

I've bumped the default job resources to 8 vCPUs and (just under) 16GiB of memory, which should cost about 34ยข/hour on a c5.2xlarge. Combined with my augur PR to auto-scale alignment and tree-building parallelism, this should make larger builds run much quicker.

from cli.

tsibley avatar tsibley commented on June 24, 2024

Merged and released as 1.7.0.

from cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.