2016-08-31 20:44:38 +03:00
|
|
|
[![Build Status](https://travis-ci.org/Azure/batch-shipyard.svg?branch=master)](https://travis-ci.org/Azure/batch-shipyard)
|
2017-08-10 18:48:24 +03:00
|
|
|
[![Build status](https://ci.appveyor.com/api/projects/status/3a0j0gww57o6nkpw/branch/master?svg=true)](https://ci.appveyor.com/project/alfpark/batch-shipyard)
|
2016-08-31 20:44:38 +03:00
|
|
|
[![Docker Pulls](https://img.shields.io/docker/pulls/alfpark/batch-shipyard.svg)](https://hub.docker.com/r/alfpark/batch-shipyard)
|
2017-10-03 23:40:47 +03:00
|
|
|
[![Image Layers](https://images.microbadger.com/badges/image/alfpark/batch-shipyard:latest-cli.svg)](http://microbadger.com/images/alfpark/batch-shipyard)
|
2016-08-31 20:44:38 +03:00
|
|
|
|
2016-09-01 07:43:03 +03:00
|
|
|
# Batch Shipyard
|
2016-09-01 06:57:10 +03:00
|
|
|
[Batch Shipyard](https://github.com/Azure/batch-shipyard) is a tool to help
|
2017-10-24 04:34:19 +03:00
|
|
|
provision and execute container-based batch processing and HPC workloads on
|
2016-09-01 06:57:10 +03:00
|
|
|
[Azure Batch](https://azure.microsoft.com/en-us/services/batch/) compute
|
2017-10-24 04:34:19 +03:00
|
|
|
pools. Batch Shipyard supports both [Docker](https://www.docker.com) and
|
|
|
|
[Singularity](http://singularity.lbl.gov/) containers! No experience with the
|
2016-09-01 07:43:03 +03:00
|
|
|
[Azure Batch SDK](https://github.com/Azure/azure-batch-samples) is needed; run
|
2018-02-18 01:02:07 +03:00
|
|
|
your containers with easy-to-understand configuration files. All Azure
|
|
|
|
regions are supported, including non-public Azure regions.
|
2016-08-31 19:38:33 +03:00
|
|
|
|
2017-03-22 19:53:30 +03:00
|
|
|
Additionally, Batch Shipyard provides the ability to provision and manage
|
2017-10-03 20:39:38 +03:00
|
|
|
entire [standalone remote file systems (storage clusters)](http://batch-shipyard.readthedocs.io/en/latest/65-batch-shipyard-remote-fs/)
|
2017-03-22 19:53:30 +03:00
|
|
|
in Azure, independent of any integrated Azure Batch functionality.
|
|
|
|
|
2017-07-21 20:56:49 +03:00
|
|
|
Batch Shipyard is now integrated directly into
|
|
|
|
[Azure Cloud Shell](https://docs.microsoft.com/en-us/azure/cloud-shell/overview)
|
|
|
|
and you can execute any Batch Shipyard workload using your web browser or
|
2018-01-22 19:41:15 +03:00
|
|
|
the Microsoft Azure [Android](https://play.google.com/store/apps/details?id=com.microsoft.azure&hl=en)
|
2017-07-21 20:56:49 +03:00
|
|
|
and [iOS](https://itunes.apple.com/us/app/microsoft-azure/id1219013620?mt=8)
|
|
|
|
app.
|
|
|
|
|
2016-09-01 07:43:03 +03:00
|
|
|
## Major Features
|
2017-10-24 04:34:19 +03:00
|
|
|
* Automated [Docker Host Engine](https://www.docker.com) and
|
|
|
|
[Singularity](http://singularity.lbl.gov/) installations tuned for
|
|
|
|
Azure Batch compute nodes
|
|
|
|
* Automated deployment of required Docker and/or Singularity images to
|
|
|
|
compute nodes
|
|
|
|
* Accelerated Docker and Singularity image deployment at scale to compute
|
|
|
|
pools consisting of a large number of VMs via private peer-to-peer
|
|
|
|
distribution of container images among the compute nodes
|
|
|
|
* Mixed mode support for Docker and Singularity: run your Docker and
|
|
|
|
Singularity containers within the same job, side-by-side or even concurrently
|
2016-10-17 00:42:25 +03:00
|
|
|
* Comprehensive data movement support: move data easily between locally
|
2017-03-12 22:55:13 +03:00
|
|
|
accessible storage systems, remote filesystems, Azure Blob or File Storage,
|
|
|
|
and compute nodes
|
2017-09-30 00:59:15 +03:00
|
|
|
* Support for Docker Registries including
|
|
|
|
[Azure Container Registry](https://azure.microsoft.com/en-us/services/container-registry/)
|
|
|
|
and other Internet-accessible public and private registries
|
2017-10-24 04:34:19 +03:00
|
|
|
* Support for the [Singularity Hub](https://singularity-hub.org/) Container
|
|
|
|
Registry
|
2017-10-03 20:39:38 +03:00
|
|
|
* [Standalone Remote Filesystem Provisioning](http://batch-shipyard.readthedocs.io/en/latest/65-batch-shipyard-remote-fs/)
|
2018-01-24 01:23:39 +03:00
|
|
|
with integration to auto-link these filesystems to compute nodes with
|
|
|
|
support for
|
2017-10-03 20:39:38 +03:00
|
|
|
* [NFS](https://en.wikipedia.org/wiki/Network_File_System)
|
|
|
|
* [GlusterFS](https://www.gluster.org/) distributed network file system
|
2016-11-19 19:54:52 +03:00
|
|
|
* Automatic shared data volume support
|
2017-10-03 20:39:38 +03:00
|
|
|
* Remote Filesystems as provisioned by Batch Shipyard
|
2018-01-24 01:23:39 +03:00
|
|
|
* [Azure File](https://azure.microsoft.com/en-us/services/storage/files/)
|
|
|
|
via SMB
|
|
|
|
* [Azure Blob](https://azure.microsoft.com/en-us/services/storage/blobs/)
|
|
|
|
via [blobfuse](https://github.com/Azure/azure-storage-fuse)
|
|
|
|
* [GlusterFS](https://www.gluster.org/) provisioned directly on compute
|
|
|
|
nodes
|
2018-02-18 01:02:07 +03:00
|
|
|
* Custom Linux mount support (fstab)
|
2016-08-31 20:44:38 +03:00
|
|
|
* Seamless integration with Azure Batch job, task and file concepts along with
|
2016-09-01 07:43:03 +03:00
|
|
|
full pass-through of the
|
|
|
|
[Azure Batch API](https://azure.microsoft.com/en-us/documentation/articles/batch-api-basics/)
|
|
|
|
to containers executed on compute nodes
|
2017-05-13 00:40:06 +03:00
|
|
|
* Support for [Low Priority Compute Nodes](https://docs.microsoft.com/en-us/azure/batch/batch-low-pri-vms)
|
2018-01-24 01:23:39 +03:00
|
|
|
* Support for [pool autoscale](http://batch-shipyard.readthedocs.io/en/latest/30-batch-shipyard-autoscale/)
|
|
|
|
and autopool to dynamically scale and control computing resources on-demand
|
2018-02-18 05:23:02 +03:00
|
|
|
* Support for [Task Factories and merge tasks](http://batch-shipyard.readthedocs.io/en/latest/35-batch-shipyard-task-factory-merge-task/)
|
2017-08-04 20:19:04 +03:00
|
|
|
with the ability to generate tasks based on parametric (parameter) sweeps,
|
2017-08-07 20:06:19 +03:00
|
|
|
randomized input, file enumeration, replication, and custom Python code-based
|
|
|
|
generators
|
2017-09-30 00:59:15 +03:00
|
|
|
* Support for deploying Batch compute nodes into a specified
|
2017-10-03 20:39:38 +03:00
|
|
|
[Virtual Network](http://batch-shipyard.readthedocs.io/en/latest/64-batch-shipyard-byovnet/)
|
2017-10-24 04:34:19 +03:00
|
|
|
* Transparent support for GPU-accelerated container applications on both
|
|
|
|
[Docker](https://github.com/NVIDIA/nvidia-docker) and Singularity
|
2017-08-29 18:04:30 +03:00
|
|
|
on [Azure N-Series VM instances](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/sizes-gpu)
|
2017-10-24 04:34:19 +03:00
|
|
|
* Support for multi-instance tasks to accommodate MPI and multi-node cluster
|
|
|
|
applications packaged in Docker or Singularity on compute pools with
|
|
|
|
automatic job completion and task termination
|
|
|
|
* Transparent assist for running Docker and Singularity containers utilizing
|
|
|
|
Infiniband/RDMA for MPI on HPC low-latency Azure VM instances:
|
2017-10-03 20:39:38 +03:00
|
|
|
* [A-Series](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/sizes-hpc): STANDARD\_A8, STANDARD\_A9
|
|
|
|
* [H-Series](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/sizes-hpc): STANDARD\_H16R, STANDARD\_H16MR
|
2018-01-26 00:37:29 +03:00
|
|
|
* [N-Series](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/sizes-gpu): STANDARD\_NC24R, STANDARD\_NC24RS\_V2, STANDARD\_ND24RS
|
2017-09-30 00:59:15 +03:00
|
|
|
* Support for [Azure Batch task dependencies](https://azure.microsoft.com/en-us/documentation/articles/batch-task-dependencies/)
|
2018-01-24 22:30:34 +03:00
|
|
|
allowing complex processing pipelines and DAGs
|
|
|
|
* Support for merge or final task specification that automatically depends
|
|
|
|
on all other tasks within the job
|
2017-08-08 18:24:15 +03:00
|
|
|
* Support for job schedules and recurrences for automatic execution of
|
|
|
|
tasks at set intervals
|
2017-08-09 18:57:33 +03:00
|
|
|
* Support for live job and job schedule migration between pools
|
2018-02-18 04:45:50 +03:00
|
|
|
* Automatic setup of SSH or RDP users to all nodes in the compute pool and
|
|
|
|
optional creation of SSH tunneling scripts to Docker Hosts on compute nodes
|
2017-01-10 22:21:11 +03:00
|
|
|
* Support for credential management through
|
|
|
|
[Azure KeyVault](https://azure.microsoft.com/en-us/services/key-vault/)
|
2017-03-29 18:56:19 +03:00
|
|
|
* Support for execution on an
|
2017-10-03 20:39:38 +03:00
|
|
|
[Azure Function App environment](http://batch-shipyard.readthedocs.io/en/latest/60-batch-shipyard-site-extension/)
|
|
|
|
* Support for [custom host images](http://batch-shipyard.readthedocs.io/en/latest/63-batch-shipyard-custom-images/)
|
2017-11-05 22:48:08 +03:00
|
|
|
* Support for [Windows Containers](https://docs.microsoft.com/en-us/virtualization/windowscontainers/about/)
|
|
|
|
on compliant Windows compute node pools
|
2016-08-31 20:44:38 +03:00
|
|
|
|
2016-09-01 07:43:03 +03:00
|
|
|
## Installation
|
2017-07-21 20:56:49 +03:00
|
|
|
### Azure Cloud Shell
|
|
|
|
Batch Shipyard is now integrated into Azure Cloud Shell with no installation
|
|
|
|
required. Simply request a Cloud Shell session and type `shipyard` to invoke
|
|
|
|
the CLI.
|
|
|
|
|
2018-01-27 01:53:21 +03:00
|
|
|
Try Batch Shipyard now from your browser:
|
|
|
|
[![Launch Cloud Shell](https://shell.azure.com/images/launchcloudshell.png "Launch Cloud Shell")](https://shell.azure.com)
|
|
|
|
|
2017-07-21 20:56:49 +03:00
|
|
|
### Local Installation
|
2017-10-03 20:39:38 +03:00
|
|
|
Please see [the installation guide](http://batch-shipyard.readthedocs.io/en/latest/01-batch-shipyard-installation/)
|
2016-11-02 19:02:34 +03:00
|
|
|
for more information regarding installation and requirements.
|
2016-08-31 21:09:08 +03:00
|
|
|
|
2017-10-03 18:03:47 +03:00
|
|
|
## Documentation and Recipes
|
2016-11-18 09:07:30 +03:00
|
|
|
Please refer to the
|
2017-10-04 23:31:21 +03:00
|
|
|
[Batch Shipyard Documentation on Read the Docs](http://batch-shipyard.readthedocs.io/).
|
2016-08-31 21:09:08 +03:00
|
|
|
|
2017-10-03 18:03:47 +03:00
|
|
|
Visit the
|
2016-11-18 09:07:30 +03:00
|
|
|
[Batch Shipyard Recipes](https://github.com/Azure/batch-shipyard/blob/master/recipes)
|
2017-12-09 03:28:25 +03:00
|
|
|
section for various sample container workloads using Azure Batch and Batch
|
2017-10-03 18:03:47 +03:00
|
|
|
Shipyard.
|
2016-08-31 20:44:38 +03:00
|
|
|
|
2016-09-01 07:43:03 +03:00
|
|
|
## Batch Shipyard Compute Node OS Support
|
2017-11-05 22:48:08 +03:00
|
|
|
Batch Shipyard is currently compatible with most Azure Batch supported
|
|
|
|
Marketplace Linux VMs,
|
|
|
|
[compliant Linux custom images](http://batch-shipyard.readthedocs.io/en/latest/63-batch-shipyard-custom-images/),
|
|
|
|
and native Azure Batch
|
|
|
|
[Windows Server with Containers](https://azuremarketplace.microsoft.com/en-us/marketplace/apps/Microsoft.WindowsServer?tab=Overview)
|
|
|
|
VMs.
|
2016-08-31 19:38:33 +03:00
|
|
|
|
2016-12-09 22:32:05 +03:00
|
|
|
## Change Log
|
2017-10-03 20:39:38 +03:00
|
|
|
Please see the
|
|
|
|
[Change Log](http://batch-shipyard.readthedocs.io/en/latest/CHANGELOG/)
|
|
|
|
for project history.
|
2016-07-18 18:15:56 +03:00
|
|
|
|
|
|
|
* * *
|
2017-08-29 18:04:30 +03:00
|
|
|
Please see this project's [Code of Conduct](CODE_OF_CONDUCT.md) and
|
|
|
|
[Contributing](CONTRIBUTING.md) guidelines.
|