Skip to main content

Installs nf-batch-runner in your AWS account

Project description

nf-batch-runner

nf-batch-runner is a tool which makes it easier to run Nextflow pipelines in your AWS account.

This tool is not endorsed by Nextflow or AWS

Using AWS Batch, you can run pipelines in the cloud which scale up and down quickly so that you don't pay for servers to sit idle.

How it works

nf-batch-runner pulls down an AWS CloudFormation template and deploys it into your AWS account. This creates resources which are needed to run a Nextflow pipeline in AWS.

It also creates an optional web frontend so that you can starts pipelines from your web browser.

You can find out more in our README.

Usage

Create an AWS account and create credentials for an Admin user. It may be posssible to run this tool with lower priviledges but it needs to create IAM resources so it won't help a lot.

Setup your default credentials as if you were going to use the AWS cli.

This tool has been tested running from OSX and Windows machines with Python 3. Linux is probably also fine.

$ pip install nf-batch-runner
$ nf-batch-runner create my-environment
Please give us a password you will use to login to the frontend
Password:
Repeat:
Are you happy to install nf-batch-runner in account 012345678910 [y/N]: y
Does you user (ben) have administrator priviledges [y/N]: y
Do you want to deploy the web interface [Y/n]:
Fetching the latest version (v0.0.1)
Downloading the infrastructure template ✓
Waiting for the S3 bucket for the frontend (takes around a minute) ✓
...
Waiting for the users database (takes around a minute) ✓
Creating the users in the database ✓
It can take 15-20 minutes to create your envionment
  [###############---------------------]   42%  00:12:51
Visit https://d1q83rcyz9fxwf.cloudfront.net and login with the user 'admin'
You can upload your files here: https://s3.console.aws.amazon.com/s3/buckets/bt5-cli-test-filesbucket-4t1whgy2vc16/

You will be asked to create a password for the web interface and to confirm that you're happy for us to proceed.

After 15-20 minute the command will complete and it will give you a URL to log into the frontend and a URL to upload files for analysis.

More details to come

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nf-batch-runner-0.1.13.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

nf_batch_runner-0.1.13-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file nf-batch-runner-0.1.13.tar.gz.

File metadata

  • Download URL: nf-batch-runner-0.1.13.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191101 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.7

File hashes

Hashes for nf-batch-runner-0.1.13.tar.gz
Algorithm Hash digest
SHA256 4f5bbd6fdff78a6138507f2b6e7756fa2e39a16659cb2180161d8f33f9ad70a3
MD5 ec2cf7d927bf868e6cebb2d7b5a39395
BLAKE2b-256 20b9fa060e86352e3a6cc6f232ce47f6f7270b32851b2d726669a1e263d94341

See more details on using hashes here.

File details

Details for the file nf_batch_runner-0.1.13-py3-none-any.whl.

File metadata

  • Download URL: nf_batch_runner-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191101 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.7

File hashes

Hashes for nf_batch_runner-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 a375ac01f1d13932ea5385cc266d11bd5e21846fe2dc486ae4747c2b9ff9edd5
MD5 4a4b00bb91863974c25b7183402ad9b5
BLAKE2b-256 0e91aa3e071e3f0d0bd084416342079c780a11e5cce72cecac1c2444e35abd53

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page