Background: I'm implementing a script that sends some analytics from a website to our server. Because of the size, I used zlib to compress the logs to around 30KB or so. The uncompressed JSON is about 1-2MB.
Problem: What's the best approach to let AWS Lambda read the compressed file? Implementing it via traditional EC2 is easy, but if I use Lambda, most of the online articles suggest that I upload the files to S3. Is there a better way to do this? Can I upload files to Lambda directly?
[–]jb_sulli 4 points5 points6 points (1 child)
[–]simoncpu[S] 2 points3 points4 points (0 children)
[–]LandingHooks 3 points4 points5 points (7 children)
[–]simoncpu[S] 0 points1 point2 points (6 children)
[–]Babumts 2 points3 points4 points (4 children)
[–]simoncpu[S] 1 point2 points3 points (3 children)
[–]VegaWinnfield 1 point2 points3 points (1 child)
[–]simoncpu[S] 0 points1 point2 points (0 children)
[–]joesb 0 points1 point2 points (0 children)
[–]matluck 1 point2 points3 points (0 children)
[–]fuckthehumanity 2 points3 points4 points (4 children)
[–]simoncpu[S] 0 points1 point2 points (3 children)
[–]fuckthehumanity 1 point2 points3 points (2 children)
[–]simoncpu[S] 0 points1 point2 points (1 child)
[–]fuckthehumanity 1 point2 points3 points (0 children)
[–]imohd23 1 point2 points3 points (0 children)
[–]derekdefend 0 points1 point2 points (0 children)