aws-container-launcher

AWS Container Launcher makes it easy to programmatically run a Docker container in AWS using the Python package for Batch processing, ML jobs, or fast Web server running.


Install
pip install aws-container-launcher==2.8.3

Documentation

Prerequisites

  • Python 3.7
  • AWS Credentials

AWS Container Launcher (aws-container-launcher)

AWS Container Launcher makes it easy to programmatically run a Docker container in AWS using the Python package for Batch processing, ML jobs, or fast Web server running.

WARNING: After processing a job, you are in charge of destroying the infrastructure. Do not forget to call the "destroy" method; otherwise, the instance will continue to operate and you will be charged by Amazon.

Instance type determination

You can specify the instance type explicitly or set the CPU and memory, and the package will automatically select the optimal instance type for you.

Usage

To better understand, familiarize yourself with the available methods and the start_container method in particular.

Client

Methods

Storage

Spot instance

Scaling options