<div class="quip-canvas-content"><h1 id="temp:C:SQc5013332741a44af395b3fc41e">How to update files from gdrive to s3</h1><p id="temp:C:SQcd56872b81f0c47f0ba2e58479" class="prettyprint line"># Upload data to S3 for RNAFUSION<br><br>- Create an EC2 instance with enough space<br>- With proper IAM role that has access to the megatests bucket<br>- Allow connect with a key pair<br>- Connect to the instance<br>    ```bash<br>    ssh -i "~/path/to/key.pem" ec2-user@instance-ip<br>    ```<br>- Install python3-pip<br>    ```bash<br>    sudo yum install python3-pip -y<br>    ```<br>- Install gdown<br>    ```bash<br>    pip install gdown<br>    ```<br>- Download the data<br>    ```bash<br>    gdown https://drive.google.com/uc?id=XXXXXXXX<br>    ```<br>- Extract the data<br>    ```bash<br>    tar -xzvf *.tar.gz<br>    ```<br>- Remove the archive<br>    ```bash<br>    rm *.tar.gz<br>    ```<br>- Upload the data to S3<br>    ```bash<br>    aws s3 sync . s3://nf-core-awsmegatests/rnafusion/references/<br>    ```<br>- Terminate the instance</p></div>