toil.utils.toilUpdateEC2Instances

Updates Toil’s internal list of EC2 instance types.

Attributes

logger

Functions

updateStaticEC2Instances()

Generates a new python file of fetchable EC2 Instances by region with current prices and specs.

internet_connection()

Returns True if there is an internet connection present, and False otherwise.

main()

Module Contents

toil.utils.toilUpdateEC2Instances.updateStaticEC2Instances()[source]

Generates a new python file of fetchable EC2 Instances by region with current prices and specs.

Takes a few (~3+) minutes to run (you’ll need decent internet).

Returns:

Nothing. Writes a new ‘generatedEC2Lists.py’ file.

Return type:

None

toil.utils.toilUpdateEC2Instances.logger
toil.utils.toilUpdateEC2Instances.internet_connection()[source]

Returns True if there is an internet connection present, and False otherwise.

Return type:

bool

toil.utils.toilUpdateEC2Instances.main()[source]
Return type:

None