Findios
Findios

Reputation: 307

Mount and external hard rive on an Amazon ec2 Ubuntu server

I'm using the amazon EC2 servers for the first time, so I'm sorry if i'm not understanding something obvious.

I alredy created and connected to an EC2 instance with a ssh connection. I'm trying to use it to run some heavy c++ code but I need to use some data in my external hard drive to do it.

There's anyway that I can connect my usb external disk to my ubuntu server withou copying the files?

Thanks for the help

Upvotes: 1

Views: 5371

Answers (3)

Sagar Ghuge
Sagar Ghuge

Reputation: 241

For Windows EC2 instance it is pretty much possible using RDP. For Linux instances I think its not possible because you must have to login using SSH and there is no interactive option where you can attach external drive to Linux instances.

Upvotes: 0

Ruslan
Ruslan

Reputation: 1

You can connect USB drive to aws instance (Windows) using Digi Anywhere usb. Firstly create vpn connection to the network where anywhereusb is located. After that configure vpn on aws instance. Plug in usb device into anywhereusb and it should be visible.

Upvotes: 0

Sébastien Stormacq
Sébastien Stormacq

Reputation: 14905

It is not possible to attach a local USB drive to an Amazon EC2 instance. This is not specific to Ubuntu as some comments suggested. To use data from an application running on Amazon EC2, you must made these data available from the Cloud. The most efficient way is to store your data on AWS' infrastructure (have a look at Amazon S3 and Elastic Block Store) To initially import your data, several options are available depending on the size of your data set and the velocity of it. Internet transfer is the easiest (you can use scp to your instance). For larger volumes, you can ship your data on an external hard drive using a courier service (Amazon import / export) and large companies can rent a dedicated line between their data centers and AWS facilities (AWS Direct Connect)

Seb

Upvotes: 1

Related Questions