def aws_options(opts={})
      uri=URI.parse(ec2_url)
      { :access_key_id    => access_key, 
        :secret_access_key=> secret_access_key, 
        :use_ssl          => (uri.scheme=='https'), 
        :path             => uri.path, 
        :host             => uri.host,
        :port             => uri.port
      }.merge(opts)
      
    end
def aws_options(opts={})
      uri=URI.parse(ec2_url)
      { :access_key_id    => access_key, 
        :secret_access_key=> secret_access_key, 
        :use_ssl          => (uri.scheme=='https'), 
        :path             => uri.path, 
        :host             => uri.host,
        :port             => uri.port
      }.merge(opts)
      
    end
prepare options for AWS gem