A tool for launching and running commands on a cluster of EC2 instances
Project description
ec2-cluster
Simple library and CLI to manage and work with clusters of EC2 instances. Multi-purpose, but created to make distributed deep learning infrastructure easier.
ec2-cluster
is designed for simple distributed tasks where Kubernetes is overkill or where fast cluster spin up/down is crucial. Example use cases are running distributed deep learning on an expensive cluster or running distributed load testing from many EC2 instances.
Goals
- Provide the minimal set of features to run distributed deep learning training jobs on EC2 instances.
- Provide libraries, not a framework or platform.
- Make cluster environments reproducible to allow for parallelization of experiments
- Make cluster launches fast
- Be resilient to EC2 capacity limitations
- Encourage ephemeral infrastructure design
- Focus on iterative, not disruptive, improvements on the common methodology of manually launching EC2 instances, ssh-ing to them, configuring environments by hand and running scripts
Overview
ec2-cluster
can be consumed in two ways:
- A CLI for launching, describing and deleting clusters.
- A python library for scripting.
This library has three main components:L
- infra: creating cluster infrastructure
- orch: orchestrating simple runtime cluster configuration (e.g. generate a hostfile with runtime IPs)
- control: running commands on the cluster
CLI Quick Start
Library Quick Start
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ec2_cluster-0.2.0a6.tar.gz
(19.2 kB
view hashes)
Built Distribution
Close
Hashes for ec2_cluster-0.2.0a6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a461d529716ae2c917b2c0fce3b2dcd970f195bdb7fbe6262e0eef56ee1ec00 |
|
MD5 | 6f65bf58cf3baa48a42a5814d02ddcfc |
|
BLAKE2b-256 | 13c29784d397eec05fe6b2ff04477f5d432fdf472ec353c5a452a0a208bce497 |