Question on status of Amazon S3 support

Forum for questions and support relating to the 1.31.x releases only.
Locked
sypheXsquare
Posts: 10
Joined: Sat Sep 23, 2017 5:05 am

Question on status of Amazon S3 support

Post by sypheXsquare »

I apologize in advance if this is the wrong place to post, but I wanted to inquire about the current status of ZoneMinder and Amazon S3. I guess this would be a simple non-issue if you can dump a data directory to the cloud, but would probably be useful to someone technically inclined.
User avatar
iconnor
Posts: 3197
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Question on status of Amazon S3 support

Post by iconnor »

I use it via s3fs. The lag is a problem.

So what I do is record locally and use a background filter to copy events to s3 storage.
kevrm
Posts: 5
Joined: Sun Dec 17, 2017 3:26 pm

Re: Question on status of Amazon S3 support

Post by kevrm »

Funny you mention this - I found a node.js based solution which was more work to get it working than to build one.. so I just built this:

https://github.com/CampsiteHelper/ZoneMinderS3

It uploads alarm image frames to s3 in short order. Allows me to do local full recording (MORECORD) and send relevant frame up for safekeeping.
Zmjm15
Posts: 90
Joined: Fri Jul 31, 2015 7:56 pm

Re: Question on status of Amazon S3 support

Post by Zmjm15 »

https://github.com/CampsiteHelper/ZoneMinderS3/

This looks pretty good,

Is it easy to get working?

Does it allow upload of all footage or just alarmed images? is there a way to choose a different email address for different cameras?

Many thanks
kevrm
Posts: 5
Joined: Sun Dec 17, 2017 3:26 pm

Re: Question on status of Amazon S3 support

Post by kevrm »

Zmjm15,

Its pretty easy to get working assuming you know how to setup an S3 bucket and permissions on AWS.

It only uploads alarm'd images.

I strongly doubt most most folks have upstream bandwidth to support uploading all images so I didn't build that in.
kevrm
Posts: 5
Joined: Sun Dec 17, 2017 3:26 pm

Re: Question on status of Amazon S3 support

Post by kevrm »

Been testing and improving, its working pretty well now


Image
Zmjm15
Posts: 90
Joined: Fri Jul 31, 2015 7:56 pm

Re: Question on status of Amazon S3 support

Post by Zmjm15 »

Thanks Kevrm,

I want to set up a Raspberry pi with the camera module on it to put into my car, and then be able to upload alarmed images via 3g/4g, do you know if that is do-able?
Locked