by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 01 19:44

    briantroy on master

    Updates to add data to graph on… Updates to ftp log file followe… Upating function to parse date/… and 7 more (compare)

  • Aug 01 19:19

    briantroy on graph-on-arrival

    Updating restart script to log … (compare)

  • Aug 01 01:19

    briantroy on graph-on-arrival

    Style and comment updates (compare)

  • Aug 01 01:06

    briantroy on graph-on-arrival

    Refactoring date / time parsing… (compare)

  • Jul 31 22:06

    briantroy on graph-on-arrival

    Making time parsing work ineleg… (compare)

  • Jul 31 22:00

    briantroy on graph-on-arrival

    Making time parsing work ineleg… (compare)

  • Jul 31 21:44

    briantroy on graph-on-arrival

    Making time parsing work ineleg… (compare)

  • Jul 31 21:37

    briantroy on graph-on-arrival

    Making time parsing work ineleg… (compare)

  • Jul 31 21:20

    briantroy on graph-on-arrival

    Upating function to parse date/… (compare)

  • Jul 31 20:41

    briantroy on graph-on-arrival

    Updates to ftp log file followe… (compare)

  • Jul 31 20:21

    briantroy on graph-on-arrival

    Updates to add data to graph on… (compare)

  • Jul 31 19:37

    briantroy on graph-on-arrival

    (compare)

  • Jul 31 19:10

    briantroy on master

    Minor static code analysis clea… (compare)

  • Jul 27 23:10

    briantroy on master

    updates to code style and qualt… (compare)

  • Jul 27 19:00

    briantroy on master

    updating to allow flexibility f… (compare)

  • Jul 25 17:42

    briantroy on master

    hotfix to deal with date bounda… (compare)

  • Jul 25 00:37

    briantroy on master

    Updates to video api to allow p… Minor tweaks for CloudWatch Log… (compare)

  • Jul 25 00:33

    briantroy on master

    Added capability to fetch next/… scroll back in time bug fixes - sorted viewport jum… (compare)

  • Jul 25 00:31

    briantroy on video-pagination

    bug fixes - sorted viewport jum… (compare)

  • Jul 24 23:39

    briantroy on video-pagination

    scroll back in time (compare)

Ben Kehoe
@benkehoe
Hi! I saw your post via @danilop
The way to get direct upload to S3 from an IoT device is to leverage AWS IoT. Connecting to AWS IoT uses certificates, which your device has to have anyway, to do the authentication, rather than access key pairs. So you can publish a request for an upload URL, use a rule to pipe it into a Lambda that generates a pre-signed URL specific to that camera, and publishes it to a topic that the camera is listening to.
Then all the camera has to do is the HTTPS PUT to that URL
Ben Kehoe
@benkehoe
(I work for iRobot. Our production cloud supporting our internet-connected Roombas is fully serverless!)
Brian Roy
@briantroy
Yes... But finding.
Sorry, finding a camera that does https put is non trivial. My goal was off the shelf hardware.
I'm using presumed URLs on the REST API side for playback of the videos.
Thanks for the info!
Ben Kehoe
@benkehoe
Sure. From this "Obviously, I’d prefer the cameras sent the videos and images directly to s3 – but I’m also not sure I’d be okay with the security implications of putting an s3 keypair in the camera configuration." it sounded like it was feasible.
In general, certificates are a good option for long-lived credentials on a device. Unfortunately, you can't yet access them from within an API Gateway custom authorizer, though :-/
Brian Roy
@briantroy
Agreed
Brian Roy
@briantroy
Given what I'm doing - at least on the data capture side - I actually like the controller/gateway pattern I've implemented as opposed to having every device connect "up" independently. On the other side - applications talking to the REST API to consume the data captured - I'm using google auth and requests require a token which is validated per request. I'll get I to that part in the next post in the series.
The token validation is done via a customer authenticator.
Brian Roy
@briantroy
Test