ec2#

class fkat.pytorch.actions.aws.ec2.LogInstanceTags(instance_id: Optional[str] = None, tags: Optional[list[str]] = None)[source]#

This action logs tags suffixed with EC2 instance-id.

perform(**kwargs: Any) Any[source]#

Calls LightningLogger.log_tag with all string-valued keys, requires trainer to be provided

class fkat.pytorch.actions.aws.ec2.RebootInstances(instance_ids: Optional[list[str]] = None)[source]#

This action calls EC2.RebootInstances.

perform(**kwargs: Any) Any[source]#

Calls EC2.RebootInstances with the provided instance_id or the current node’s instance_id

class fkat.pytorch.actions.aws.ec2.TerminateInstances(instance_ids: Optional[list[str]] = None)[source]#

This action calls EC2.TerminateInstances.

perform(**kwargs: Any) Any[source]#

Calls EC2.TerminateInstances with the provided instance_id or the current node’s instance_id