Ec2Machines
struct Ec2MachinesImplements Movable
- Fields
ec2: Ec2
__init__
def __init__(out self) arch
def arch(self, instance_type: String) -> String instance_type's architecture, Docker's name for it (the first it supports).
create
def create(self, name: String, instance_type: String, subnet: String, user_data: String, tags: List[Tuple[String, String]]) -> Created instances
def instances(self, tags: List[Tuple[String, String]]) -> List[Tuple[String, String, String, String, String]] The live instances with every tag of tags: (id, name, state, type, address).
delete
def delete(self, id: String) -> Bool Terminates id: True once it's gone, now or before.