title: Can we import SQL from S3 bucket to AWS ec2 (instance)?
body: <p>I'm trying to import a SQL file from S3 bucket to EC2 instance. </p>
  
  <p>The SQL file is publicly accessible and with the help of mysql client installed in the instance I'm executing the following command.</p>
  
  <pre><code>mysql&gt; source https://s3-ap-southeast-1.amazonaws.com/{sql-file}
  </code></pre>
  
  <p>When I do I'm getting the following error.</p>
  
  <pre><code>ERROR:
  Failed to open file 'https://s3-ap-southeast-1.amazonaws.com/{sql-file}', error: 2
  </code></pre>
  
  <p>I'm not an expert, but is it possible what I'm trying?</p>