This implementation of elasticluster.providers.AbstractCloudProvider uses the boto ec2 interface to connect to ec2 compliant clouds and manage instances.
Please check https://github.com/boto/boto for further information about the supported cloud platforms.
Parameters: |
|
---|
Retrieves the private and public ip addresses for a given instance.
Returns: | tuple (ip_private, ip_public) |
---|
Checks if the instance is up and running.
Parameters: | instance_id (str) – instance identifier |
---|---|
Returns: | bool - True if running, False otherwise |
Starts a new instance on the cloud using the given properties. The following tasks are done to start an instance:
Parameters: |
|
---|---|
Returns: | str - instance id of the started instance |