### Install Amazon.Lambda.Tools Global Tool Source: https://github.com/mlhpdx/seekable-s3-stream/blob/master/Examples/Process1GBWith256MBLambda/Readme.md Install the Amazon.Lambda.Tools Global Tool if you haven't already. This tool is used for deploying serverless applications. ```bash dotnet tool install -g Amazon.Lambda.Tools ``` -------------------------------- ### Update Amazon.Lambda.Tools Global Tool Source: https://github.com/mlhpdx/seekable-s3-stream/blob/master/Examples/Process1GBWith256MBLambda/Readme.md Check for and install any available updates for the Amazon.Lambda.Tools Global Tool. ```bash dotnet tool update -g Amazon.Lambda.Tools ``` -------------------------------- ### Deploy Serverless Application Source: https://github.com/mlhpdx/seekable-s3-stream/blob/master/Examples/Process1GBWith256MBLambda/Readme.md Deploy the serverless application from the project directory using the dotnet lambda deploy-serverless command. ```bash dotnet lambda deploy-serverless ``` -------------------------------- ### Lambda Function Log Output Source: https://github.com/mlhpdx/seekable-s3-stream/blob/master/Examples/Process1GBWith256MBLambda/Readme.md Sample log messages from a Lambda function run, showing the duration, memory usage, and data processed. This demonstrates the efficiency of processing a large file within memory constraints. ```log 2020-11-15T21:10:29.717-08:00 START RequestId: 14e3c267-6782-4943-a619-a45c859e7593 Version: $LATEST 2020-11-15T21:10:29.851-08:00 00:00:00.0000017: Getting started. 2020-11-15T21:10:32.554-08:00 00:00:02.7031771: First row received. 2020-11-15T21:12:41.791-08:00 00:02:11.9228511: Done reading rows. 2020-11-15T21:12:41.791-08:00 00:02:11.9231731: 394,072,280 read 415,236,096 loaded of 407,250,944 bytes 2020-11-15T21:12:41.853-08:00 END RequestId: 14e3c267-6782-4943-a619-a45c859e7593 2020-11-15T21:12:41.853-08:00 REPORT RequestId: 14e3c267-6782-4943-a619-a45c859e7593 Duration: 132133.06 ms Billed Duration: 132200 ms Memory Size: 256 MB Max Memory Used: 256 MB ``` -------------------------------- ### Lambda Function Processing Results Source: https://github.com/mlhpdx/seekable-s3-stream/blob/master/Examples/Process1GBWith256MBLambda/Readme.md JSON output detailing the results of the Lambda function's processing, including file size, rows read, and status. This data provides a summary of the operation. ```json { "IsoPath": "s3://rds.nsrl.nist.gov/RDS/current/RDS_ios.iso", "TotalRead": 394072280, "TotalLoaded": 415236096, "Length": 1202942018, "TotalRows": 9037375, "Status": "ok" } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.