Method: Instance::EC2#start

Defined in:
lib/maws/instance/ec2.rb

#startObject



103
104
105
106
107
108
109
# File 'lib/maws/instance/ec2.rb', line 103

def start
  return unless alive?
  if status == 'stopped'
    connection.ec2.start_instances(aws_id)
    info "starting EC2 #{name} (#{aws_id})"
  end
end