Amazon Drive on Ubuntu + Plex Cloud

I currently use a VPS to host my plex server so I can manage it from everywhere.

Is there some way to automatically mount amazon drive on ubuntu since there’s no app for it?

Will it use any local disk space? Or once the app or mount is done, it’s like an external hard drive?

If I’m uploading a file to amazon drive in real time, is that a problem? Or does the file need to exist in full on the local storage device first, and then move it to amazon drive?

If you are talking about Plex Cloud then it does not use your local server at all.

Plex Cloud is the server and it is totally independent of anything local. Since that is the case it clearly can be managed from anywhere.

Any file must be fully uploaded to your Amazon Cloud drive before Plex Cloud can access it.

As far as mounting your Amazon Cloud drive on Ubuntu and using it on your local server there would have to be some sort of drive emulator in play that would make the Amazon drive look like a local drive and whichever emulator you use would determine what part or all of a file would need to be completely uploaded before it could be used. Many drive emulators, at least in the Windows environment, have a local cache that they use to hold files that are being accessed or transferred so the files can be available even before they are fully uploaded.

@drecca said:
I currently use a VPS to host my plex server so I can manage it from everywhere.

Is there some way to automatically mount amazon drive on ubuntu since there’s no app for it?

Will it use any local disk space? Or once the app or mount is done, it’s like an external hard drive?

If I’m uploading a file to amazon drive in real time, is that a problem? Or does the file need to exist in full on the local storage device first, and then move it to amazon drive?

I will try to answer your questions in order.

  1. ACD has FUSE plug-ins which can be made to work with Linux and perform FUSE-mounts. These can be found on GitHub. How you automate the mount at startup is up to you.
  2. ACD is itself a ‘network drive’ and behaves as such. When mounted as a FUSE mount, it appears just like any other non-localhost mount.
  3. The rules for uploading a file to a NAS / VPS apply to ACD as well with one exception. ACD does not show the file as ‘uploaded’ until it is completely uploaded.

To clarify an implied question. At this point, if you have storage elsewhere (a VPS or other network storage service) it will not be accessible / usable. During this stage of the beta, only your ACD account and its primary storage is available to use. This is because PMS is running in the Amazon Cloud. It simplifies testing and any problem resolution by being entirely within the “Amazon” domain.

Thanks a lot guys, really appreciate it

Right now, i upload to the vps using FTP. Pretty easy. Plex just scans the file once it’s complete and we’re good to go. It doesn’t care about the incremental upload.

On amazon cloud drive, if I used FTP (if it was possible, i suppose a networked drive would work the same way) - would the upload and plex scan fail?

I guess that’s the part I’m most confused about, if not using the app.

@drecca said:
I currently use a VPS to host my plex server so I can manage it from everywhere.

Is there some way to automatically mount amazon drive on ubuntu since there’s no app for it?

I’ve done what you’re talking about on a VPS. You’ll want to try out the “acd_cli” tool: GitHub - yadayada/acd_cli: An unmaintained command line interface and FUSE filesystem for Amazon (Cloud) Drive. With it, you can upload to/download from ACD on any platform. But to your point, it can also be used to mount you cloud drive in linux which essentially acts as a network drive and you can point Plex to folders on it. The documentation for acd_cli is here: acd_cli documentation — acd_cli 0.3.2 documentation and the specific directions for mounting your cloud drive are here: FUSE module — acd_cli 0.3.2 documentation. I’ve found that scans can be slow, but overall it works fairly well, with occasional quirks.

Will it use any local disk space? Or once the app or mount is done, it’s like an external hard drive?

It will not use any local disk space and will act as a network or external drive, but a bit slower.

If I’m uploading a file to amazon drive in real time, is that a problem? Or does the file need to exist in full on the local storage device first, and then move it to amazon drive?

It’s not a problem. While a file is being uploaded to ACD it does not appear in the file system until it is complete, so it should not cause an issue with scans.

I use acd_cli on U15.04 it works well for ul/dl and if you run sync it will allow to up/dl skip file already exist. It is not gui and is not 100% bullit proof, but at the moment its what works under linux enviroment. I also tried fuse TBH it is still got some serious issues, but at least its a work in progress.
This is what bothers me recent research indicates that Amazon’s cloud is made up of almost half-a-million servers–each of them running a variation of Red Hat Linux for their base operating system.

5 yrs ago they stated “linux gui is in the design phase” Um ok where is it?

@drecca - I am thinking about setting up VPS, do you recommend the one that you use?

@lukesdyer

I have been playing around with acd_cli and Plex on a VPS, and it does work ok, so long as you don’t rely/need transcoding and don’t have massive blu ray rips.

If you need to transcode, then you will run into the limits of processing power available on your VPS, of course it depends on the specs of your VPS.

I share some libraries with a couple of not so tech savy friends, who don’t really understand, so getting them to pick options that won’t transcode can be a bit challenging…

So I guess it all depends on what you want from your VPS and how much you want to spend.

Or you could just wait for Plex Cloud…

@lukesdyer said:
@drecca - I am thinking about setting up VPS, do you recommend the one that you use?

Intel Xeon Quad-Core E5-2609
11GB DDR4
2.8TB
unbunto 15.04/Deb
1Gbps Port
Unlimited Traffic
Plex/PlexPI
$65.00 US monthly

Streams/decodes/transcodes without issues for over a year.Have ftp mount to 2 other storage loacations about 10TB data. Will keep it untill cloud base plex is outta beta and fully functional.

Pm me if you are looking into something like this, I will get you in the right direction.